:root {
	--border-radius: 10px;
}
*, *::before, *::after {
	box-sizing: border-box;
}
html, body {
	width: 100%;
	height: 100%;
}
body {
	overflow: hidden;
	font-family: 'Open Sans', sans-serif;
	color: #FFFFFF;
	background: #8689CF url(/img/purple-top-header-hex-background.svg) repeat-x;
}
.pmdsoft-main-layout-container {
	position: absolute;
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: center;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	overflow-y: auto;
}
.pmdsoft-main-layout-container .surround-wrapper {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: end;
	max-width: 1200px;
	-webkit-border-radius: var(--border-radius);
	-moz-border-radius: var(--border-radius);
	border-radius: var(--border-radius);
	padding: 40px;
	margin-top: 5rem;
	background-color: #AAACDD;
	box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.1);
}
.pmdsoft-main-layout-container .surround-wrapper .surround-int {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
	width: 100%;
}
.column-left {
	flex: 0 1 auto;
	width: 300px;
	min-width: 300px;
}
.column-right {
	flex: 1 1 auto;
	margin-left: 40px;
	background-color: #ffffff;
	color: var(--main-navy);
	padding: 20px;
	border-radius: 5px;
	max-width: 650px;
}
.sales-auto-container .column-right {
	color: var(--grey-tones-l60);
}

.progress-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin: 15px 0 45px;
}
.progress-spacer {
	width: 15%;
	padding-bottom: 8px;
	margin-left: 5px;
	margin-right: 5px;
}
.progress-spacer img {
	width: 100%;
}
.progress-label {
	margin-left: 4px;
	line-height: 26px;
	font-size: 0.9em;
	color: #666d9e;
}
.sales-auto-container .progress-container .progress-label {
	color: var(--grey-tones-l60);
}
.sales-auto-container .progress-container .progress-image {
	width: 70%;
}

.info-area .logo {
	margin-bottom: 10px;
}
.info-area .title.title-small {
	padding: 0;
	margin-bottom: 10px;
}
.info-area .description {
    -moz-opacity: initial !important;
    -khtml-opacity: initial !important;
    -webkit-opacity: initial !important;
    opacity: initial !important;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important;
    filter: alpha(opacity=100) !important;
	font-size: 16px;
}

.form-error-message {
	font-size: 16px !important;
}

.patient-register-box {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
}

.row {
	display: flex;
	flex-direction: row;
	align-items: end;
	justify-content: space-evenly;
	margin: 30px 0 0 0;
}
.row.center {
	justify-content: center;
}
.row.right {
	justify-content: end;
}
.row > * + * {
	margin-left: 20px;
}
.column {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
}
.column.center {
	align-items: center;
}
.sales-auto-container .form-title {
	color: var(--grey-tones-l60);
}

.input-title {
	font-size: 13px !important;
	margin-bottom: 10px;
}
.sales-auto-container .input-title {
	color: var(--grey-tones-l60);
}

.input-text-patient-register {
	width: 100% !important;
}
.input-text-patient-register.input-dob {
	width: 100% !important;
}
.input-text-patient-register.input-zip {
	width: 100% !important;
}
.input-text.sex-picker, .input-text.state-picker, .input-text.relationship-picker{
	font-size: 0.9em;
	width: 100%;
	height: 100%;
	background: #FFFFFF;
}

.button {
	border: 2px solid #545987;
}
.sales-auto-container .button {
	background: var(--main-navy);
	border: 2px solid var(--main-navy);
}
.button:hover {
	border: 2px solid #666d9e;
}
.sales-auto-container .button:hover {
	background: var(--navy-tones-l30);
	border: 2px solid var(--navy-tones-l30);
}
.button.button-back {
	background: #ffffff;
	border: 2px solid #555555;
	color: #555555;
	margin-right: 20px;
}
.button.button-back:hover {
	background: #555555;
	border: 2px solid #555555;
	color: #ffffff;
}
.button.button-add-carrier {
	border: 1px solid #545987;
	color: #545987;
	background: #FFFFFF;
	font-size: 0.8em;
	margin: 0;
}
.button.button-add-carrier:first-child {
	margin-right: 20px;
}
.button.button-add-carrier .button-int {
	padding: 15px 10px;
}
.button.button-add-carrier:hover {
	background: #eeeeee;
}

