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

        :root {
            --primary: #1a237e;
            --primary-dark: #0d47a1;
            --accent: #ffd600;
            --success: #00c853;
            --warning: #ff6f00;
            --danger: #d50000;
            --dark: #000033;
            --dark-secondary: #1a1a2e;
            --light: #FFFFFF;
            --gray-100: #FAFAFA;
            --gray-200: #F5F5F5;
            --gray-300: #E0E0E0;
            --gray-400: #BDBDBD;
            --gray-500: #9E9E9E;
            --gray-600: #757575;
            --gray-700: #616161;
            --gray-800: #424242;
            --gray-900: #212121;
            --gradient-primary: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
            --gradient-dark: linear-gradient(180deg, #000033 0%, #1a1a2e 100%);
            --gradient-premium: linear-gradient(135deg, #ffd600 0%, #ffab00 100%);
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-xl: 0 12px 48px rgba(0,0,0,0.16);
        }

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

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

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: var(--light);
            color: var(--gray-900);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .login-pf body {
            background: #000000de;
            background-image: none;
            background-image: none !important;
            height: auto !important;
        }

        /* Enhanced Alert Styling */
        .alert {
            display: flex;
            align-items: center;
            padding: 1rem 1.25rem;
            border-radius: 8px;
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
            animation: slideIn 0.3s ease-out;
        }

        .alert-error {
            background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%) !important;
            color: white !important;
            border-left: 4px solid #b71c1c;
        }

        .alert-success {
            background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%) !important;
            color: white !important;
            border-left: 4px solid #1b5e20;
        }

        .alert-info {
            background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%) !important;
            color: white !important;
            border-left: 4px solid #0d47a1;
        }

        .alert-warning {
            background: linear-gradient(135deg, #ff9800 0%, #ef6c00 100%) !important;
            color: white !important;
            border-left: 4px solid #e65100;
        }

        /* Info Section Styling */
        .info-section {
            background-color: #f8fafc;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 1rem;
            border-left: 4px solid #2563eb;
        }

        .info-section h3 {
            color: #1e293b;
            font-size: 1.1rem;
            font-weight: 600;
            margin: 0 0 1rem 0;
        }

        .info-section ol {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0 0 1rem 0;
            padding-left: 1.5rem;
        }

        .info-section li {
            margin-bottom: 0.5rem;
        }

        .info-section p {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0;
        }

        .info-section strong {
            color: #1e293b;
            font-weight: 600;
        }

        /* Error Message Styling */
        #kc-error-message {
            background-color: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
        }

        #kc-error-message .instruction {
            color: #dc2626;
            font-size: 0.95rem;
            line-height: 1.5;
            margin: 0 0 1rem 0;
        }

        /* Back to Application button styling */
        .back-to-application-btn {
            background-color: #2563eb;
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            display: block;
            margin: 1rem auto 0 auto;
            text-align: center;
            width: fit-content;
            transition: background-color 0.2s;
        }

        .back-to-application-btn:hover {
            background-color: #1d4ed8;
            text-decoration: none;
            color: white;
        }

        .alert-icon {
            font-size: 1.2rem;
            margin-right: 0.75rem;
            opacity: 0.9;
            display: none; /* Hide the X emoji */
        }

        .alert-message {
            font-weight: 500 !important;
            font-size: 0.95rem !important;
            line-height: 1.4 !important;
            color: white !important;
            margin: 0;
        }

        /* Email Verification Code Input Styling */
        .verification-code-input {
            font-size: 1.8rem !important;
            letter-spacing: 0.8rem !important;
            text-align: center !important;
            font-weight: 700 !important;
            padding: 1.2rem 1rem !important;
            border: 2px solid var(--gray-300) !important;
            border-radius: 8px !important;
            background: white !important;
            color: var(--primary) !important;
            font-family: 'Courier New', monospace !important;
            max-width: 300px !important;
            margin: 1rem auto !important;
            display: block !important;
            transition: all 0.3s ease !important;
            width: 300px !important;
            height: 60px !important;
            box-sizing: border-box !important;
        }

        .verification-code-input:focus {
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1) !important;
            outline: none !important;
        }

        .verification-code-input::placeholder {
            color: var(--gray-400) !important;
            font-weight: 400 !important;
        }

        /* Center the verify button */
        [data-page-id="login-login-verify-email-code"] .button-group {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 1rem !important;
            width: 100% !important;
        }

        [data-page-id="login-login-verify-email-code"] .form-actions {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            width: 100% !important;
        }

        [data-page-id="login-login-verify-email-code"] #kc-form-buttons {
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            width: 100% !important;
        }

        [data-page-id="login-login-verify-email-code"] .resend-button {
            margin: 0 auto !important;
            display: block !important;
        }

        /* Fixed Header Section */
        .header {
            background: #0d0d0d !important;
            border-bottom: 1px solid #e0e0e0;
            position: sticky;
            top: 0;
            z-index: 1000;
            animation: fadeInUp 0.6s ease-out;
        }

        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Navigation */
        .navbar {
            background: transparent;
            position: relative;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 75px;
        }

        @media (prefers-reduced-motion: no-preference) {
            .nav-link {
                transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            }
        }

        .logo-section {
            display: flex;
            align-items: center;
        }

        .logo {
            height: 40px;
            width: auto;
        }

        section {
            scroll-margin-top: 80px; /* Adjust based on your header height */
        }

        .nav-menu {
            display: flex;
            list-style: none;
            margin-left: -10px;
            padding: 0;
            align-items: center;
            gap: 0rem;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 0.75rem 1rem;
            color: #ffffff;
            text-decoration: none;
            text-transform: uppercase;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
            white-space: nowrap;
            letter-spacing: 0.5px;
            border-radius: 4px;
        }

        .nav-link:hover {
            color: #ffffff;
            background: rgba(26, 35, 126, 0.05);
        }

        /* Special styling for CTA nav item */
        .nav-link.cta-nav {
            background: var(--gradient-primary);
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            font-weight: 700;
        }

        .nav-link.cta-nav:hover {
            background: var(--primary-dark);
            color: white;
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }

        /* Active state for current section */
        .nav-link.active {
            color: white;
            background: rgba(26, 35, 126, 0.1);
        }

        /* Mobile CTA styling */
        .mobile-nav-link.cta-mobile {
            background: var(--gradient-primary);
            color: white;
            font-weight: 700;
            margin: 0.5rem 1rem;
            border-radius: 6px;
            text-align: center;
        }

        .mobile-nav-link.cta-mobile:hover {
            background: var(--primary-dark);
            color: white;
        }

        @media (min-width:768px){
          .nav-menu{display:none !important;} /* kill the current desktop UL */
        }

        .header-info {
            display: none;
            align-items: center;
            gap: 1rem;
        }

        .ask-section {
            display: flex;
            align-items: center;
            padding-top: 6px;
            gap: 0.5rem;
            color: #666666;
            font-size: 14px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .ask-section img {
            width: 24px;
            height: 24px;
            object-fit: contain;
        }

        .ask-section a {
            color: #666666;
            text-decoration: none;
        }

        /* Dropdown Menus */
        .dropdown {
            position: relative;
        }

        .dropdown-toggle::after {
            content: '▼';
            font-size: 10px;
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .dropdown:hover .dropdown-toggle::after {
            transform: rotate(180deg);
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: -75px;
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            min-width: 240px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            margin-top: 8px;
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu .nav-link {
            padding: 0.75rem 1rem;
            border-bottom: 1px solid #f0f0f0;
            text-transform: none;
            font-weight: 500;
            font-size: 13px;
            color: #666666;
        }

        .dropdown-menu .nav-link:last-child {
            border-bottom: none;
        }

        .dropdown-menu .nav-link:hover {
            background: #f8f9fa;
            color: #333333;
        }

        /* Mobile Menu Toggle */
        .mobile-toggle {
            display:block !important;
            background: none;
            border: none;
            font-size: 24px;
            color: #fff;
            cursor: pointer;
            padding: 0.5rem;
        }

        /* Mobile Menu */
        .mobile-menu {
            visibility: hidden;
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 400px;
            height: 100vh;
            background: white;
            box-shadow: var(--shadow-xl);
            transition: right 0.3s ease, visibility 0s 0.3s; 
            z-index: 2000;
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
            visibility: visible;
            transition: right 0.3s ease;
        }

        .mobile-menu-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid var(--gray-200);
        }

        .mobile-menu-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
        }

        .mobile-close {
            background: none;
            border: none;
            font-size: 28px;
            color: #2b292b;
            cursor: pointer;
            padding: 0.5rem;
        }

        .mobile-nav-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .mobile-nav-item {
            border-bottom: 1px solid var(--gray-100);
        }

        .mobile-nav-link {
            display: block;
            padding: 1rem 1.5rem;
            color: #515151;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .mobile-nav-link:hover {
            background: var(--gray-100);
            color: var(--primary);
        }

        .mobile-dropdown-toggle {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            background: none;
            border: none;
            padding: 1rem 1.5rem;
            color: #515151;
            font-weight: 600;
            text-align: left;
            cursor: pointer;
        }

        .mobile-dropdown-toggle:hover {
            background: var(--gray-100);
            color: var(--primary);
        }

        .mobile-dropdown-menu {
            background: var(--gray-50);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-dropdown-menu.active {
            max-height: 400px;
        }

        .mobile-dropdown-menu .mobile-nav-link {
            padding-left: 2.5rem;
            font-weight: 500;
            font-size: 0.9rem;
        }

        /* Overlay for mobile menu */
        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1500;
        }

        .mobile-overlay.active {
            display: block;
        }

        /* Hero Section */
        .hero {
           background: #0d0d0d !important;
            color: white;
            padding: 5rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(circle, transparent 12px, rgba(128, 128, 128, 0.12) 12px, rgba(128, 128, 128, 0.12) 15px, transparent 15px);
            background-size: 80px 80px;
            background-position: 0 0, 60px 60px;
            pointer-events: none;
        }

        .hero-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 5rem;
            align-items: start;
            position: relative;
            z-index: 1;
        }

        .hero-content {
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .institution-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            color: var(--accent);
            padding: 0.5rem 1.25rem;
            border-radius: 30px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 300;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }

        .hero-title strong {
            font-weight: 700;
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--gray-300);
            margin-bottom: 2rem;
            line-height: 1.8;
            font-weight: 300;
        }

        .credentials {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
            padding-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .credential {
            text-align: center;
        }

        .credential-value {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .credential-label {
            font-size: 0.875rem;
            color: var(--gray-400);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Form Section */
        .form-container {
            background: white;
            border-radius: 12px;
            padding: 3rem;
            box-shadow: var(--shadow-xl);
            animation: fadeInUp 0.8s ease-out 0.4s both;
            border: 1px solid var(--gray-200);
        }

        .form-tabs {
            display: flex;
            margin-bottom: 1rem;
            border-bottom: 2px solid var(--gray-200);
        }

        .tab-button {
            flex: 1;
            padding: 1rem;
            border: none;
            background: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            color: var(--gray-600);
            border-bottom: 2px solid transparent;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            text-decoration: none;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tab-button.active {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .tab-button:hover {
            color: var(--primary);
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        .form-header {
            text-align: center;
            margin-bottom: 1.25rem;
        }

        .form-title {
            font-size: 1.75rem;
            color: var(--dark);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .form-subtitle {
            color: var(--gray-600);
            font-size: 1rem;
        }

        .compliance-notice {
            background: var(--gray-100);
            color: var(--gray-700);
            padding: 1rem;
            border-radius: 8px;
            text-align: center;
            margin-bottom: 2rem;
            font-size: 0.875rem;
            border: 1px solid var(--gray-200);
        }

        .form-group {
            margin-bottom: 0;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--gray-700);
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .form-input {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid var(--gray-300);
            border-radius: 6px;
            font-size: 1rem;
            transition: all 0.3s;
            background: var(--gray-50);
            color: #333333 !important;
        }

        .form-input::placeholder {
            color: #999999 !important;
            opacity: 1;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
            background: white;
            color: #333333 !important;
        }

        .form-input.invalid {
            border-color: var(--danger);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .form-row1 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 1.25rem;
        }

        .submit-btn {
            width: 100%;
            padding: 1rem 2rem;
            background: var(--gradient-primary) !important;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-top: 1rem;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .error-message {
            color: var(--danger);
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        .social-divider {
            text-align: center;
            margin: 2rem 0;
            position: relative;
            color: var(--gray-600);
            font-size: 0.875rem;
        }

        .social-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: var(--gray-300);
            z-index: 1;
        }

        .social-divider span {
            background: white;
            padding: 0 1rem;
            position: relative;
            z-index: 2;
        }

        .social-buttons-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }

        /* Greyed out social login buttons */
        .social-icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            background: #f8f9fa;
            cursor: not-allowed;
            transition: all 0.3s;
            opacity: 0.4;
            filter: grayscale(100%);
            position: relative;
        }

        .social-icon-btn:hover {
            border-color: #e9ecef;
            transform: none;
            box-shadow: none;
            opacity: 0.4;
            filter: grayscale(100%);
        }

        .social-icon-btn svg {
            opacity: 0.5;
            filter: grayscale(100%);
        }

        /* Tooltip showing "Coming Soon" */
        .social-icon-btn::before {
            content: 'Coming Soon';
            position: absolute;
            bottom: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--dark);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            white-space: nowrap;
            z-index: 10;
        }

        .social-icon-btn:hover::before {
            opacity: 1;
        }

        /* Arrow for tooltip */
        .social-icon-btn::after {
            content: '';
            position: absolute;
            bottom: -25px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-bottom: 4px solid var(--dark);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }

        .social-icon-btn:hover::after {
            opacity: 1;
        }

        /*.social-icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem;
            border: 2px solid var(--gray-300);
            border-radius: 8px;
            background: white;
            cursor: pointer;
            transition: all 0.3s;
        }

        .social-icon-btn:hover {
            border-color: var(--primary);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }*/

        .security-badges {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-200);
        }

        .security-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-600);
            font-size: 0.75rem;
        }

        .login-link {
            text-align: center;
            margin-top: 1rem;
            color: var(--gray-600);
            font-size: 0.875rem;
        }

        .login-link a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        /* Checkbox and Submit Button Layout */
        .checkbox-submit-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            gap: 1rem;
        }

        .checkbox-wrapper {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex: 1;
        }

        /* Custom Checkbox Styling */
        .custom-checkbox {
            appearance: none;
            width: 20px;
            height: 20px;
            border: 2px solid var(--gray-300);
            border-radius: 4px;
            background: white;
            cursor: pointer;
            position: relative;
            transition: all 0.3s;
        }

        .custom-checkbox:checked {
            background: var(--primary);
            border-color: var(--primary);
        }

        .custom-checkbox:checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 14px;
            font-weight: bold;
        }

        .custom-checkbox:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
        }

        .checkbox-label {
            color: var(--gray-700);
            font-size: 0.875rem;
            cursor: pointer;
            line-height: 1.4;
            margin: 0;
        }

        .checkbox-label:hover {
            color: var(--primary);
        }

        /* Email Verification Page Styles */
        .email-verification-container {
            max-width: 100%;
            margin: 0 auto;
        }

        .what-awaits-container {
            background: linear-gradient(135deg, rgba(26, 35, 126, 0.05) 0%, rgba(57, 73, 171, 0.05) 100%) !important;
            padding: 20px !important;
            border-radius: 12px !important;
            margin: 20px 0 !important;
            border: 1px solid var(--gray-200) !important;
        }

        .awaits-title {
            font-size: 18px !important;
            font-weight: 600 !important;
            color: var(--primary) !important;
            margin-bottom: 15px !important;
            text-align: center !important;
        }

        .awaits-grid {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
        }

        .awaits-item {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            padding: 12px !important;
            background: white !important;
            border-radius: 8px !important;
            box-shadow: var(--shadow-sm) !important;
            transition: transform 0.2s ease, box-shadow 0.2s ease !important;
        }

        .awaits-item:hover {
            transform: translateY(-2px) !important;
            box-shadow: var(--shadow-md) !important;
        }

        .awaits-item.priority {
            font-weight: 600 !important;
        }

        .awaits-icon {
            font-size: 20px !important;
            flex-shrink: 0 !important;
        }

        .awaits-text {
            color: var(--gray-800) !important;
            line-height: 1.4 !important;
        }

        .verification-status {
            text-align: center;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
            border-left: 4px solid #ffc107;
            border-radius: 8px;
        }

        .status-title {
            color: #856404 !important;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .status-description {
            color: #856404 !important;
            font-size: 1rem;
            margin: 0;
            line-height: 1.5;
        }

        .email-sent-info {
            text-align: center;
            margin-bottom: 2rem;
        }

        .email-sent-text {
            color: var(--gray-600) !important;
            font-size: 1rem;
            margin-bottom: 0.5rem;
        }

        .email-address {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary) !important;
            background: var(--gray-100) !important;
            padding: 0.75rem 1rem;
            border-radius: 6px;
            display: inline-block;
            margin: 0;
        }

        .activation-steps {
            margin-bottom: 2rem;
        }

        .activation-steps h3 {
            color: var(--gray-800);
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center;
        }

        .steps-list {
            list-style: none;
            padding: 0;
            counter-reset: step-counter;
        }

        .steps-list li {
            counter-increment: step-counter;
            margin-bottom: 1rem;
            padding: 1rem;
            background: var(--gray-50);
            border-radius: 8px;
            position: relative;
            padding-left: 3rem;
        }

        .steps-list li::before {
            content: counter(step-counter);
            position: absolute;
            left: 1rem;
            top: 1rem;
            background: var(--primary);
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .highlight-blue {
            color: var(--primary);
            font-weight: 600;
        }

        .success-note {
            text-align: center;
            padding: 1rem;
            background: linear-gradient(135deg, #d4edda 0%, #a3d977 100%) !important;
            border-radius: 8px;
            margin-top: 1rem;
            color: #155724 !important;
            font-weight: 500;
        }

        .checkmark {
            color: #28a745;
            font-weight: bold;
            margin-right: 0.5rem;
        }

        .troubleshooting {
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 2rem;
        }

        .troubleshooting-title {
            color: var(--gray-800);
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            text-align: center;
        }

        .troubleshooting-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .troubleshooting-list li {
            padding: 0.5rem 0;
            color: var(--gray-700);
            font-size: 0.95rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .troubleshooting-list li::before {
            content: "•";
            color: var(--primary);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .resend-button,
        .resend-link {
            text-align: center;
            margin-top: 1rem;
        }

        .resend-button {
            background: var(--gradient-primary) !important;
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 6px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .resend-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .resend-link {
            color: var(--gray-700) !important;
        }

        .resend-link a {
            color: var(--primary) !important;
            text-decoration: none;
            font-weight: 600;
        }

        .resend-link a:hover {
            text-decoration: underline;
        }
         /* Compliance Section */
        .compliance {
            background: var(--gray-100);
            padding: 3rem 2rem;
            border-top: 1px solid var(--gray-200);
            border-bottom: 1px solid var(--gray-200);
        }

        .compliance-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            text-align: center;
        }

        .compliance-item {
            animation: fadeInUp 0.8s ease-out both;
        }

        .compliance-item:nth-child(1) { animation-delay: 0.1s; }
        .compliance-item:nth-child(2) { animation-delay: 0.2s; }
        .compliance-item:nth-child(3) { animation-delay: 0.3s; }
        .compliance-item:nth-child(4) { animation-delay: 0.4s; }

        .compliance-icon {
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 1.5rem;
        }

        .compliance-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .compliance-text {
            color: var(--gray-600);
            font-size: 0.875rem;
            line-height: 1.6;
        }

        /* Features Section */
        .features {
            background: white;
            padding: 5rem 2rem;
        }

        .features-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 4rem;
            animation: fadeInUp 0.8s ease-out;
        }

        .section-title {
            font-size: 2.75rem;
            font-weight: 300;
            margin-bottom: 1rem;
            color: var(--dark);
            letter-spacing: -0.02em;
        }

        .section-title strong {
            font-weight: 700;
        }

        .section-subtitle {
            font-size: 1.25rem;
            color: var(--gray-600);
            max-width: 700px;
            margin: 0 auto;
            font-weight: 300;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

        .feature-card {
            background: var(--gray-50);
            padding: 2.5rem;
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            transition: all 0.3s;
            animation: fadeInUp 0.8s ease-out both;
        }

        .feature-card:nth-child(1) { animation-delay: 0.1s; }
        .feature-card:nth-child(2) { animation-delay: 0.2s; }
        .feature-card:nth-child(3) { animation-delay: 0.3s; }
        .feature-card:nth-child(4) { animation-delay: 0.4s; }
        .feature-card:nth-child(5) { animation-delay: 0.5s; }
        .feature-card:nth-child(6) { animation-delay: 0.6s; }

        .feature-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }

        .feature-icon {
            width: 56px;
            height: 56px;
            background: var(--gradient-primary);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            font-size: 1.75rem;
        }

        .feature-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--dark);
        }

        .feature-description {
            color: var(--gray-600);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .feature-specs {
            list-style: none;
            font-size: 0.875rem;
        }

        .feature-spec {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-700);
            padding: 0.25rem 0;
        }

        .feature-spec::before {
            content: '✓';
            color: var(--success);
            font-weight: bold;
        }

        /* Infrastructure Section */
        .infrastructure {
            background: #0d0d0d !important;
            color: white;
            padding: 5rem 2rem;
        }

        .infrastructure-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        .infrastructure-content {
            animation: fadeInUp 0.8s ease-out 0.2s both;
        }

        .infrastructure-title {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 2rem;
            letter-spacing: -0.02em;
        }

        .infrastructure-title strong {
            font-weight: 700;
            color: var(--accent);
        }

        .infrastructure-list {
            list-style: none;
        }

        .infrastructure-item {
            display: flex;
            align-items: start;
            gap: 1rem;
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .infrastructure-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #ffd600 0%, #ffab00 100%) !important;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark);
            font-weight: bold;
            flex-shrink: 0;
        }

        .infrastructure-text {
            flex: 1;
        }

        .infrastructure-label {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: white;
        }

        .infrastructure-desc {
            font-size: 0.875rem;
            color: var(--gray-400);
            line-height: 1.6;
        }

        .performance-metrics {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        .metrics-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .metric {
            text-align: center;
            padding: 1.5rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
        }

        .metric-value {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--accent);
            margin-bottom: 0.5rem;
        }

        .metric-label {
            font-size: 0.875rem;
            color: var(--gray-400);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* Clients Section */
        .clients {
            background: var(--gray-100);
            padding: 5rem 2rem;
        }

        .clients-container {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            margin-top: 4rem;
        }

        .client-card {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            animation: fadeInUp 0.8s ease-out both;
        }

        .client-card:nth-child(1) { animation-delay: 0.1s; }
        .client-card:nth-child(2) { animation-delay: 0.2s; }
        .client-card:nth-child(3) { animation-delay: 0.3s; }

        .client-logo {
            height: 60px;
            margin-bottom: 1.5rem;
            opacity: 0.7;
            filter: grayscale(100%);
            transition: all 0.3s;
        }

        .client-card:hover .client-logo {
            opacity: 1;
            filter: grayscale(0%);
        }

        .client-quote {
            font-style: italic;
            color: var(--gray-700);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .client-author {
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 0.25rem;
        }

        .client-position {
            font-size: 0.875rem;
            color: var(--gray-600);
        }

        /* CTA Section */
        .cta {
            background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%) !important;
            color: white;
            padding: 5rem 2rem;
            text-align: center;
        }

        .cta-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .cta-title {
            font-size: 2.75rem;
            font-weight: 300;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .cta-subtitle {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            font-weight: 300;
        }

        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .cta-button {
            display: inline-block;
            padding: 1rem 3rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .cta-button-primary {
            background: white;
            color: var(--primary);
        }

        .cta-button-secondary {
            background: transparent;
            color: white;
            border: 2px solid white;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-xl);
        }

        /* FIXED Privacy Policy Tooltip - Single Link Version */
        .privacy-policy-link {
            position: relative;
            display: inline-block;
            text-decoration: none;
            color: var(--gray-500);
            font-size: 0.875rem;
            border-bottom: 1px dotted var(--gray-400);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .privacy-policy-link:hover {
            color: var(--primary);
            border-bottom-color: var(--primary);
        }

        .privacy-tooltip {
            visibility: hidden;
            opacity: 0;
            position: fixed; /* Changed from absolute to fixed */
            bottom: 50px;    /* Position at bottom of viewport */
            left: 87%;
            transform: translateX(-50%);
            width: 320px;
            max-width: calc(100vw - 40px); /* Responsive width */
            background: white;
            color: var(--gray-800);
            text-align: center;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            border: 2px solid var(--primary);
            z-index: 10000; /* Much higher z-index */
            transition: all 0.3s ease;
            font-size: 0.9rem;
            line-height: 1.6;
        }

        .privacy-tooltip::before {
            content: '';
            position: absolute;
            bottom: 100%;  /* Arrow points down since tooltip is at bottom */
            left: 50%;
            margin-left: -8px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-top: 8px solid var(--primary);
        }

        /* Show tooltip */
        .privacy-policy-link.show-tooltip .privacy-tooltip,
        .privacy-policy-link:hover .privacy-tooltip {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(-5px);
        }

        /* Footer */
        .footer {
            background: #0d0d0d !important;
            color: white;
            padding: 4rem 2rem 2rem;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 4rem;
            margin-bottom: 3rem;
        }

        .footer-brand {
            display: flex;
            align-items: start;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .footer-logo {
            width: 48px;
            height: 48px;
            background: var(--gradient-primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 900;
            font-size: 1.25rem;
        }

        .footer-title {
            font-size: 1.5rem;
            font-weight: 700;
        }

        .footer-description {
            color: var(--gray-400);
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .footer-certifications {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .certification-badge {
            background: rgba(255, 255, 255, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            font-size: 0.75rem;
            color: var(--gray-400);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ===== Footer headings & links ===== */
.footer-heading{
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  position: relative;
}
.footer-heading::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* list wrapper */
.footer-links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* if you keep plain <li> text */
.footer-links li{
  color: var(--gray-400);
  font-size: .875rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1rem;
  transition: color .2s, transform .2s;
}
.footer-links li::before{
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
}



/* mobile tweaks */
@media (max-width:768px){
  .footer-heading{ margin-bottom: .9rem; }
  .footer-links{ gap: .45rem; }
}

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 2rem;
        }

        .footer-copyright {
            color: var(--gray-500);
            font-size: 0.875rem;
        }

        .footer-legal {
            display: flex;
            gap: 2rem;
        }

        .footer-legal a {
            color: var(--gray-500);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s;
        }

        .footer-legal a:hover {
            color: white;
        }

        /* Disclaimer Section */
        .disclaimer-section {
            background: var(--gray-100);
            padding: 3rem 2rem;
            border-top: 1px solid var(--gray-200);
        }

        .disclaimer-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .disclaimer-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .disclaimer-content {
            color: var(--gray-600);
            font-size: 0.875rem;
            line-height: 1.8;
        }

        .disclaimer-content p {
            margin-bottom: 1rem;
        }

        .disclaimer-content p:last-child {
            margin-bottom: 0;
        }

        /* Account Registration Banner */
.account-registration-banner {
    border-radius: 8px;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    animation: slideInFromTop 0.8s ease-out;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.account-registration-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #ffd600 0%, #ffab00 100%);
    border-radius: 4px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.banner-icon {
    width: 24px;
    height: 24px;
    background: #ffd600;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.banner-text {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.banner-subtitle {
    color: #a0aec0;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
}

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


        /* Enhanced Error Message Styles */
.error-message {
    color: #d50000;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.error-message::before {
    content: '⚠️';
    font-size: 0.9rem;
}

.success-message {
    color: #00c853;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.success-message::before {
    content: '✅';
    font-size: 0.9rem;
}

.warning-message {
    color: #ff9800;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.warning-message::before {
    content: '⚡';
    font-size: 0.9rem;
}

.info-message {
    color: #1976d2;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease-out;
}

.info-message::before {
    content: 'ℹ️';
    font-size: 0.9rem;
}

/* Enhanced invalid input styling */
.form-input.invalid {
    border-color: #d50000;
    background-color: #ffebee;
    box-shadow: 0 0 0 3px rgba(213, 0, 0, 0.1);
}

.form-input.valid {
    border-color: #00c853;
    background-color: #e8f5e8;
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

/* Turnstile styling */
.cf-turnstile {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

/* Loading state for forms */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading .submit-btn {
    background: #ccc;
    cursor: not-allowed;
}

.form-loading .submit-btn::after {
    content: ' ⏳';
}

    .logo-300x60 {
        width: 250px;
        height: 75px;
        background: #0d0d0d !important;
        border-radius: 6px;
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    }

    .logo-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* If the image already has rounded corners you can omit this; otherwise: */
        border-radius: 6px;
        background-color: transparent;
    }

    /* Enhanced subscriber notice */
    .subscriber-notice {
        background: #24308d;
        color: white;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        text-align: center;
        margin-bottom: 2rem;
        font-weight: 600;
        font-size: 0.95rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
    }

    .subscriber-notice .highlight {
        color: #ffd600;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Login tab styling - same as regular tab */
    .tab-button.login-tab {
        /* No special styling - inherits from .tab-button */
    }

.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Keycloak Social Provider Integration Styling */
#kc-social-providers {
    margin-top: 0;
    margin-bottom: 0;
}

        /* Responsive Design */
        @media (max-width: 1024px) {
            .nav-menu {
                gap: 1.5rem;
            }
            
            .nav-link {
                font-size: 13px;
            }

            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

            .hero-title {
                font-size: 3rem;
            }

            .credentials {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .infrastructure-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .clients-grid {
                grid-template-columns: 1fr;
            }

            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .header-container {
                padding: 0 1rem;
            }

            .nav-menu {
                display: none;
            }

            .mobile-toggle {
                display: block;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.125rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .social-buttons-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .nav-links {
                display: none;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-stats {
                display: none !important;
            }

            .hero-subtitle {
                font-size: 1.125rem;
            }

            .compliance-container {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .features-grid {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 2rem;
            }

            .metrics-grid {
                grid-template-columns: 1fr;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            /* Mobile specific improvements */
            .subscriber-notice {
                position: sticky;
                top: 10px;
                z-index: 100;
                margin-bottom: 1.5rem;
                animation: pulseGlow 2s ease-in-out infinite alternate;
                font-size: 0.85rem;
            }
            
            .tab-button.login-tab::before {
                font-size: 1rem;
            }

            /* Mobile responsive banner */
            .account-registration-banner {
                padding: 0.875rem 1.25rem;
                margin-bottom: 2rem;
                margin-left: 1rem;
                margin-right: 1rem;
            }

            .banner-text {
                font-size: 0.875rem;
            }

            .banner-subtitle {
                font-size: 0.8rem;
            }

            .banner-content {
                gap: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 3rem 1rem;
            }

            .form-container {
                padding: 2rem 1.5rem;
            }

            .hero-title {
                font-size: 2rem;
            }

            .social-buttons-grid {
                display: flex;
                grid-template-columns: 4fr;
            }
            .cta-buttons {
                flex-direction: column;
                width: 100%;
            }

            .cta-button {
                width: 100%;
                text-align: center;
            }

            .account-registration-banner {
                padding: 0.75rem 1rem;
            }
            
            .banner-content {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .banner-icon {
                width: 20px;
                height: 20px;
                font-size: 12px;
            }
            
            .banner-text {
                font-size: 0.8rem;
            }
        }

        @keyframes pulseGlow {
        from {
            box-shadow: 0 4px 12px rgba(26, 35, 126, 0.2);
        }
        to {
            box-shadow: 0 4px 20px rgba(26, 35, 126, 0.4);
        }
    }

    /* Context Messages - High specificity to override Keycloak defaults */
    #kc-register-form .context-message,
    .context-message {
        margin: 1rem 0 !important;
        padding: 1rem !important;
        border-radius: 8px !important;
        border-left: 4px solid !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: var(--shadow-sm) !important;
        animation: fadeInUp 0.5s ease-out !important;
        font-family: inherit !important;
        font-size: inherit !important;
    }

    #kc-register-form .context-message p,
    .context-message p {
        margin: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        color: inherit !important;
    }

    #kc-register-form .context-message strong,
    .context-message strong {
        font-weight: 600 !important;
        color: inherit !important;
    }

    #kc-register-form .context-message.access-required,
    .context-message.access-required {
        border-left-color: #ff6f00 !important;
        background: #fff8f0 !important;
        color: #bf4000 !important;
    }

    #kc-register-form .context-message.subscription-required,
    .context-message.subscription-required {
        border-left-color: #ffd600 !important;
        background: #fffdf0 !important;
        color: #996600 !important;
    }

    #kc-register-form .context-message.session-expired,
    .context-message.session-expired {
        border-left-color: #d50000 !important;
        background: #fff5f5 !important;
        color: #a00000 !important;
    }

    #kc-register-form .context-message.welcome,
    .context-message.welcome {
        border-left-color: #00c853 !important;
        background: #f0fff4 !important;
        color: #006b2d !important;
    }

/* ─── Google / Social sign-in button — prominent top placement ─── */

/* Override the generic social section wrapper so it has no extra padding */
#kc-social-providers.pf-v5-c-login__main-footer {
    padding: 0 !important;
    margin: 0 0 0 0 !important;
    border: none !important;
    background: transparent !important;
}

/* Hide the "Or sign in with" band label — we use our own divider below */
.pf-v5-c-login__main-footer-band {
    display: none !important;
}

/* The <ul> that wraps each provider button */
#kc-social-providers ul.pf-v5-c-login__main-body {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

#kc-social-providers li {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* The anchor tag that Keycloak generates for each provider */
#kc-social-providers a,
#social-google {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border: 1px solid #dadce0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #3c4043 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    box-shadow: 0 1px 4px rgba(60,64,67,0.15) !important;
    letter-spacing: 0.25px !important;
    margin-bottom: 0 !important;
}

#kc-social-providers a:hover,
#social-google:hover {
    background: #f8f9fa !important;
    border-color: #c6c8ca !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

#kc-social-providers a:active,
#social-google:active {
    background: #eff3ff !important;
}

/* Google SVG logo sizing */
#kc-social-providers a svg.google,
#social-google svg.google {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

/* Provider name text */
#kc-social-providers a .pf-v5-u-m-auto,
#social-google .pf-v5-u-m-auto {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #3c4043 !important;
}

/* ─── "or continue with email" divider ─── */
.social-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: #757575;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

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

.social-divider span {
    white-space: nowrap;
}