/**
 * Forgot Password Page Specific Styles
 * 忘记密码页面专属样式
 * 
 * @package Errand
 * @since 1.0.0
 */

/* ==========================================================================
   Forgot Password Page Specific Styles - 忘记密码页面专属样式
   ========================================================================== */

/* Forgot Password Page Background Enhancement */
.errand-auth-page.page-forgot-password {
	background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.errand-auth-page.page-forgot-password::before {
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="forgotPattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="70" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="60" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23forgotPattern)"/></svg>');
}

/* Forgot Password Card Special Styling */
.page-forgot-password .errand-auth-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.page-forgot-password .errand-auth-card::before {
	background: linear-gradient(90deg, #ff9a9e, #fecfef);
}

/* Forgot Password Title Special Styling */
.page-forgot-password .errand-auth-title {
	color: #2c3e50;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-forgot-password .auth-icon {
	background: linear-gradient(135deg, #ff9a9e, #fecfef);
	color: white;
	box-shadow: 0 4px 15px rgba(255, 154, 158, 0.3);
}

/* Forgot Password Form Enhancements */
.page-forgot-password .errand-form-input {
	border: 2px solid rgba(255, 154, 158, 0.2);
	background: rgba(255, 255, 255, 0.9);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-forgot-password .errand-form-input:focus {
	border-color: #ff9a9e;
	box-shadow: 0 0 0 3px rgba(255, 154, 158, 0.1);
	background: white;
	transform: translateY(-2px);
}

.page-forgot-password .errand-form-input::placeholder {
	color: rgba(44, 62, 80, 0.6);
}

/* Forgot Password Submit Button Special Styling */
.page-forgot-password .errand-auth-submit-btn {
	background: linear-gradient(135deg, #ff9a9e, #fecfef);
	box-shadow: 0 8px 25px rgba(255, 154, 158, 0.3);
	position: relative;
	overflow: hidden;
}

.page-forgot-password .errand-auth-submit-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.page-forgot-password .errand-auth-submit-btn:hover::before {
	left: 100%;
}

.page-forgot-password .errand-auth-submit-btn:hover {
	background: linear-gradient(135deg, #fecfef, #ff9a9e);
	box-shadow: 0 12px 35px rgba(255, 154, 158, 0.4);
	transform: translateY(-3px);
}

/* Forgot Password Features Special Styling */
.page-forgot-password .errand-auth-features {
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.page-forgot-password .feature-item {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
}

.page-forgot-password .feature-item:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateX(6px) translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-forgot-password .feature-item i {
	color: rgba(255, 255, 255, 0.9);
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Forgot Password Footer Special Styling */
.page-forgot-password .errand-auth-footer {
	border-top: 1px solid rgba(255, 154, 158, 0.2);
	background: rgba(255, 255, 255, 0.05);
	margin: var(--auth-spacing-lg) calc(-1 * var(--auth-spacing-xxl)) 0;
	padding: var(--auth-spacing-lg) var(--auth-spacing-xxl) 0;
	border-radius: 0 0 var(--auth-border-radius-lg) var(--auth-border-radius-lg);
}

.page-forgot-password .errand-auth-switch {
	color: rgba(44, 62, 80, 0.7);
	font-weight: 500;
}

.page-forgot-password .errand-auth-link {
	color: #ff9a9e !important;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.page-forgot-password .errand-auth-link:hover {
	color: #fecfef;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Forgot Password Messages Special Styling */
.page-forgot-password .errand-message {
	backdrop-filter: blur(10px);
	border-radius: var(--auth-border-radius-sm);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-forgot-password .errand-message.success {
	background: rgba(40, 167, 69, 0.15);
	border: 1px solid rgba(40, 167, 69, 0.3);
}

.page-forgot-password .errand-message.error {
	background: rgba(220, 53, 69, 0.15);
	border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Success Message Special Styling */
.page-forgot-password .errand-success-message {
	background: rgba(40, 167, 69, 0.15);
	border: 1px solid rgba(40, 167, 69, 0.3);
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-forgot-password .success-icon {
	background: linear-gradient(135deg, #28a745, #20c997);
	color: white;
	box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.page-forgot-password .success-icon i {
	animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* Forgot Password Page Animations */
.page-forgot-password .errand-auth-card {
	animation: forgotPasswordCardSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-forgot-password .errand-auth-features {
	animation: forgotPasswordFeaturesSlideIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.page-forgot-password .feature-item {
	animation: forgotPasswordFeatureItemSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.page-forgot-password .feature-item:nth-child(1) {
	animation-delay: 0.4s;
}

.page-forgot-password .feature-item:nth-child(2) {
	animation-delay: 0.6s;
}

.page-forgot-password .feature-item:nth-child(3) {
	animation-delay: 0.8s;
}

@keyframes forgotPasswordCardSlideIn {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes forgotPasswordFeaturesSlideIn {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes forgotPasswordFeatureItemSlideIn {
	from {
		opacity: 0;
		transform: translateX(20px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Forgot Password Page Responsive Enhancements */
@media (max-width: 768px) {
	.page-forgot-password .errand-auth-card {
		margin: var(--auth-spacing-md);
	}
	
	.page-forgot-password .errand-auth-footer {
		margin: var(--auth-spacing-lg) calc(-1 * var(--auth-spacing-xl)) 0;
		padding: var(--auth-spacing-lg) var(--auth-spacing-xl) 0;
	}
}

@media (max-width: 480px) {
	.page-forgot-password .errand-auth-card {
		margin: var(--auth-spacing-sm);
		padding: var(--auth-spacing-lg);
	}
	
	.page-forgot-password .errand-auth-footer {
		margin: var(--auth-spacing-md) calc(-1 * var(--auth-spacing-lg)) 0;
		padding: var(--auth-spacing-md) var(--auth-spacing-lg) 0;
	}
}
