/* Patient Portal Login Styles */

.patient-portal-login-wrapper {
	width: 100%;
	height: 100dvh;
	background: #F5F8F5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

.patient-portal-login-container {
	width: 100%;
	max-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	background: #F5F8F5;
	padding: 24px;
	box-sizing: border-box;
}

/* Left Section: Image and Testimonial */
.patient-portal-login-left {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
	height: 100%;
	padding-top: 0;
}

.patient-portal-logo {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	margin: 0;
	display: none;
}

.pawc-logo-img {
	height: auto;
	width: auto;
	max-height: 50px;
}

.patient-portal-image-wrapper {
	width: 100%;
	max-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}

.patient-portal-main-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	/* max-width: 100%;
	max-height: 100%; */
}

.patient-portal-testimonial {
	width: 100%;
	max-width: 100%;
	background: #FFFFFF;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
	margin-top: 0;
}

.testimonial-rating {
	margin-bottom: 16px;
}

.star-rating {
	display: flex;
	gap: 4px;
	align-items: center;
}

.star-rating svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.testimonial-text {
	margin-bottom: 20px;
}

.testimonial-text p {
	font-size: 16px;
	line-height: 1.6;
	color: #101219;
	margin: 0;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-author-avatar {
	flex-shrink: 0;
}

.avatar-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #668364;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 16px;
}

.testimonial-author-info {
	flex: 1;
}

.testimonial-author-name {
	font-size: 16px;
	font-weight: 600;
	color: #101219;
	margin-bottom: 4px;
}

.testimonial-author-title {
	font-size: 14px;
	color: #6B7280;
}

/* Right Section: Login Form */
.patient-portal-login-right {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #F5F8F5;
	height: 100%;
}

.patient-portal-login-form-wrapper {
	width: 500px;
	max-width: 100%;
}

.patient-portal-login-title {
	font-size: 28px;
	font-weight: 500;
	color: #101219;
	margin: 0 0 6px 0;
	line-height: 1.2;

	span {
		font-family: var(--font-dm-serif);
		font-style: italic;
	}
}

.patient-portal-login-subtitle {
	font-size: 16px;
	color: #6B7280;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

.patient-portal-error-message {
	background: #FEE2E2;
	color: #DC2626;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 14px;
}

.patient-portal-success-message {
	background: #F6FDF9;
	color: #4ce68f;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 14px;
}

.patient-portal-login-form {
	width: 100%;
}

.patient-portal-form-group {
	margin-bottom: 18px;
}

.patient-portal-form-group:last-child {
	margin-bottom: 0;
}

.patient-portal-form-label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: #101219;
	margin-bottom: 8px;
	line-height: 1.5;
}

.patient-portal-form-label .required {
	color: #DC2626;
}

.patient-portal-form-input {
	width: 100%;
	padding: 10px 14px;
	font-size: 15px;
	color: #101219;
	background: #FFFFFF;
	border: 1px solid #D0D5DD;
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	line-height: 1.5;
	box-shadow: 0px 1px 2px 0px #1018280D;


}

.patient-portal-form-input:focus {
	outline: none;
	border-color: #668364;
	box-shadow: 0 0 0 3px rgba(102, 131, 100, 0.1);
}

.patient-portal-form-input::placeholder {
	color: #9CA3AF;
}

.patient-portal-input-wrapper {
	position: relative;
	width: 100%;
}

.patient-portal-input-wrapper .patient-portal-form-input {
	padding-right: 48px;
}

.patient-portal-calendar-icon {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #4D5874;
}

.patient-portal-forgot-password {
	font-size: 14px;
	color: #668364;
	text-decoration: none;
	display: inline-block;
	transition: color 0.2s;
	line-height: 1.5;
	text-align: left;
}

.patient-portal-forgot-password:hover {
	color: #4A5F47;
	text-decoration: underline;
}

.patient-portal-forgot-password-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.patient-portal-login-button {
	width: 100%;
	padding: 12px 24px !important;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
	background: var(--Component-Button-button-secondary-background, #10393E);
	border: none;
	border-radius: 100px;
	cursor: pointer;
	transition: background-color 0.2s;
	margin-top: 4px;
	line-height: 1.5;
}

.patient-portal-login-button:hover {
	background: var(--Component-Button-button-secondary-background-hover, #0D2E32);
}

.patient-portal-login-button:active {
	background: var(--Component-Button-button-secondary-background-active, #0A2326);
}

/* Mobile Logo Section */
.patient-portal-mobile-logo {
	display: none;
}

/* Responsive Design */
@media (max-width: 1440px) {
	.patient-portal-login-container {
		width: 100%;
		max-width: 1440px;
	}
}

@media (max-width: 1024px) {
	.patient-portal-login-wrapper {
		height: auto;
		min-height: 100vh;
		overflow-y: auto;
	}

	.patient-portal-login-container {
		flex-direction: column;
		gap: 40px;
		padding: 24px;
		height: auto;
	}

	.patient-portal-login-left {
		height: auto;
		min-height: 400px;
		padding: 0;
	}

	.patient-portal-login-right {
		height: auto;
		padding: 0;
		overflow-y: visible;
	}

	.patient-portal-image-wrapper {
		max-width: 400px;
		height: auto;
		flex: 0 0 auto;
	}

	.patient-portal-main-image {
		height: auto;
		max-height: 400px;
	}
}

@media (max-width: 768px) {

	html,
	body {
		overflow: auto;
		height: auto;
	}

	.patient-portal-login-wrapper {
		padding: 24px 20px;
		height: auto;
		min-height: 100vh;
		overflow-y: auto;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.patient-portal-login-container {
		flex-direction: column;
		padding: 0;
		gap: 0;
		height: auto;
		width: 100%;
		max-width: 100%;
	}

	/* Hide left section on mobile */
	.patient-portal-login-left {
		display: none;
	}

	/* Show mobile logo */
	.patient-portal-mobile-logo {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
		margin-bottom: 24px;
		padding-top: 0;
	}

	.patient-portal-mobile-logo .pawc-logo-img {
		max-height: 50px;
		width: auto;
		height: auto;
	}

	/* Right section becomes full width on mobile */
	.patient-portal-login-right {
		width: 100%;
		height: auto;
		overflow: visible;
		padding: 0;
		display: flex;
		justify-content: center;
		align-items: flex-start;
	}

	.patient-portal-login-form-wrapper {
		width: 100%;
		max-width: 100%;
	}

	.patient-portal-login-title {
		font-size: 28px;
		font-weight: 500;
		text-align: center;
		margin: 0 0 8px 0;
		color: #101219;
	}

	.patient-portal-login-subtitle {
		font-size: 16px;
		text-align: center;
		margin: 0 0 24px 0;
		color: #6B7280;
	}

	.patient-portal-form-group {
		margin-bottom: 18px;
	}

	.patient-portal-form-label {
		font-size: 14px;
		margin-bottom: 8px;
		color: #101219;
		font-weight: 500;
	}

	.patient-portal-form-input {
		padding: 12px 16px;
		font-size: 16px;
		border-radius: 8px;
	}

	.patient-portal-forgot-password-wrapper {
		justify-content: flex-end;
		margin-bottom: 20px;
	}

	.patient-portal-forgot-password {
		font-size: 14px;
		text-align: right;
		color: #668364;
	}

	.patient-portal-login-button {
		padding: 14px 24px;
		font-size: 16px;
		margin-top: 0;
		border-radius: 100px;
		background: var(--Component-Button-button-secondary-background, #10393E);
	}

	.patient-portal-error-message,
	.patient-portal-success-message {
		margin-bottom: 20px;
		font-size: 14px;
	}
}