/* Styles for login.php, moved out of the page unchanged. */
        * { font-family: 'Inter', system-ui, sans-serif; }

        html, body {
            height: 100%;
            margin: 0;
        }

        .input-field {
            transition: all 0.2s ease;
            border: 1.5px solid #e5e7eb;
        }

        .input-field:focus {
            border-color: #0a5a82;
            box-shadow: 0 0 0 3px rgba(10, 90, 130, 0.1);
            outline: none;
        }

        .input-field:hover:not(:focus) {
            border-color: #d1d5db;
        }

        .btn-primary {
            background: linear-gradient(135deg, #0a5a82 0%, #084466 100%);
            transition: all 0.3s ease;
        }

        .btn-primary:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(10, 90, 130, 0.35);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .form-section {
            animation: fadeInUp 0.4s ease forwards;
            opacity: 0;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .form-section:nth-child(1) { animation-delay: 0.1s; }
        .form-section:nth-child(2) { animation-delay: 0.15s; }
        .form-section:nth-child(3) { animation-delay: 0.2s; }
        .form-section:nth-child(4) { animation-delay: 0.25s; }

        .error-shake {
            animation: shake 0.4s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        .hero-panel {
            background: linear-gradient(135deg, rgba(10, 90, 130, 0.9) 0%, rgba(8, 68, 102, 0.95) 100%),
                        url('/local/academy/pix/hero-background.jpg');
            background-size: cover;
            background-position: center;
        }

        .form-scroll::-webkit-scrollbar {
            width: 6px;
        }

        .form-scroll::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .form-scroll::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 3px;
        }

        .form-scroll::-webkit-scrollbar-thumb:hover {
            background: #a1a1a1;
        }

        .feature-item {
            animation: slideIn 0.5s ease forwards;
            opacity: 0;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .feature-item:nth-child(1) { animation-delay: 0.3s; }
        .feature-item:nth-child(2) { animation-delay: 0.4s; }
        .feature-item:nth-child(3) { animation-delay: 0.5s; }
        .feature-item:nth-child(4) { animation-delay: 0.6s; }

        .sso-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            padding: 12px 16px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 14px;
            transition: all 0.2s ease;
            text-decoration: none;
            cursor: pointer;
        }

        .sso-btn-microsoft {
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            color: #3c4043;
        }

        .sso-btn-microsoft:hover {
            background: #f8f9fa;
            border-color: #d1d5db;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .sso-btn-google {
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            color: #3c4043;
        }

        .sso-btn-google:hover {
            background: #f8f9fa;
            border-color: #d1d5db;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .sso-btn-generic {
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            color: #3c4043;
        }

        .sso-btn-generic:hover {
            background: #f8f9fa;
            border-color: #d1d5db;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .sso-divider {
            display: flex;
            align-items: center;
            gap: 16px;
            color: #9ca3af;
            font-size: 13px;
        }

        .sso-divider::before,
        .sso-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: #e5e7eb;
        }

        .btn-loading {
            position: relative;
            color: transparent !important;
        }
        .btn-loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin: -10px 0 0 -10px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 0.8s linear infinite;
        }
        @keyframes spin { to { transform: rotate(360deg); } }
    
