/* Login Form Styles */

.login-form-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 400px;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.login-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        135deg,
        var(--color-primary-light),
        var(--color-accent-orange-opacity-25)
    ) !important;
    backdrop-filter: blur(12px);
    opacity: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.login-form-container {
	position: relative;
	z-index: 2;
	pointer-events: auto;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 30px;
	max-width: 400px;
	width: 100%;
	box-shadow: var(--shadow-sm);
}

.login-form-container h2 {
	text-align: center;
	margin-bottom: 30px;
	color: var(--color-secondary-text) !important;
	font-size: 24px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
	color: var(--color-secondary-text);
	font-size: 14px;
}

.form-group input.form-control {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.3s, box-shadow 0.3s;
	box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.form-group input.form-control:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.form-group.form-check {
	display: flex;
	align-items: center;
}

#login-remember {
    width: auto;
    margin-right: 8px;
    margin-bottom: 6px;
}

.login-form-main {
    margin: 0; 
}

.form-check-input {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	cursor: pointer;
}

.form-check-label {
	margin: 0;
	cursor: pointer;
	font-weight: normal;
}

.btn-login {
	width: 100%;
	padding: 10px 20px;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn-login:disabled {
	background-color: #6c757d;
	cursor: not-allowed;
}

.login-form-messages {
	margin-bottom: 20px;
}

.login-form-message {
	padding: 12px 15px;
	border-radius: 4px;
	margin-bottom: 10px;
	font-size: 14px;
}

.login-form-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.login-form-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

.login-form-message.loading {
	background-color: #e7f3ff;
	color: #004085;
	border: 1px solid #b8daff;
}

.login-form-footer {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.forgot-password-link {
	color: #5A4A6F;
	text-decoration: none;
	font-size: 14px;
}

.forgot-password-link:hover {
	text-decoration: underline;
	color: #5A4A6F;
}

/* Password Reset Styles */
.password-reset-intro {
	color: #5A4A6F;
	font-size: 14px;
	margin-bottom: 20px;
	line-height: 1.5;
}

.password-requirements {
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	padding: 12px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #5A4A6F;
}

.password-requirements ul {
	margin: 8px 0 0 20px;
	padding: 0;
}

.password-requirements li {
	margin: 4px 0;
	list-style: disc;
}

.btn-reset,
.btn-reset-confirm {
	width: 100%;
	padding: 10px 20px;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.btn-reset:disabled,
.btn-reset-confirm:disabled {
	background-color: #6c757d;
	cursor: not-allowed;
}

.form-text {
	display: block;
	margin-top: 4px;
	font-size: 12px;
}

.login-form-notice {
	background-color: #e2e3e5;
	color: #383d41;
	padding: 15px;
	border-radius: 4px;
	border: 1px solid #d6d8db;
	text-align: center;
}

/* Loading state */
.btn-login.loading {
	opacity: 0.7;
	pointer-events: none;
}

.btn-login.loading::after {
	content: '';
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	border: 2px solid #ffffff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}

/* Responsive */
@media (max-width: 480px) {
	.login-form-container {
		padding: 20px;
	}

	.login-form-container h2 {
		font-size: 20px;
		margin-bottom: 20px;
	}
}

/* Modal Styles */
.login-form-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: linear-gradient(
        135deg,
        var(--color-primary-light),   /* Mint */
        var(--color-accent-orange-opacity-25)   /* Apricot */
    ) !important;
    backdrop-filter: blur(12px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100;
	padding: 20px;
}

.login-form-modal-content {
	background: rgba(255, 255, 255, 0.68);
	border-radius: 12px;
	padding: 30px;
	max-width: 400px;
	width: 100%;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.login-form-modal-content h2 {
	margin-top: 0;
	margin-bottom: 20px;
	color: #5A4A6F;
	font-size: 24px;
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s;
}

.modal-close:hover {
	color: #5A4A6F;
}

.modal-footer {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.back-to-login-link {
	color: #5A4A6F;
	text-decoration: none;
	font-size: 14px;
}

.back-to-login-link:hover {
	text-decoration: underline;
	color: #5A4A6F;
}

/* Modal Responsive */
@media (max-width: 480px) {
	.login-form-modal-content {
		padding: 20px;
		max-width: 90%;
	}

	.login-form-modal-content h2 {
		font-size: 20px;
		margin-bottom: 15px;
	}
}

.disclaimer {
    background: linear-gradient(90deg,rgba(185, 164, 224, 0.15) 0%, rgba(224, 164, 214, 0.15) 100%);
    border-left: 4px solid #B9A4E0;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 16px;
    font-size: 14px;
    color:#5A4A6F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


