/**
 * wp-login.php — استایل برند TechnoSevin (فراموشی رمز، خروج و سایر اکشن‌ها)
 */

body.login.technosevin-wp-login {
	direction: rtl;
	font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-feature-settings: 'ss01' on, 'ss02' on;
	background: linear-gradient(135deg, #fffaf5 0%, #ffffff 45%, #ffe8d6 100%) !important;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
}

body.login.technosevin-wp-login #login {
	width: 100%;
	max-width: 26rem;
	padding: 0;
	margin: 0 auto;
}

body.login.technosevin-wp-login #login h1 a {
	background-image: none !important;
	width: auto;
	height: auto;
	text-indent: 0;
	font-size: 1.5rem;
	font-weight: 900;
	color: #1a2b48 !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

body.login.technosevin-wp-login #login h1 a::before {
	content: 'architecture';
	font-family: 'Material Icons';
	font-size: 2rem;
	color: #ffc03d;
	font-weight: normal;
}

body.login.technosevin-wp-login #loginform,
body.login.technosevin-wp-login #lostpasswordform,
body.login.technosevin-wp-login #resetpassform,
body.login.technosevin-wp-login .login form {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 192, 61, 0.22);
	border-radius: 1.25rem;
	box-shadow: 0 12px 40px rgba(26, 43, 72, 0.1);
	padding: 2rem 1.75rem;
	margin-top: 1rem;
}

body.login.technosevin-wp-login #login form .input,
body.login.technosevin-wp-login #login input[type='text'],
body.login.technosevin-wp-login #login input[type='password'],
body.login.technosevin-wp-login #login input[type='email'] {
	border: 1px solid #e2e8f0;
	border-radius: 0.75rem;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 0.95rem;
	background: #fff;
	color: #1a2b48;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.login.technosevin-wp-login #login form .input:focus,
body.login.technosevin-wp-login #login input:focus {
	border-color: #ffc03d;
	box-shadow: 0 0 0 3px rgba(255, 192, 61, 0.25);
	outline: none;
}

body.login.technosevin-wp-login label {
	font-size: 0.875rem;
	font-weight: 700;
	color: #334155;
}

body.login.technosevin-wp-login .wp-core-ui .button-primary {
	background: linear-gradient(to left, #ffc03d, #ffd700) !important;
	border: none !important;
	border-radius: 0.75rem !important;
	color: #1a2b48 !important;
	font-family: inherit;
	font-weight: 800;
	font-size: 1rem;
	padding: 0.65rem 1.25rem !important;
	height: auto !important;
	line-height: 1.5;
	box-shadow: 0 8px 24px rgba(255, 192, 61, 0.35);
	text-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.login.technosevin-wp-login .wp-core-ui .button-primary:hover,
body.login.technosevin-wp-login .wp-core-ui .button-primary:focus {
	background: linear-gradient(to left, #e0a82e, #ffc03d) !important;
	color: #1a2b48 !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(255, 192, 61, 0.4);
}

body.login.technosevin-wp-login #nav,
body.login.technosevin-wp-login #backtoblog {
	text-align: center;
	padding: 0.75rem 0 0;
	margin: 0;
}

body.login.technosevin-wp-login #nav a,
body.login.technosevin-wp-login #backtoblog a {
	color: #64748b !important;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.login.technosevin-wp-login #nav a:hover,
body.login.technosevin-wp-login #backtoblog a:hover {
	color: #ffc03d !important;
}

body.login.technosevin-wp-login .message,
body.login.technosevin-wp-login .success,
body.login.technosevin-wp-login #login_error {
	border-radius: 0.75rem;
	border-right: 4px solid #ffc03d;
	border-left: none;
	box-shadow: none;
	font-family: inherit;
}

body.login.technosevin-wp-login #login_error {
	border-right-color: #ef4444;
}

body.login.technosevin-wp-login .privacy-policy-page-link {
	text-align: center;
}

body.login.technosevin-wp-login .language-switcher {
	margin-top: 1rem;
}

body.login.technosevin-wp-login #login::before {
	content: 'ورود به پیشخوان مدیریت';
	display: block;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 700;
	color: #ffc03d;
	margin-bottom: 0.25rem;
}

body.login.technosevin-wp-login.login-action-lostpassword #login::before,
body.login.technosevin-wp-login.login-action-retrievepassword #login::before {
	content: 'بازیابی رمز عبور';
}

body.login.technosevin-wp-login.login-action-rp #login::before,
body.login.technosevin-wp-login.login-action-resetpass #login::before {
	content: 'تنظیم رمز عبور جدید';
}
