
@font-face {
    font-family: 'Vazir';
    src: url('/fonts/Vazirmatn-Regular.woff2') format('woff2'); 
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-blue: #0f52ba;       
    --primary-dark: #0a3d8f;
    --accent-cyan: #00d2ff;       
    --text-main: #2c3e50;
    --text-muted: #95a5a6;
    --bg-light: #f8f9fc;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* { 
    box-sizing: border-box; 
    outline: none; 
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazir', sans-serif;
    height: 100vh;
    overflow: hidden;
    direction: rtl;
    background-color: var(--bg-light);
}

.login-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* --- بخش سمت راست (فرم) --- */
.form-side {
    width: 480px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 70px;
    position: relative;
    z-index: 10;
    box-shadow: 10px 0 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.form-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.welcome-text h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 0 0 10px 0;
    font-weight: 800;
}

.welcome-text p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 14px 15px;
    padding-left: 45px;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-family: 'Vazir', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #fbfbfb;
}

.input-field:focus {
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.1);
}

.field-icon {
    position: absolute;
    left: 15px;
    top: 42px;
    color: #cbd5e0;
    transition: 0.3s;
}

.input-field:focus + .field-icon {
    color: var(--primary-blue);
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.actions a { color: var(--primary-blue); text-decoration: none; font-weight: 600; }
.actions a:hover { text-decoration: underline; }

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Vazir', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 82, 186, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 82, 186, 0.3);
}

.btn-submit:active { transform: translateY(0); }

/* --- بخش سمت چپ (آرت ورک) --- */
.art-side {
    flex-grow: 1;
    background: linear-gradient(135deg, #051937 0%, #004d7a 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.art-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 0.6;
}

.art-content {
    position: relative;
    z-index: 5;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 40px;
}

.glass-info {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.glass-info h2 { font-size: 2.2rem; margin-bottom: 15px; font-weight: 900; }
.glass-info p { font-size: 1.1rem; line-height: 1.8; opacity: 0.9; }

/* واکنش‌گرایی */
@media (max-width: 992px) {
    .art-side { display: none; }
    .form-side { width: 100%; padding: 0 30px; }
}