/* Styles for signup/signup.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;
        }

        .select2-container--default .select2-selection--single {
            border: 1.5px solid #e5e7eb;
            height: 44px;
            padding: 8px 12px;
            border-radius: 8px;
            transition: all 0.2s ease;
        }

        .select2-container--default .select2-selection--single:hover {
            border-color: #d1d5db;
        }

        .select2-container--default.select2-container--focus .select2-selection--single {
            border-color: #0a5a82;
            box-shadow: 0 0 0 3px rgba(10, 90, 130, 0.1);
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 26px;
            color: #374151;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 42px;
        }

        .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;
        }

        .password-strength {
            height: 4px;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .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; }
        .form-section:nth-child(5) { animation-delay: 0.3s; }
        .form-section:nth-child(6) { animation-delay: 0.35s; }
        .form-section:nth-child(7) { animation-delay: 0.4s; }

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

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

        .checkbox-custom {
            appearance: none;
            width: 18px;
            height: 18px;
            border: 2px solid #d1d5db;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            flex-shrink: 0;
        }

        .checkbox-custom:checked {
            background: #0a5a82;
            border-color: #0a5a82;
        }

        .checkbox-custom:checked::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 1px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .checkbox-custom:focus {
            box-shadow: 0 0 0 3px rgba(10, 90, 130, 0.1);
        }

        .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, .sso-btn-google, .sso-btn-generic {
            background: #ffffff;
            border: 1.5px solid #e5e7eb;
            color: #3c4043;
        }

        .sso-btn-microsoft:hover, .sso-btn-google:hover, .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;
        }

        .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; }

        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        .toast {
            min-width: 320px;
            max-width: 400px;
            padding: 16px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: flex-start;
            gap: 12px;
            animation: toastSlideIn 0.3s ease;
        }

        .toast-error {
            background: #fef2f2;
            border-left: 4px solid #ef4444;
        }

        .toast-success {
            background: #f0fdf4;
            border-left: 4px solid #22c55e;
        }

        .toast-content { flex: 1; }
        .toast-title { font-weight: 600; margin-bottom: 4px; }
        .toast-error .toast-title { color: #991b1b; }
        .toast-success .toast-title { color: #166534; }
        .toast-message { font-size: 14px; }
        .toast-error .toast-message { color: #b91c1c; }
        .toast-success .toast-message { color: #15803d; }

        .toast-close {
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            opacity: 0.5;
            transition: opacity 0.2s;
        }
        .toast-close:hover { opacity: 1; }

        @keyframes toastSlideIn {
            from { transform: translateX(100%); opacity: 0; }
            to { transform: translateX(0); opacity: 1; }
        }

        .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); } }
    
