/* ========================================
   LEGACY FILE - MIGRATION NEEDED (P1)

   This file contains legacy styles for the Role Records page.
   These styles should be incrementally migrated to use design
   tokens from _design-tokens.css.

   Key items to migrate:
   - Hardcoded colors (#ECECEC, #F5F5F5, #DAF8E0, etc.)
   - Hardcoded spacing values (32px, 16px, etc.)
   - Font declarations ('Inter', font-size, font-weight)
   - Border radius values

   See _MIGRATION-GUIDE.md for migration patterns.
   ======================================== */

.split-page-container {
	display: flex;
	height: 100vh;
}

.split-page-left {
	position: relative;
	width: 836px;
	display: flex;
	flex-direction: column;
	padding: 32px;
	padding-right: 19px;
}

.roleCheckRightSide {
	flex-grow: 1;
	background-color: #ECECEC;
}

.roleRecordsPaginationContainer {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	width: 100%;
}

#role-records-input-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 30px;
	width: 436px;
	height: 48px;
	font-size: 14px;
}

#custom-modal-body-id {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

#custom-modal-body-id-row {
	width: 1060px;
	flex-wrap: wrap;
	display: flex;
	flex-direction: row;
	align-items: center;
}

#custom-modal-body-id-row-Large {
	width: 1060px;
	flex-wrap: wrap;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: -180px;
}

