    :root {
        --primary-color: #4361ee;
        --primary-light: #6a7ef0;
        --primary-lighter: #e0e5ff;
        --secondary-color: #f8f9fc;
        --accent-color: #3a0ca3;
        --text-color: #2b2d42;
        --text-light: #6c757d;
        --error-color: #ef233c;
        --success-color: #4bb543;
        --border-radius: 16px;
        --box-shadow: 0 12px 30px rgba(67, 97, 238, 0.15);
        --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    
    .login-container {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(135deg, #f5f7fa 0%, #e6ebf5 100%);
        position: relative;
        overflow: hidden;
        padding: 2rem;
    }
    
    .login-bg-pattern {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
        background-size: 30px 30px;
        opacity: 0.1;
        z-index: 0;
        animation: subtleMove 60s infinite linear;
    }
    
    .login-card {
        background-color: white;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        overflow: hidden;
        max-width: 1000px;
        width: 100%;
        display: flex;
        position: relative;
        z-index: 1;
        transform: translateY(0);
        transition: var(--transition);
    }
    
    .login-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(67, 97, 238, 0.2);
    }
    
    .graphic-side {
        flex: 1;
        min-height: 550px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        color: white;
        text-align: center;
    }
    
    .graphic-circle {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
        position: relative;
    }
    
    .graphic-circle::before {
        content: '';
        position: absolute;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        border: 2px dashed rgba(255, 255, 255, 0.2);
    }
    
    .graphic-icon {
        font-size: 5rem;
        color: white;
        opacity: 0.9;
    }
    
    .graphic-content h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .graphic-content p {
        font-size: 1.1rem;
        opacity: 0.9;
        line-height: 1.6;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .graphic-dots {
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(white 1px, transparent 1px);
        background-size: 15px 15px;
        opacity: 0.05;
    }
    
    .login-form-container {
        flex: 1;
        padding: 3rem 4rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: white;
    }
    
    .login-title {
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: 2.5rem;
        text-align: center;
        position: relative;
        font-size: 2rem;
    }
    
    .login-title:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: linear-gradient(to right, var(--primary-color), var(--primary-light));
        margin: 1.2rem auto 0;
        border-radius: 4px;
    }
    
    .login-title i {
        margin-left: 10px;
        font-size: 1.4rem;
    }
    
    .form-group {
        margin-bottom: 1.8rem;
        position: relative;
    }
    
    .form-label {
        color: var(--text-color);
        font-weight: 600;
        margin-bottom: 0.7rem;
        display: block;
        font-size: 1rem;
    }
    
    .form-label i {
        margin-left: 8px;
        color: var(--primary-light);
    }
    
    .form-control {
        border: 2px solid #e9ecef;
        border-radius: var(--border-radius);
        padding: 0.85rem 1.2rem;
        transition: var(--transition);
        width: 100%;
        font-size: 1rem;
        background-color: #f9fafc;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
        background-color: white;
    }
    
    .form-control::placeholder {
        color: #adb5bd;
        font-size: 0.9rem;
    }
    
    .captcha-container {
        margin: 2rem 0;
        border: 2px solid #e9ecef;
        border-radius: var(--border-radius);
        padding: 1.5rem;
        background-color: #f9fafc;
        transition: var(--transition);
    }
    
    .captcha-container:hover {
        border-color: var(--primary-lighter);
    }
    
    .captcha-label {
        display: block;
        margin-bottom: 0.8rem;
        font-weight: 600;
        color: var(--text-color);
    }
    
    .captcha-label i {
        margin-left: 8px;
        color: var(--primary-light);
    }
    
    .captcha-image img {
        border-radius: 8px;
        margin-bottom: 0.8rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        transition: var(--transition);
    }
    
    .captcha-image img:hover {
        transform: scale(1.02);
    }
    
    .captcha-input {
        width: 100%;
        padding: 0.85rem;
        border: 2px solid #e9ecef;
        border-radius: var(--border-radius);
        margin-top: 0.8rem;
        background-color: white;
        transition: var(--transition);
    }
    
    .captcha-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    }
    
    .btn-login {
        background: linear-gradient(to right, var(--primary-color), var(--primary-light));
        border: none;
        border-radius: var(--border-radius);
        padding: 1rem;
        font-weight: 600;
        font-size: 1.1rem;
        color: white;
        width: 100%;
        transition: var(--transition);
        cursor: pointer;
        margin-top: 1.5rem;
        box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .btn-login:hover {
        background: linear-gradient(to right, var(--accent-color), var(--primary-color));
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(67, 97, 238, 0.4);
    }
    
    .btn-login:active {
        transform: translateY(0);
    }
    
    .btn-login i {
        margin-left: 10px;
        transition: var(--transition);
    }
    
    .btn-login:hover i {
        transform: translateX(3px);
    }
    
    .alert-error {
        background-color: rgba(239, 35, 60, 0.1);
        color: var(--error-color);
        padding: 1rem 1.2rem;
        border-radius: var(--border-radius);
        margin-bottom: 1.8rem;
        border: 1px solid rgba(239, 35, 60, 0.2);
        font-weight: 500;
        display: flex;
        align-items: center;
        animation: fadeIn 0.3s ease;
    }
    
    .alert-error i {
        margin-left: 10px;
        font-size: 1.2rem;
    }
    
    .forgot-password {
        text-align: center;
        margin-top: 1.5rem;
    }
    
    .forgot-password a {
        color: var(--text-light);
        font-size: 0.9rem;
        text-decoration: none;
        transition: var(--transition);
    }
    
    .forgot-password a:hover {
        color: var(--primary-color);
        text-decoration: underline;
    }
    
    @keyframes subtleMove {
        0% { background-position: 0 0; }
        50% { background-position: 100px 100px; }
        100% { background-position: 0 0; }
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
        100% { transform: translateY(0px); }
    }
    
    @media (max-width: 992px) {
        .login-form-container {
            padding: 3rem;
        }
        
        .graphic-side {
            min-height: 450px;
        }
    }
    
    @media (max-width: 768px) {
        .login-container {
            padding: 1rem;
        }
        
        .login-card {
            flex-direction: column;
            max-width: 500px;
        }
        
        .graphic-side {
            min-height: 300px;
            padding: 1.5rem;
        }
        
        .graphic-circle {
            width: 150px;
            height: 150px;
        }
        
        .graphic-circle::before {
            width: 180px;
            height: 180px;
        }
        
        .graphic-icon {
            font-size: 4rem;
        }
        
        .graphic-content h2 {
            font-size: 1.8rem;
        }
        
        .login-form-container {
            padding: 2.5rem;
        }
    }
    
    @media (max-width: 480px) {
        .login-form-container {
            padding: 2rem 1.5rem;
        }
        
        .login-title {
            font-size: 1.7rem;
            margin-bottom: 2rem;
        }
        
        .graphic-side {
            min-height: 250px;
        }
        
        .graphic-circle {
            width: 120px;
            height: 120px;
            margin-bottom: 1.5rem;
        }
        
        .graphic-circle::before {
            width: 140px;
            height: 140px;
        }
        
        .graphic-icon {
            font-size: 3rem;
        }
        
        .graphic-content h2 {
            font-size: 1.5rem;
        }
        
        .graphic-content p {
            font-size: 1rem;
        }
    }
    
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.captcha-refresh-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 5px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.captcha-refresh-btn:hover {
    color: #0d6efd;
    transform: rotate(90deg);
}

.captcha-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}