/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, sidebar-nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, sidebar-nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*---------------------- css reset  ------------------- */
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb\(FaNum\)_Black.eot') format('embedded-opentype');
  font-weight: 900;
  font-style: "normal";
}
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb\(FaNum\)_Bold.eot') format('embedded-opentype');
  font-weight: "bold";
  font-style: "normal";
}
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb(FaNum)_Medium.eot') format('embedded-opentype');
  font-weight: 500;
  font-style: "normal";
}
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb\(FaNum\)_Light.eot') format('embedded-opentype');
  font-weight: 300;
  font-style: "normal";
}
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb\(FaNum\)_UltraLight.eot') format('embedded-opentype');
  font-weight: 200;
  font-style: "normal";
}
@font-face {
  font-family: "IRANSans_FaNum";
  src: url('../fonts/eot/IRANSansWeb.eot') format('embedded-opentype');
  font-weight: "normal";
  font-style: "normal";
}
@font-face {
  font-family: "IRANSansWeb";
  src: url('../fonts/eot/IRANSansWeb_Medium.eot') format('embedded-opentype');
  font-weight: "normal";
  font-style: "normal";
}
/* DECLARATIONS */
/* برای Chrome و Safari */
::-webkit-scrollbar {
  width: 10px; /* عرض اسکرول بار */
  height: 10px; /* ارتفاع اسکرول بار */
}

/* استایل اسکرول بار */
::-webkit-scrollbar-thumb {
  background-color: darkgray; /* رنگ اسکرول بار */
  border-radius: 10px; /* گرد کردن گوشه‌ها */
}

/* استایل فضای خالی دور اسکرول بار */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* رنگ پس‌زمینه */
}
/* ========================================
   LOGIN PAGE - MINIMAL LUXURY THEME
   ======================================== */

:root {
    /* Colors - Minimal Neutral + Gold Accent */
    --bg-page: #f8f9fa;
    --bg-card: #ffffff;
    
    --text-primary: #1a1a1a;
    --text-secondary: #6b6b73;
    --text-muted: #a1a1aa;
    
    --border-light: #e4e4e7;
    --border-focus: #C9A961;
    
    --accent: #C9A961;
    --accent-soft: rgba(201, 169, 97, 0.08);
    --accent-hover: rgba(201, 169, 97, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
* { box-sizing: border-box; }

body {
    direction: rtl !important;
    font-family: 'IRANSansWeb', 'Vazir', Tahoma, sans-serif !important;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    -webkit-font-smoothing: antialiased;
}

/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

/* Card */
.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

/* Header */
.login-header {
    padding: 2rem 1.5rem 1.5rem;
}

.login-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.login-header h2 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.login-header p {
    font-size: 0.875rem;
}

/* Body */
.login-body {
    padding: 1.5rem;
}

/* Form Labels */
.form-label {
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Input Groups */
.input-group {
    border: 0px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--bg-card);
}

.input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-group-text {
    border: none;
    padding: 0.625rem 0.75rem;
    background: transparent;
}

.input-group-text i {
    font-size: 0.9rem;
}

.form-control {
    border: none;
    padding: 0.625rem 0.75rem;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    box-shadow: none;
    background: transparent;
}

/* Alert */
.alert {
    border: 1px solid;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

/* Login Button */
.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    background: #b89a56;
    border-color: #b89a56;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 0.875rem;
}

/* Footer */
.login-footer {
    padding: 1rem 1.5rem 1.5rem;
}

/* Responsive */
@media (max-width: 480px) {
    body { padding: 0.75rem; }
    .login-card { border-radius: var(--radius-md); }
    .login-header { padding: 1.5rem 1.25rem 1.25rem; }
    .login-body { padding: 1.25rem; }
    .login-footer { padding: 1rem 1.25rem 1.25rem; }
    .login-icon { width: 48px; height: 48px; font-size: 1.25rem; }
    .login-header h2 { font-size: 1.125rem; }
}

/* Focus accessibility */
.form-control:focus-visible,
.btn-login:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}