/**
 * Royal Helmet - Reset Password & Lost Password Branded Styles
 * @version 9.2.0
 */

.rha-reset-pw-page-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px 16px 60px;
	width: 100%;
	box-sizing: border-box;
	font-family: 'Be Vietnam Pro', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.rha-reset-pw-card {
	width: 100%;
	max-width: 480px;
	background: #ffffff;
	border-radius: 24px;
	padding: 40px 36px;
	box-shadow: 0 16px 40px -8px rgba(15, 30, 49, 0.12), 0 0 1px 1px rgba(15, 30, 49, 0.05);
	border: 1px solid #eef2f6;
	box-sizing: border-box;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Header */
.rha-reset-pw-header {
	text-align: center;
	margin-bottom: 28px;
}

.rha-reset-pw-logo-link {
	display: inline-block;
	margin-bottom: 18px;
	transition: transform 0.2s ease;
}

.rha-reset-pw-logo-link:hover {
	transform: scale(1.03);
}

.rha-reset-pw-logo {
	height: 48px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.rha-reset-pw-title {
	font-family: 'Be Vietnam Pro', 'Montserrat', sans-serif !important;
	font-size: 22px !important;
	font-weight: 800 !important;
	color: #0f1e31 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin: 0 0 10px 0 !important;
	line-height: 1.3 !important;
}

.rha-reset-pw-subtitle {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
	padding: 0 4px;
}

/* Form Layout */
.rha-reset-pw-form {
	margin: 0 !important;
	padding: 0 !important;
}

.rha-field-group {
	margin-bottom: 20px;
	position: relative;
}

.rha-field-label {
	display: block;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	margin-bottom: 8px !important;
	text-transform: none !important;
	line-height: 1.4 !important;
}

.rha-field-required {
	color: #ed1c24;
	font-weight: bold;
	margin-left: 2px;
}

.rha-field-input-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.rha-field-icon {
	position: absolute;
	left: 16px;
	color: #94a3b8;
	pointer-events: none;
	transition: color 0.2s ease;
	z-index: 2;
}

.rha-reset-pw-card .rha-input {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 13px 44px 13px 48px !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 12px !important;
	font-size: 14.5px !important;
	color: #0f172a !important;
	background-color: #f8fafc !important;
	font-family: inherit !important;
	transition: all 0.2s ease !important;
	outline: none !important;
	box-shadow: none !important;
	height: 48px !important;
	margin: 0 !important;
}

.rha-reset-pw-card .rha-input::placeholder {
	color: #94a3b8 !important;
	font-size: 13.5px !important;
}

.rha-reset-pw-card .rha-input:focus {
	border-color: #ed1c24 !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.1) !important;
}

.rha-field-input-box:focus-within .rha-field-icon {
	color: #ed1c24;
}

/* Password Toggle Button */
.rha-toggle-password {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none !important;
	border: none !important;
	padding: 6px !important;
	cursor: pointer !important;
	color: #94a3b8 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 2;
	border-radius: 6px !important;
	transition: color 0.2s ease !important;
	outline: none !important;
	box-shadow: none !important;
}

.rha-toggle-password:hover {
	color: #0f1e31 !important;
}

/* Submit Button */
.rha-submit-group {
	margin-top: 24px;
	margin-bottom: 0;
}

.rha-reset-submit-btn {
	width: 100% !important;
	height: 50px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	background: linear-gradient(135deg, #ed1c24 0%, #c9131a 100%) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 12px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	font-family: inherit !important;
	cursor: pointer !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	box-shadow: 0 8px 20px -4px rgba(237, 28, 36, 0.35) !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin: 0 !important;
	padding: 0 20px !important;
	text-decoration: none !important;
}

.rha-reset-submit-btn:hover {
	background: linear-gradient(135deg, #f43f5e 0%, #ed1c24 100%) !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 24px -4px rgba(237, 28, 36, 0.45) !important;
	color: #ffffff !important;
}

.rha-reset-submit-btn:active {
	transform: translateY(0) !important;
	box-shadow: 0 4px 12px -2px rgba(237, 28, 36, 0.4) !important;
}

/* Footer Navigation */
.rha-reset-pw-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #f1f5f9;
	font-size: 13.5px;
}

.rha-link-back,
.rha-link-home {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #64748b !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: color 0.2s ease, transform 0.2s ease;
}

.rha-link-back:hover,
.rha-link-home:hover {
	color: #ed1c24 !important;
	transform: translateX(-2px);
}

.rha-link-home:hover {
	transform: translateX(2px);
}

/* WooCommerce Notices Styling */
.woocommerce-notices-wrapper {
	width: 100%;
	max-width: 480px;
	margin: 0 auto 20px;
}

.woocommerce-notices-wrapper:empty {
	display: none;
	margin: 0;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.message-wrapper {
	border-radius: 12px !important;
	padding: 14px 18px !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	margin-bottom: 16px !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
	max-width: 480px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.woocommerce-message,
.woocommerce-message.message-wrapper {
	background-color: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-left: 4px solid #16a34a !important;
	color: #166534 !important;
}

.woocommerce-info,
.woocommerce-info.message-wrapper {
	background-color: #eff6ff !important;
	border: 1px solid #bfdbfe !important;
	border-left: 4px solid #2563eb !important;
	color: #1e40af !important;
}

.woocommerce-error,
.woocommerce-error.message-wrapper {
	background-color: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	border-left: 4px solid #dc2626 !important;
	color: #991b1b !important;
	list-style: none !important;
}

.woocommerce-error li,
.message-wrapper li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100% !important;
}

.message-wrapper .message-container {
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	color: inherit !important;
	font-size: inherit !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	.rha-reset-pw-page-wrap {
		padding: 24px 14px 40px;
	}

	.rha-reset-pw-card {
		padding: 30px 20px;
		border-radius: 20px;
	}

	.rha-reset-pw-title {
		font-size: 20px !important;
	}

	.rha-reset-pw-subtitle {
		font-size: 13px;
	}

	.rha-reset-submit-btn {
		font-size: 14px !important;
		height: 48px !important;
	}

	.rha-reset-pw-footer {
		font-size: 13px;
	}
}
