 :root {
            --primary-color: #002147;
            --primary-light: rgba(0, 33, 71, 0.1);
            --secondary-color: #cb6228;
            --secondary-light: rgba(203, 98, 40, 0.1);
            --light-color: #f8f9fa;
            --dark-color: #212529;
            --transition: all 0.3s ease;
        }

        body {
            background-color: var(--light-color);
            min-height: 100vh;
            background-image: url('../img/technopark.webp');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            display: flex;
            flex-direction: column;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .login-overlay {
            background: linear-gradient(135deg, rgba(0, 33, 71, 0.9) 0%, rgba(0, 33, 71, 0.85) 100%);
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
        }

        header {
            background-color: var(--primary-color);
            color: white;
            padding: 1rem 0;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
            transition: var(--transition);
        }

        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            transition: var(--transition);
        }
        
        .logo img {
            height: 55px;
            transition: var(--transition);
        }
        
        .logo-text {
            font-weight: 700;
            font-size: 1.8rem;
            color: white;
            letter-spacing: 0.5px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 0;
        }

        .login-container {
            width: 100%;
            max-width: 420px;
            padding: 2.5rem;
            background: rgba(255, 255, 255, 0.98);
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            border-top: 5px solid var(--secondary-color);
            margin: 0 auto;
            transform: translateY(0);
            transition: var(--transition);
        }

        .login-container:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            background: var(--primary-light);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            transition: var(--transition);
        }

        .login-header h2 {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 0.5rem;
            font-size: 1.75rem;
        }

        .login-header p {
            color: #6c757d;
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        .form-control {
            height: 48px;
            border-radius: 6px;
            border: 1px solid #dee2e6;
            padding-left: 15px;
            transition: var(--transition);
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(0, 33, 71, 0.15);
        }

        .input-group-text {
            background-color: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            min-width: 45px;
            justify-content: center;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            padding: 0.75rem;
            font-weight: 600;
            border-radius: 6px;
            transition: var(--transition);
            letter-spacing: 0.5px;
        }

        .btn-primary:hover, .btn-primary:focus {
            background-color: #001a3a;
            border-color: #001a3a;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        #togglePassword {
            cursor: pointer;
            transition: var(--transition);
            border-left: 0;
        }

        #togglePassword:hover {
            background-color: #e9ecef;
        }

        .remember-me {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .forgot-password {
            color: var(--primary-color);
            font-size: 0.9rem;
            text-decoration: none;
            transition: var(--transition);
            font-weight: 500;
        }

        .forgot-password:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

        .terms-text {
            color: #6c757d;
            font-size: 0.85rem;
            margin-top: 1.5rem;
        }

        .terms-link {
            color: var(--primary-color);
            font-weight: 500;
            text-decoration: none;
            transition: var(--transition);
        }

        .terms-link:hover {
            color: var(--secondary-color);
            text-decoration: underline;
        }

        footer {
            background-color: var(--secondary-color);
            color: white;
            padding: 1rem 0;
            text-align: center;
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        /* Alert styles */
        .alert {
            border-radius: 8px;
            padding: 1rem;
            border: 0;
        }

        .alert-danger {
            background-color: rgba(220, 53, 69, 0.1);
            border-left: 4px solid #dc3545;
            color: #dc3545;
        }

        .alert-success {
            background-color: rgba(25, 135, 84, 0.1);
            border-left: 4px solid #198754;
            color: #198754;
        }

        /* Modal styles */
        #resetPasswordModal .modal-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: 0;
            border-radius: 0;
            padding: 1.5rem;
        }

        #resetPasswordModal .modal-title {
            font-weight: 600;
        }

        #resetPasswordModal .btn-close {
            filter: invert(1);
        }

        #resetPasswordModal .modal-body {
            padding: 2rem;
        }

        /* Responsive adjustments */
        @media (max-width: 576px) {
            .login-container {
                padding: 1.75rem;
                margin: 0 1rem;
                max-width: 95%;
            }
            
            .logo img {
                height: 45px;
            }
            
            .logo-text {
                font-size: 1.4rem;
            }
            
            .login-header h2 {
                font-size: 1.5rem;
            }
        }

        /* Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .login-container {
            animation: fadeIn 0.6s ease-out;
        }