﻿/* Extracted from views\forgot_password.php */

body {
	background: url('https://cdn.silklegends.com/assets/img/silk_road_hero.png') no-repeat center center fixed !important;
	background-size: cover !important;
	margin: 0;
	min-height: 100vh;
	font-family: 'Cinzel', serif;
}

body .overlay {
	background: url('https://cdn.silklegends.com/assets/img/silk_road_hero.png') no-repeat center center fixed !important;
	background-size: cover !important;
	min-height: 100vh;
}

.forgot-overlay {
	min-height: 100vh;
	background: radial-gradient(circle at center, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.76) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.auth-wrap {
	width: 100%;
	max-width: 560px;
	background: linear-gradient(180deg, rgba(20, 20, 30, 0.86), rgba(18, 18, 28, 0.8));
	backdrop-filter: blur(18px);
	padding: 34px;
	border: 2px solid rgba(255, 215, 0, 0.24);
	border-radius: 14px;
	box-shadow: 0 34px 70px rgba(0, 0, 0, 0.6), inset 0 0 45px rgba(255, 215, 0, 0.05);
	color: #ececec;
	animation: forgotCardIn .5s ease-out;
}

@keyframes forgotCardIn {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.auth-wrap h2 {
	margin: 0 0 12px;
	color: #ffd700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	text-shadow: 0 0 14px rgba(255, 215, 0, 0.26);
}

.auth-wrap p {
	margin: 0 0 18px;
	color: #d4d4d4;
	line-height: 1.5;
}

.auth-wrap label {
	display: block;
	margin: 0 0 8px;
	color: #aaaaaa;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .9px;
}

.auth-wrap input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(0, 0, 0, 0.42);
	color: #ffffff;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-wrap input:focus {
	outline: none;
	border-color: #ffd700;
	box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
	background: rgba(0, 0, 0, 0.55);
}

.auth-wrap button {
	margin-top: 14px;
	padding: 12px 16px;
	border: 1px solid rgba(255, 215, 0, 0.55);
	border-radius: 6px;
	background: linear-gradient(135deg, #8b0000 0%, #b22222 100%);
	color: #fff;
	font-weight: 700;
	letter-spacing: .6px;
	cursor: pointer;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.auth-wrap button:hover {
	transform: translateY(-1px);
	filter: brightness(1.08);
	box-shadow: 0 8px 18px rgba(139, 0, 0, 0.32);
}

.msg {
	padding: 10px 12px;
	border-radius: 8px;
	margin-bottom: 12px;
}

.ok {
	background: rgba(45, 128, 75, 0.18);
	border: 1px solid rgba(76, 175, 80, 0.48);
	color: #b9f6ca;
}

.err {
	background: rgba(179, 50, 50, 0.2);
	border: 1px solid rgba(230, 98, 98, 0.45);
	color: #ffd7d7;
}

.auth-back-link {
	margin-top: 14px;
}

.auth-back-link a {
	color: #ffd700;
	text-decoration: none;
}

.auth-back-link a:hover {
	text-decoration: underline;
	text-shadow: 0 0 8px rgba(255, 215, 0, 0.35);
}

@media (max-width: 640px) {
	.forgot-overlay {
		padding: 16px;
	}

	.auth-wrap {
		padding: 24px;
	}

	.auth-wrap h2 {
		font-size: 28px;
	}
}