.gridContainer {
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.gridContainers {
	width: 478px;
	height: calc(100vh - 520px);
	padding: 16px 32px 32px 32px;
	border-radius: 16px;
	margin-top: 18px;
	overflow-y: auto;
	container-type: normal;
}

.gridContainersFullWidth {
	width: 100%;
	max-height: 510px;
	padding: 16px 32px 32px 32px;
	border-radius: 16px;
	margin-top: 18px;
	overflow-y: auto;
}

.gridItemLeft {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.gridItemRight {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding-right: 30px;
}

.gridContainersAddress {
	width: 478px;
	height: 336px;
	padding: 16px 32px 32px 32px;
	border-radius: 16px;
	margin-top: 18px;
	overflow-y: auto;
}

.leftGrid {
	background-color: #F5F5F5;
}

.rightGrid {
	background-color: #DAF8E0;
}

.modalContainer {
	height: 100%;
	background-color: #FFFFFF;
}

.modalContainer-Large {
	height: 100%;
	background-color: #FFFFFF;
	margin-top: -50px;
}

.autocompleteContainer {
	display: flex;
	justify-content: center;
	margin-top: 56px;
	margin-bottom: 32px;
}

.autocompleteContainerSettlements {
	display: flex;
	justify-content: space-between;
	width: 656px;
	margin-top: 32px;
	margin-bottom: 32px;
	align-items: center;
}

.gridTitle {
	color: #1D1D1B;
	font-family: 'Inter';
	font-weight: 500;
	font-size: 18px;
	margin-left: 32px;
	margin-left: 32px;
}

.moveAllUsersButton {
	display: flex;
	flex-direction: column;
	margin-left: 16px;
	margin-right: 16px;
	justify-content: flex-end;
	margin-bottom: 40px;
	/*margin-top: calc(100vh - 656px);*/
}

.moveAllUsersButtonAddress {
	display: flex;
	flex-direction: column;
	margin-left: 16px;
	margin-right: 16px;
	margin-top: 210px;
}

.sendAllUsersButton {
	height: 48px;
	width: 48px;
	border-radius: 6px;
	border: 1px solid #D4D4D4;
	background: #FFFFFF;
	margin-top: 16px;
	box-shadow: 0px 3px 8px 0px #0000000D;
}

	.sendAllUsersButton:hover {
		border: 1px solid #1A7CCA;
		box-shadow: 0px 3px 8px 0px #0000000D;
	}

.gridHeaderNone {
	display: none;
}

.doubleGridRow {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.settlementPostalDiv {
	margin-right: 30px;
	margin-left: 5px;
}

.headIconImage {
	margin-right: 7px;
}

.matrixRightImage {
	margin-left: 5px;
}

.arrowImageGrid {
	margin-left: -5px;
	margin-right: 5px;
}

.navigateApplications {
	background-color: transparent;
	color: #525252;
	border-radius: 35px;
	height: 32px;
	border: none;
	padding-left: 16px;
	padding-right: 16px;
	margin-left: 5px;
	margin-right: 5px;
}

	.navigateApplications:hover {
		background-color: #F5F5F5;
		color: #525252;
	}

	.navigateApplications:focus {
		background-color: #FFFFFF;
		color: #1D1D1B;
	}

.giveRightsMainContainer {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	background-color: #FFFFFF;
	padding-left: 32px;
	padding-right: 32px;
	padding-top: 32px;
}

.giveRightsAppNavbar {
	display: inline-block !important;
	background-color: #E5E5E5;
	height: 40px;
	align-content: center;
	border-radius: 48px;
	margin-top: 32px;
	margin-bottom: 32px;
}

.moduleContainer {
	width: 100%;
	height: 560px;
	padding: 16px 32px 32px 32px;
	border-radius: 16px;
	background-color: #F5F5F5;
}

.checkbox-input-wrapper {
	margin-top: 16px;
	margin-bottom: 16px;
}

	.checkbox-input-wrapper > *,
	.input-wrapper .checkbox-input-wrapper > * {
		display: flex;
		position: inherit;
	}

.give-rights-component .gridContainer {
	margin-bottom: 56px;
}

.give-rights-component .grid {
	border-spacing: 0 8px;
}

.give-rights-component h3.grid-title {
	font-size: 18px;
	line-height: 24px;
}

.give-rights-component .gridContainers.leftGrid,
.give-rights-component .gridContainers.rightGrid {
	margin-top: 0;
	padding-top: 32px;
}

.give-rights-component .gridContainers.leftGrid,
.give-rights-component .gridContainers.rightGrid {
	overflow-y: inherit;
	padding-right: 15px;
}

.give-rights-component .gridContainers .grid-container {
	overflow-y: auto;
	padding-right: 15px;
	max-height: 100%
}

@media screen and (max-width: 768px) {
	.moveAllUsersButton .gridTitle {
		left: 0;
		margin-left: 0;
		width: calc(100vw - 69px);
		margin: 8px 0px;
	}

	.custom-modal-layout.modal-s #custom-modal-body-id {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.custom-modal-layout.modal-s.full-screen-mobile #custom-modal-body-id {
		justify-content: flex-start;
	}

	.custom-modal-layout.modal-s.full-screen-mobile .row > * {
		margin: 0;
	}

	.custom-modal-layout.modal-s form {
		width: 100%;
		height: 100%;
		display: flex;
	}

	.custom-modal-layout.modal-s .role-records-input-wrapper {
		width: 280px;
		position: relative;
		display: flex;
	}

	.operation-center .scroll-container {
		margin-top: 24px;
	}

	.operation-center .card-full-width {
		height: 100%;
	}

	.give-rights-component .modalContainer {
		padding: 0;
	}
}

@media screen and (max-width: 1100px) {
	.split-page-left {
		padding: 20px;
		padding-right: 9px;
		width: 100%;
	}

	.split-page-container {
		height: calc(100vh - 48px);
	}

	.grid-with-top-buttons-layout .buttons {
		margin-bottom: 12px;
	}

	.moveAllUsersButton {
		margin-top: 0;
		display: inline-block;
		margin-left: 20px;
		margin-right: 20px;
	}

	.sendAllUsersButton {
		margin-top: 0;
		width: 32px;
		height: 32px;
	}

	.gridContainer .moveAllUsersButton {
		align-items: flex-end;
		margin-bottom: 10px;
		margin-top: 20px;
	}

		.gridContainer .moveAllUsersButton.title-2 {
			margin-top: 24px;
		}

	.autocompleteContainer {
		margin-top: 32px;
		margin-bottom: 0px;
	}

		.autocompleteContainer .autocomplete {
			width: 100%;
			max-width: 400px;
			padding: 0 20px;
		}

	.modal-l .moveAllUsersButton .gridTitle,
	.modal-l .moveAllUsersButton button {
		justify-content: space-between;
		display: inline-block;
		flex-direction: column;
	}

	.modal-l .moveAllUsersButton .gridTitle {
		left: 0;
		margin-left: 0;
		width: calc(100vw - 80px);
		margin: 8px 0px;
	}

	.moveAllUsersButton button {
		right: 0;
		margin-right: auto;
		width: 32px;
	}

	.sendAllUsersButton img {
		height: 16px;
		width: 16px;
	}

	.moveAllUsersButton:has(.mobile-hide) {
		display: none;
	}

	.modal-l.gridContainer {
		height: auto;
		flex-direction: column;
	}

	.single-selection-combobox-input .single-selection-selected-text-label,
	.single-selection-combobox-input .single-selection-input-label-small {
		left: 8px;
	}

	.give-rights-component .moveAllUsersButton.desktop-hide {
		margin-top: 32px;
	}

		.give-rights-component .moveAllUsersButton.desktop-hide label.gridTitle.desktop-hide {
			font-size: 14px;
			line-height: 20px;
		}

	.give-rights-component .gridContainers {
		min-height: 304px;
	}
}
