@import url("fonts.css");
  /*:root {*/
  /*          --primary-color: #4361ee;*/
  /*          --secondary-color: #3a0ca3;*/
  /*          --accent-color: #4cc9f0;*/
  /*          --dark-color: #1d3557;*/
  /*          --light-color: #f8f9fa;*/
  /*          --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
  /*      }*/
        :root {
            --primary-color: #0f4959;
            --secondary-color: #2a90ad;
            --accent-color: #4cc9f0;
            --dark-color: #1d3557;
            --light-color: #f8f9fa;
            --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        }
        body {
            font-family: 'Vazir', 'Segoe UI', Tahoma, sans-serif;
            background-color: #f5f7fb;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(67, 97, 238, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(58, 12, 163, 0.05) 0%, transparent 20%);
        }
        
        .login-container {
            width: 100%;
            max-width: 1100px;
            margin: 20px;
        }
        
        .login-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            display: flex;
            min-height: 600px;
        }
        
        .login-left {
            flex: 1;
            background: var(--gradient);
            color: white;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }
        
        .login-left::before {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            top: -50px;
            right: -50px;
        }
        
        .login-left::after {
            content: '';
            position: absolute;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            bottom: -50px;
            left: -50px;
        }
        
        .login-right {
            flex: 1;
            padding: 50px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .bank-logo {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }
        
        .logo-icon {
            width: 50px;
            height: 50px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .logo-text {
            font-weight: 700;
            font-size: 1.5rem;
        }
        
        .welcome-text {
            margin-bottom: 40px;
        }
        
        .welcome-text h2 {
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .welcome-text p {
            opacity: 0.8;
        }
        
        .features-list {
            list-style: none;
            padding: 0;
            margin-bottom: 40px;
        }
        
        .features-list li {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .features-list i {
            margin-left: 10px;
            background: rgba(255, 255, 255, 0.2);
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .security-badge {
            background: rgba(255, 255, 255, 0.2);
            padding: 10px 15px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            font-size: 0.9rem;
        }
        
        .security-badge i {
            margin-left: 8px;
        }
        
        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--dark-color);
        }
        
        .input-group {
            margin-bottom: 20px;
        }
        
        .input-group-text {
            background-color: white;
            border: 1px solid #e1e5ee;
            border-left: none;
            border-radius: 0 10px 10px 0;
        }
        
        .form-control {
            border: 1px solid #e1e5ee;
            border-right: none;
            border-radius: 10px 0 0 10px;
            padding: 12px 15px;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
        }
        
        .password-toggle {
            background: #f8f9fa;
            border: 1px solid #e1e5ee;
            border-left: none;
            border-radius: 0 8px 8px 0;
            color: var(--primary-color);
            cursor: pointer;
            padding: 0 12px;
            transition: all 0.3s ease;
        }

        .password-toggle:hover {
            background: var(--primary-color);
            color: white;
        }
        
        .btn-login {
            background: var(--gradient);
            border: none;
            border-radius: 10px;
            padding: 12px;
            font-weight: 600;
            transition: all 0.3s;
            margin-top: 10px;
        }
        
        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 7px 15px rgba(67, 97, 238, 0.3);
        }
        
        .login-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            font-size: 0.9rem;
        }
        
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .help-links {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e1e5ee;
        }
        
        .help-links a {
            color: var(--primary-color);
            text-decoration: none;
            margin: 0 10px;
            transition: color 0.3s;
        }
        
        .help-links a:hover {
            color: var(--secondary-color);
        }
        
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            right: 0;
            pointer-events: none;
        }
        
        .shape {
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }
        
        .shape-1 {
            width: 80px;
            height: 80px;
            top: 20%;
            right: 10%;
        }
        
        .shape-2 {
            width: 40px;
            height: 40px;
            bottom: 30%;
            left: 15%;
        }
        
        .shape-3 {
            width: 60px;
            height: 60px;
            bottom: 20%;
            right: 20%;
        }
        
        @media (max-width: 992px) {
            .login-card {
                flex-direction: column;
            }
            
            .login-left {
                padding: 30px;
            }
            
            .login-right {
                padding: 40px 30px;
            }
        }

        /* اضافه کردن این استایل‌ها به فایل login.css */

@media (max-width: 767.98px) {
    body {
        padding: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }
    
    .login-container {
        margin: 0;
        width: 100%;
        max-width: 400px;
    }
    
    .login-card {
        min-height: auto;
        border-radius: 15px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }
    
    .login-right {
        padding: 30px 25px;
        width: 100%;
    }
    
    h3.mb-4 {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .btn-login {
        width: 100%;
    }
    
    .help-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .help-links a {
        margin: 0;
        font-size: 0.85rem;
    }
}

/* برای صفحه‌های خیلی کوچک */
@media (max-width: 375px) {
    .login-right {
        padding: 25px 20px;
    }
    
    .help-links {
        gap: 15px;
    }
    
    .help-links a {
        font-size: 0.8rem;
    }
}