/*
 * WiseLeaf Lost Password Page Theme
 * Professional styling matching the journal theme
 */

.page_lost_password {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	min-height: 60vh;
	padding: 40px 0;
}

.page_lost_password h1 {
	color: #0c4a60;
	font-size: 2.2rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.page_lost_password h1:before {
	content: '🔐';
	font-size: 2rem;
}

.page_lost_password > p {
	text-align: center;
	color: #5d6d7e;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 40px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Form Container Styling */
.page_lost_password .cmp_form {
	background: white;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(12, 74, 96, 0.15);
	padding: 40px;
	margin: 0 auto;
	max-width: 500px;
	border: 2px solid rgba(12, 74, 96, 0.1);
}

/* Form Fields */
.page_lost_password .fields {
	margin: 0;
}

.page_lost_password .email {
	margin-bottom: 25px;
}

.page_lost_password .email label {
	display: block;
	margin-bottom: 0;
}

.page_lost_password .email .label {
	color: #0c4a60;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.page_lost_password .email .label:before {
	content: '✉️';
	font-size: 1.1rem;
}

.page_lost_password .email input[type="email"] {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	font-size: 1rem;
	color: #2c3e50;
	background: #fafafa;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.page_lost_password .email input[type="email"]:focus {
	border-color: #0c4a60;
	background: white;
	outline: none;
	box-shadow: 0 0 0 3px rgba(12, 74, 96, 0.1);
}

/* Error Styling */
.page_lost_password .pkp_form_error {
	background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
	border: 2px solid #f87171;
	border-radius: 8px;
	padding: 15px;
	margin: 20px 0;
	color: #dc2626;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 10px;
}

.page_lost_password .pkp_form_error:before {
	content: '⚠️';
	font-size: 1.2rem;
}

/* Buttons Container */
.page_lost_password .buttons {
	margin-top: 30px;
	padding-top: 25px;
	border-top: 1px solid #e9ecef;
	display: flex;
	gap: 15px;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* Submit Button */
.page_lost_password .buttons .submit {
	background: linear-gradient(135deg, #0c4a60 0%, #1a5c75 100%);
	color: white;
	padding: 14px 28px;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 180px;
	justify-content: center;
}

.page_lost_password .buttons .submit:before {
	content: '🔐';
	font-size: 1rem;
}

.page_lost_password .buttons .submit:hover {
	background: linear-gradient(135deg, #1a5c75 0%, #2c3e50 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(12, 74, 96, 0.3);
}

.page_lost_password .buttons .submit:active {
	transform: translateY(0);
}

/* Register Button - Matching WiseLeaf Theme */
.page_lost_password .buttons .register {
	color: #0c4a60;
	text-decoration: none;
	font-weight: 600;
	padding: 14px 25px;
	border: 2px solid #0c4a60;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	background: white;
	min-width: 180px;
	justify-content: center;
}

.page_lost_password .buttons .register:before {
	content: '👤';
	font-size: 1rem;
}

.page_lost_password .buttons .register:hover {
	background: #0c4a60;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(12, 74, 96, 0.2);
}

.page_lost_password .buttons .register:active {
	transform: translateY(0);
}

/* CAPTCHA Styling */
.page_lost_password .altcha_wrapper {
	margin: 20px 0;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

/* Required Field Indicator */
.page_lost_password .required {
	color: #e74c3c;
	font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.page_lost_password {
		padding: 20px 10px;
	}
	
	.page_lost_password .cmp_form {
		padding: 25px 20px;
		margin: 0 10px;
		max-width: none;
	}
	
	.page_lost_password h1 {
		font-size: 1.8rem;
	}
	
	.page_lost_password .buttons {
		flex-direction: column;
		gap: 12px;
		align-items: stretch;
	}
	
	.page_lost_password .buttons .submit,
	.page_lost_password .buttons .register {
		width: 100%;
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.page_lost_password h1 {
		font-size: 1.6rem;
		flex-direction: column;
		gap: 8px;
	}
	
	.page_lost_password > p {
		font-size: 1rem;
		padding: 0 15px;
	}
}

/* Focus states for accessibility */
.page_lost_password .buttons .submit:focus,
.page_lost_password .buttons .register:focus {
	outline: 3px solid rgba(12, 74, 96, 0.3);
	outline-offset: 2px;
}

/* Loading state for submit button */
.page_lost_password .buttons .submit.loading {
	opacity: 0.8;
	cursor: not-allowed;
}

.page_lost_password .buttons .submit.loading:before {
	content: '⏳';
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}