
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #4a6fa5;
            --accent-color: #667eea;
            --danger-color: #dc3545;
            --success-color: #28a745;
            --light-color: #f8f9fa;
            --border-color: #dee2e6;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
            background: whitesmoke;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            line-height: 1.6;
            /* overflow-x: hidden; */

        }

        .login-container { width: 100%; max-width: 450px; margin: 0 auto; }

        .login-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        .login-card:hover { transform: translateY(-5px); }

        .card-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 30px 20px;
            text-align: center;
        }
        .logo { font-size: 48px; margin-bottom: 15px; }
        .card-header h1 { font-size: 24px; font-weight: 700; margin-bottom: 5px; }
        .card-header p  { font-size: 14px; opacity: 0.9; }

        .card-body { padding: 30px; }

        .alert {
            border-radius: 8px;
            border: none;
            padding: 15px;
            margin-bottom: 20px;
            font-size: 14px;
            display: flex;
            align-items: flex-start;
        }
        .alert-danger  { background-color: #f8d7da; color: #721c24; border-left: 4px solid var(--danger-color); }
        .alert-warning { background-color: #fff3cd; color: #856404;  border-left: 4px solid #ffc107; }
        .alert i { margin-right: 10px; font-size: 18px; flex-shrink: 0; }

        .form-group { margin-bottom: 25px; }

        .form-label {
            display: block;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--primary-color);
            font-size: 14px;
        }

        .input-group { position: relative; display: flex; align-items: center; }

        .input-icon {
            position: absolute;
            left: 14px;
            color: #6c757d;
            z-index: 10;
            font-size: 16px;
        }

        .form-control {
            width: 100%;
            padding: 12px 14px 12px 42px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            outline: none;
            background: white;
        }
        .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(102,126,234,0.15);
        }

        .help-text { display: block; margin-top: 6px; font-size: 12px; color: #6c757d; }

        .btn-primary {
            width: 100%;
            padding: 14px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-primary:hover:not(:disabled) {
            background: linear-gradient(135deg, #1a252f 0%, #3a5a8c 100%);
        }
        .btn-primary:disabled { opacity: 0.7; cursor: not-allowed; }

        .spinner {
            display: inline-block;
            width: 20px; height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }

        .links {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            font-size: 14px;
        }
        .links a { color: var(--accent-color); text-decoration: none; margin: 0 10px; font-weight: 500; }

        .contact-admin { margin-top: 12px; text-align: center; }
        .contact-admin a {
            display: inline-block;
            padding: 10px 20px;
            background: var(--danger-color);
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-weight: 500;
            transition: background 0.3s ease;
        }
        .contact-admin a:hover { background: #c82333; }