#submit-processing {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	height: 56px;
}
#submit-processing img {
	margin-right:10px;
	width: 25px;
	height: 25px;
	vertical-align: middle;
}
#submit-processing span {
	line-height: 25px;
	vertical-align:middle;
}

#g-recaptcha {
	visibility: hidden;
}

.radio-column .radio-buttons-row {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.radio-label {
	font-weight: normal;
	font-size: 14px;
	color: #666d9e;
	text-align: left;
}
input.last-radio {
	margin-left: 20px;
}

.ui-autocomplete {
	height: 400px;
	overflow-y: scroll;
	overflow-x: hidden;
}

@media screen and (max-width: 1200px) {
	.pmdsoft-main-layout-container .surround-wrapper {
		max-width: 900px;
	}
	.column.spacer {
		display: none;
	}
}
@media screen and (max-width: 900px) {
	.pmdsoft-main-layout-container .surround-wrapper {
		padding: 30px;
		padding-bottom: 60px;
		max-width: 600px;
		margin-top: 2rem;
	}
	.pmdsoft-main-layout-container .surround-wrapper .surround-int {
		flex-wrap: wrap;
	}
	.column-left {
		width: 100%;
		flex: 1 1 auto;
		max-width: 100%;
	}
	.column-right {
		margin-left: 0 !important;
		margin-top: 10px;
	}
	.column.spacer {
		display: none;
	}
}
@media screen and (max-width: 800px) {
	.pmdsoft-main-layout-container .surround-wrapper {
		max-width: 600px;
	}
}
@media screen and (max-width: 600px) {
	.pmdsoft-main-layout-container .surround-wrapper {
		--border-radius: 0px;
		padding: 20px;
		padding-bottom: 60px;
		margin-top: 0;
	}
	.pmdsoft-main-layout-container .surround-wrapper .surround-int {
		flex-wrap: wrap;
	}
	.progress-spacer {
		width: 30%;
	}
	.progress-label {
		display: none;
	}
	.row {
		flex-wrap: wrap;
	}
	.row > * + * {
		margin: 0;
		margin-top: 15px;
	}
	.column.no-wrap {
		flex: 1 1 calc(50% - 10px);
	}
	.column.no-wrap:not(:first-child) {
		margin-left: 20px;
	}
	.button.button-add-carrier:first-child {
		margin: 0;
	}
	.button.button-add-carrier:last-child {
		margin-top: 10px;
	}
	.button-back {
		margin-top: 10px;
	}
}

/* -------------------------------------------------------------- */
/* Account Picker Styles - Reusable Component                    */
/* -------------------------------------------------------------- */
.account-picker-container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.account-picker-instructions {
	margin-top: 20px;
	margin-bottom: 16px;
}

.accounts-wrapper {
	background-color: #F5F7F7;
	border-radius: 10px;
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: 24px;
}

/* Login page variant - swap colors */
.accounts-wrapper.login-page-variant {
	background-color: white;
	padding: 0;
	margin: 0;
}

.accounts-wrapper.login-page-variant .account-card {
	background-color: white;
	border: 1px solid #C4C6C6;
}

.accounts-wrapper.login-page-variant .account-card:hover {
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 0 12px 0 rgba(8, 58, 94, 0.28);
}

.accounts-title {
	color: #083a5e;
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 16px;
}

.accounts-list {
	flex: 1;
	overflow-y: auto;
	margin-bottom: 16px;
	min-height: 0;
	max-height: 400px;
	padding: 8px;
	margin: -8px;
	width: calc(100% + 16px);
}

.account-card {
	background-color: white;
	border-radius: 16px;
	padding: 12px 20px;
	margin-bottom: 12px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.account-card:last-child {
	margin-bottom: 0;
}

.account-card-clickable {
	cursor: pointer;
	transition: box-shadow 0.2s;
}

.account-card-clickable:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.account-card-clickable:hover .account-arrow {
	opacity: 1;
}

.account-company-name {
	color: #083a5e;
	font-size: 16px;
	font-weight: 700;
}

.account-profile-name {
	color: #083a5e;
	font-size: 14px;
}

.account-type-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	margin-top: 4px;
	align-self: flex-start;
}

.account-type-tag.account-type-patient {
	background-color: #b3e5d1;
	color: #083a5e;
}

.account-type-tag.account-type-staff {
	background-color: #ffcc99;
	color: #083a5e;
}

.account-type-tag.account-type-provider {
	background-color: #e0e0e0;
	color: #083a5e;
}

.account-type-tag.account-type-supervisor {
	background-color: #d1c4e9;
	color: #083a5e;
}

.account-type-tag.account-type-biller {
	background-color: #bbdefb;
	color: #083a5e;
}

.account-type-tag.account-type-messaging {
	background-color: #c8e6c9;
	color: #083a5e;
}

.account-type-tag.account-type-other {
	background-color: #e0e0e0;
	color: #083a5e;
}

.account-arrow {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	padding: 4px;
	border-radius: 24px;
	background: #52758E;
	opacity: 0;
	transition: opacity 0.2s;
}

.accounts-footer {
	color: #083a5e;
	font-size: 12px;
	text-align: center;
	margin-top: 16px;
}

.footer-link {
	color: #083a5e;
	font-weight: 600;
	text-decoration: underline;
}

.footer-link:hover {
	text-decoration: none;
}

/* -------------------------------------------------------------- */
/* Account Picker Full Page Layout                                */
/* Used by acs.jsp (SSO) and can be reused by loginPage.jsp       */
/* -------------------------------------------------------------- */
.account-picker-page {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color: #F5F7F7;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

.account-picker-page .ap-header {
	background-color: white;
	padding: 20px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.account-picker-page .ap-header .logo {
	height: 40px;
}

.account-picker-page .ap-header .get-help {
	color: #083a5e;
	font-weight: 600;
	text-decoration: none;
	font-size: 14px;
}

.account-picker-page .ap-main-container {
	display: flex;
	min-height: calc(100vh - 80px);
	background-color: white;
}

.account-picker-page .ap-left-section {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.account-picker-page .ap-greeting {
	font-family: "Open Sans", sans-serif;
	font-size: 90px;
	font-weight: 800;
	line-height: 1.2;
}

.account-picker-page .ap-greeting .its {
	color: #8689cf;
}

.account-picker-page .ap-greeting .great {
	color: #083a5e;
}

.account-picker-page .ap-greeting .to-see-you {
	color: #8689cf;
}

.account-picker-page .ap-right-section {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 40px 40px 20px;
}

.account-picker-page .ap-footer {
	color: #083a5e;
	font-size: 12px;
	margin-top: 16px;
	max-width: 550px;
}

.account-picker-page .ap-card-container {
	width: 100%;
	max-width: 550px;
}

.account-picker-page .ap-card-container .accounts-wrapper {
	background-color: #F5F7F7;
}

.account-picker-page .ap-card-container .accounts-list {
	max-height: 60vh;
}

.account-picker-page .ap-card-container .account-card {
	background-color: white;
	border: none;
}

.account-picker-page .ap-card-container .account-card:hover {
	border-radius: 16px;
	background: #FFF;
	box-shadow: 0 0 12px 0 rgba(8, 58, 94, 0.28);
}

/* Error State */
.account-picker-page .ap-error-container {
	text-align: center;
	padding: 40px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.account-picker-page .ap-error-message {
	color: #b60a24;
	font-size: 16px;
	margin-bottom: 20px;
}

.account-picker-page .ap-login-button {
	display: inline-block;
	padding: 12px 24px;
	background-color: #083a5e;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
}

.account-picker-page .ap-login-button:hover {
	background-color: #0a4d7a;
}

/* Loading Overlay */
.account-picker-page .ap-loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	z-index: 101;
}

.account-picker-page .ap-spin-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #8689cf;
	border-radius: 50%;
	animation: account-picker-spin 1s linear infinite;
}

@keyframes account-picker-spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive */
@media screen and (max-width: 900px) {
	.account-picker-page .ap-main-container {
		flex-direction: column;
	}

	.account-picker-page .ap-left-section {
		padding: 20px;
	}

	.account-picker-page .ap-greeting {
		font-size: 48px;
		text-align: center;
	}

	.account-picker-page .ap-right-section {
		padding: 20px;
	}
}
