/**
 * Cybrexus Technology - Unified Public Brand Design System
 * Location: assets/css/public-brand.css
 * Standardized across all public portals: Login, Register, Verify, Policies, Payments, Offer Acceptance
 */

:root {
    /* Color Palette Tokens */
    --c-navy-dark: #0A1931;
    --c-navy-mid: #0D2C54;
    --c-blue-primary: #0056B3;
    --c-blue-bright: #0066FF;
    --c-blue-hover: #004494;
    --c-yellow-accent: #FFCC00;
    --c-yellow-hover: #E6B800;

    /* Semantic Colors */
    --brand-primary: #0A2540;
    --brand-accent: #0066FF;
    --brand-teal: #00D4B2;
    --brand-dark: #06152B;
    --primary: #0056B3;
    --primary-dark: #0A1931;
    --primary-light: #e0f2fe;
    --success: #059669;
    --success-light: #ecfdf5;
    --danger: #dc2626;
    --danger-light: #fef2f2;
    --warning: #f59e0b;
    --warning-light: #fffbeb;

    /* Neutrals & Slate Scale */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    /* Text & Surfaces */
    --text-heading: #0A1931;
    --text-body: #334155;
    --text-muted: #64748B;
    --bg-surface: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --border-light: #E2E8F0;
    --border-card: #e2e8f0;
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 86, 179, 0.15);

    /* Typography Tokens */
    --font-heading: 'Montserrat', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-head: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Mode Token Overrides */
[data-bs-theme="dark"] {
    --text-heading: #F8FAFC;
    --text-body: #CBD5E1;
    --text-muted: #94A3B8;
    --bg-surface: #0F172A;
    --bg-subtle: #090E17;
    --border-light: #334155;
    --border-card: #1E293B;
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 102, 255, 0.15);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-subtle);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Background Themes */
body.bg-public-dark {
    background: #081120;
    background-image:
        radial-gradient(circle at 20% 15%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 85%, rgba(13, 44, 84, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, #0A1931 0%, #081120 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    color: #1E293B;
}

@media (max-width: 768px) {
    body.bg-public-dark {
        display: block !important;
        padding: 14px 8px !important;
        min-height: 100vh;
    }
}

body.bg-public-light {
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.07) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(241, 245, 249, 0.5) 0px, transparent 100%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==========================================================================
   Typography Standards
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Animations */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-entrance {
    animation: cardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   Auth Container Archetype (Login, Forgot Password, Contact Admin)
   ========================================================================== */
.auth-container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.auth-container.auth-container-wide {
    max-width: 1160px;
}

.auth-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
    animation: cardEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

[data-bs-theme="dark"] .auth-card {
    background: #0F172A;
    border: 1px solid #1E293B;
}

/* Auth Left Hero Sidebar */
.auth-sidebar {
    background: linear-gradient(145deg, #0A1931 0%, #0D2C54 50%, #003366 100%);
    color: #FFFFFF;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 65%);
    pointer-events: none;
}

.brand-header-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.brand-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    padding: 6px;
    flex-shrink: 0;
}

.brand-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    letter-spacing: 0.5px;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: #93C5FD;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero-desc-text {
    font-size: 0.9rem;
    color: #CBD5E1;
    line-height: 1.5;
    margin-bottom: 24px;
}

.feature-badges-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.badge-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #E2E8F0;
    width: fit-content;
    transition: all 0.2s ease;
}

.badge-pill-item.dpiit,
.badge-pill-item.badge-pill-dpiit {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.45);
    color: #FDE68A;
}

.badge-pill-item.dpiit i,
.badge-pill-item.badge-pill-dpiit i {
    color: #EAB308;
}

.badge-pill-item.dpiit strong,
.badge-pill-item.badge-pill-dpiit strong {
    color: #FEF08A;
    font-weight: 700;
}

.badge-pill-item.ssl-badge,
.badge-pill-item.badge-pill-ssl {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.45);
    color: #E0F2FE;
}

.badge-pill-item.ssl-badge i,
.badge-pill-item.badge-pill-ssl i {
    color: #06B6D4;
}

.badge-pill-item.mou-badge,
.badge-pill-item.badge-pill-mou {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.45);
    color: #FEF3C7;
}

.badge-pill-item.mou-badge i,
.badge-pill-item.badge-pill-mou i {
    color: #F59E0B;
}

.step-indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.35);
    border-radius: 50px;
    color: #93C5FD;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-bottom-action {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
}

.back-web-link {
    color: #93C5FD;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-web-link:hover {
    color: #FFFFFF;
    transform: translateX(-3px);
}

/* Right Form Container */
.auth-form-panel {
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
}

[data-bs-theme="dark"] .auth-form-panel {
    background: #0F172A;
    color: #F8FAFC;
}

.form-header-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: #0A1931;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

[data-bs-theme="dark"] .form-header-title {
    color: #F8FAFC;
}

.form-header-sub {
    font-size: 0.86rem;
    color: #64748B;
    margin-bottom: 24px;
}

/* Role Selector Tabs */
.role-tabs-wrap {
    background: #F1F5F9;
    border-radius: 12px;
    padding: 4px;
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
}

[data-bs-theme="dark"] .role-tabs-wrap {
    background: #1E293B;
}

.role-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.role-tab-btn.active {
    background: #FFFFFF;
    color: var(--c-navy-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .role-tab-btn.active {
    background: #334155;
    color: #FFFFFF;
}

/* Shared Interactive Form Controls */
.custom-input-group {
    position: relative;
    margin-bottom: 18px;
}

.custom-input-group .input-icon-left {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 5;
}

.custom-input-group .form-control {
    padding-left: 46px;
    padding-right: 46px;
    height: 52px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1E293B;
    background: #F8FAFC;
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .custom-input-group .form-control {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}

.custom-input-group .form-control:focus {
    border-color: var(--c-blue-bright);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

[data-bs-theme="dark"] .custom-input-group .form-control:focus {
    background: #0F172A;
}

.custom-input-group .password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 5;
}

.custom-input-group .password-toggle-btn:hover {
    color: var(--c-navy-dark);
}

/* Primary Button */
.btn-auth-primary,
.btn-login-submit {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-blue-bright) 0%, var(--c-blue-primary) 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px -4px rgba(0, 102, 255, 0.45);
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.btn-auth-primary:hover,
.btn-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -4px rgba(0, 102, 255, 0.55);
    background: linear-gradient(135deg, #1A75FF 0%, #004DB3 100%);
    color: #FFFFFF;
}

.btn-auth-primary:active,
.btn-login-submit:active {
    transform: translateY(0);
}

/* Form Input Field Styles */
.form-label-custom {
    font-size: 0.78rem;
    font-weight: 800;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

[data-bs-theme="dark"] .form-label-custom {
    color: #94A3B8;
}

.input-group-custom {
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .input-group-custom {
    background: #1E293B;
    border-color: #334155;
}

.input-group-custom:focus-within {
    border-color: var(--c-blue-bright);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

[data-bs-theme="dark"] .input-group-custom:focus-within {
    background: #0F172A;
}

.input-group-custom .input-icon-left {
    padding: 12px 14px;
    color: #64748B;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-input-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 14px 12px 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #0F172A;
    font-weight: 600;
    outline: none;
}

[data-bs-theme="dark"] .form-input-field {
    color: #F8FAFC;
}

.form-input-field::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.btn-toggle-eye {
    border: none;
    background: transparent;
    padding: 12px 14px;
    color: #64748B;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.btn-toggle-eye:hover {
    color: #0F172A;
}

[data-bs-theme="dark"] .btn-toggle-eye:hover {
    color: #F8FAFC;
}

/* Stepper Component */
.stepper-progress-box,
.stepper-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.stepper-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stepper-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    transition: all 0.3s ease;
}

.stepper-item.active .stepper-circle {
    background: var(--c-blue-bright);
    border-color: #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(0, 102, 255, 0.6);
}

.stepper-item.completed .stepper-circle {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
}

.stepper-content {
    display: flex;
    flex-direction: column;
}

.stepper-label {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: #CBD5E1;
    line-height: 1.2;
}

.stepper-item.active .stepper-label {
    color: #FFFFFF;
}

.stepper-item.completed .stepper-label {
    color: #A7F3D0;
}

.stepper-subtext {
    font-size: 0.72rem;
    color: #64748B;
}

.stepper-item.active .stepper-subtext {
    color: #93C5FD;
}

/* Monospace OTP Input */
.otp-input-box {
    height: 60px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 14px;
    text-align: center;
    padding-left: 18px;
    color: var(--c-navy-dark);
    background: #F8FAFC;
    border: 2px solid #CBD5E1;
    border-radius: 14px;
    outline: none;
    transition: all 0.25s ease;
}

[data-bs-theme="dark"] .otp-input-box {
    background: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}

.otp-input-box:focus {
    background: #FFFFFF;
    border-color: #0066FF;
    box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.15);
}

[data-bs-theme="dark"] .otp-input-box:focus {
    background: #0F172A;
}

.otp-input-box::placeholder {
    letter-spacing: 6px;
    font-size: 1.1rem;
    color: #94A3B8;
    font-weight: 500;
}

/* Recipient Email Chip Badge */
.recipient-chip-box {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
}

[data-bs-theme="dark"] .recipient-chip-box {
    background: #1E293B;
    border-color: #334155;
}

.recipient-chip-email {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--c-navy-dark);
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-bs-theme="dark"] .recipient-chip-email {
    color: #F8FAFC;
}

.recipient-chip-email i {
    color: #0066FF;
    font-size: 1rem;
}

.recipient-change-btn {
    color: #0056B3;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

[data-bs-theme="dark"] .recipient-change-btn {
    background: #0F172A;
    border-color: #334155;
    color: #93C5FD;
}

.recipient-change-btn:hover {
    background: #0056B3;
    border-color: #0056B3;
    color: #FFFFFF;
}

/* Password Criteria Card */
.password-rules-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

[data-bs-theme="dark"] .password-rules-card {
    background: #1E293B;
    border-color: #334155;
}

.rules-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-bs-theme="dark"] .rules-title {
    color: #CBD5E1;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rules-item {
    font-size: 0.78rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rules-item i {
    font-size: 0.85rem;
}

.rules-item.met {
    color: #059669;
    font-weight: 600;
}

.rules-item.met i {
    color: #059669;
}

.btn-gradient-action {
    width: 100%;
    background: linear-gradient(135deg, #0056B3 0%, #0066FF 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px -4px rgba(0, 102, 255, 0.4);
    transition: all 0.25s ease;
    margin-top: 10px;
}

.btn-gradient-action:hover {
    background: linear-gradient(135deg, #004494 0%, #0052CC 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(0, 102, 255, 0.5);
    color: #FFFFFF;
}

.btn-gradient-action:active {
    transform: translateY(0);
}

    /* Channel Contact Cards */
    .view-switch-tabs {
        background: #F1F5F9;
        border-radius: 12px;
        padding: 4px;
        display: flex;
        gap: 4px;
        margin-bottom: 20px;
    }

    [data-bs-theme="dark"] .view-switch-tabs {
        background: #1E293B;
    }

    .view-switch-btn {
        flex: 1;
        border: none;
        background: transparent;
        padding: 9px 12px;
        border-radius: 9px;
        font-size: 0.82rem;
        font-weight: 700;
        color: #64748B;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

    .view-switch-btn.active {
        background: #FFFFFF;
        color: #0056B3;
        box-shadow: 0 2px 8px rgba(0, 86, 179, 0.15);
    }

    [data-bs-theme="dark"] .view-switch-btn.active {
        background: #334155;
        color: #FFFFFF;
    }

    .contact-channel-card {
        background: #F8FAFC;
        border: 1.5px solid #E2E8F0;
        border-radius: 14px;
        padding: 15px 16px;
        transition: all 0.22s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: 100%;
        min-height: 80px;
    }

    [data-bs-theme="dark"] .contact-channel-card {
        background: #1E293B;
        border-color: #334155;
    }

    .contact-channel-card:hover {
        border-color: #0056B3;
        background: #FFFFFF;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px rgba(0, 86, 179, 0.12);
    }

    [data-bs-theme="dark"] .contact-channel-card:hover {
        background: #0F172A;
    }

    .channel-info-link {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        flex: 1;
        text-decoration: none;
        color: inherit;
        overflow: hidden;
    }

    .channel-text-content {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }

    .channel-icon-box {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .contact-channel-card:hover .channel-icon-box {
        transform: scale(1.06);
    }

    .bg-icon-phone {
        background: rgba(0, 86, 179, 0.12);
        color: #0056B3;
    }

    .bg-icon-email {
        background: rgba(16, 185, 129, 0.12);
        color: #059669;
    }

    .bg-icon-chat {
        background: rgba(6, 182, 212, 0.12);
        color: #0891B2;
    }

    .bg-icon-loc {
        background: rgba(245, 158, 11, 0.12);
        color: #D97706;
    }

    .bg-icon-gen {
        background: rgba(99, 102, 241, 0.12);
        color: #4F46E5;
    }

    .channel-type-label {
        font-size: 0.68rem;
        font-weight: 800;
        color: #64748B;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .channel-value-text {
        font-size: 0.88rem;
        font-weight: 700;
        color: #0F172A;
        margin: 0;
        line-height: 1.35;
        word-break: break-word;
    }

    [data-bs-theme="dark"] .channel-value-text {
        color: #F8FAFC;
    }

    .btn-copy-channel {
        background: #FFFFFF;
        border: 1.5px solid #CBD5E1;
        color: #64748B;
        border-radius: 9px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.90rem;
        transition: all 0.2s ease;
        flex-shrink: 0;
        cursor: pointer;
        margin-left: 4px;
    }

    [data-bs-theme="dark"] .btn-copy-channel {
        background: #0F172A;
        border-color: #334155;
    }

    .btn-copy-channel:hover {
        background: #EFF6FF;
        color: #0056B3;
        border-color: #93C5FD;
        transform: scale(1.06);
    }

    .btn-copy-channel.copied {
        background: #ECFDF5;
        color: #059669;
        border-color: #6EE7B7;
    }

    .liaison-card {
        background: #F8FAFC;
        border-left: 4px solid #0056B3;
    }

    [data-bs-theme="dark"] .liaison-card {
        background: #1E293B;
    }

    .liaison-desc-text {
        font-size: 0.78rem;
        font-weight: 600;
        color: #334155;
        line-height: 1.35;
        margin-bottom: 3px;
        text-transform: none;
        letter-spacing: 0;
    }

    [data-bs-theme="dark"] .liaison-desc-text {
        color: #CBD5E1;
    }

    .btn-submit-inquiry {
        width: 100%;
        background: linear-gradient(135deg, #0056B3 0%, #0066FF 100%);
        color: #FFFFFF;
        border: none;
        border-radius: 12px;
        padding: 13px 20px;
        font-family: var(--font-heading);
        font-size: 0.95rem;
        font-weight: 900;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-shadow: 0 8px 20px -4px rgba(0, 102, 255, 0.4);
        transition: all 0.25s ease;
        margin-top: 6px;
    }

    .btn-submit-inquiry:hover {
        background: linear-gradient(135deg, #004494 0%, #0052CC 100%);
        transform: translateY(-2px);
        box-shadow: 0 12px 25px -4px rgba(0, 102, 255, 0.5);
        color: #FFFFFF;
    }

    .btn-submit-inquiry:active {
        transform: translateY(0);
    }

    /* Clean Enterprise Auth Footer & Quick Service Chips */
    .auth-footer-block {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #E2E8F0;
        text-align: center;
    }

    [data-bs-theme="dark"] .auth-footer-block {
        border-top-color: #1E293B;
    }

    .auth-services-grid,
    .quick-links-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .auth-service-chip,
    .quick-portal-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 5px 13px;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 50px;
        font-size: 0.76rem;
        font-weight: 600;
        color: #334155 !important;
        text-decoration: none !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }

    .auth-service-chip:hover,
    .quick-portal-link:hover {
        background: #EFF6FF;
        border-color: #BFDBFE;
        color: #0056B3 !important;
        transform: translateY(-1.5px);
        box-shadow: 0 4px 10px rgba(0, 86, 179, 0.12);
        text-decoration: none !important;
    }

    .auth-service-chip.highlight,
    .quick-portal-link.highlight {
        background: #EFF6FF;
        border-color: #93C5FD;
        color: #0056B3 !important;
        font-weight: 700;
        box-shadow: 0 2px 6px rgba(0, 86, 179, 0.08);
    }

    .auth-service-chip.highlight i,
    .quick-portal-link.highlight i {
        color: #0066FF;
    }

    .auth-service-chip.highlight:hover,
    .quick-portal-link.highlight:hover {
        background: #DBEAFE;
        border-color: #60A5FA;
        color: #004494 !important;
    }

    [data-bs-theme="dark"] .auth-service-chip,
    [data-bs-theme="dark"] .quick-portal-link {
        background: #1E293B;
        border-color: #334155;
        color: #CBD5E1 !important;
    }

    [data-bs-theme="dark"] .auth-service-chip:hover,
    [data-bs-theme="dark"] .quick-portal-link:hover {
        background: #0F172A;
        border-color: #60A5FA;
        color: #93C5FD !important;
    }

    [data-bs-theme="dark"] .auth-service-chip.highlight,
    [data-bs-theme="dark"] .quick-portal-link.highlight {
        background: #1E293B;
        border-color: #2563EB;
        color: #93C5FD !important;
    }

    .auth-legal-strip {
        margin-top: 14px;
        text-align: center;
    }

    .legal-links-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 6px;
    }

    .auth-legal-link {
        color: #64748B !important;
        text-decoration: none !important;
        font-weight: 500;
        font-size: 0.74rem;
        transition: color 0.15s ease;
    }

    .auth-legal-link:hover {
        color: #0056B3 !important;
        text-decoration: underline !important;
    }

    [data-bs-theme="dark"] .auth-legal-link {
        color: #94A3B8 !important;
    }

    [data-bs-theme="dark"] .auth-legal-link:hover {
        color: #60A5FA !important;
    }

    .legal-dot {
        color: #CBD5E1;
        font-size: 0.75rem;
    }

    [data-bs-theme="dark"] .legal-dot {
        color: #475569;
    }

    .copyright-text {
        font-size: 0.72rem;
        color: #94A3B8;
        letter-spacing: 0.1px;
    }

    [data-bs-theme="dark"] .copyright-text {
        color: #64748B;
    }

    /* ==========================================================================
       Compact Enterprise Auth Footer (Reference Design)
       ========================================================================== */
    .auth-footer-clean {
        margin-top: 26px;
        padding-top: 18px;
        border-top: 1px solid #F1F5F9;
        text-align: center;
    }

    [data-bs-theme="dark"] .auth-footer-clean {
        border-top-color: #1E293B;
    }

    .auth-footer-copyright {
        font-size: 0.76rem;
        color: #64748B;
        margin-bottom: 10px;
        font-weight: 500;
    }

    [data-bs-theme="dark"] .auth-footer-copyright {
        color: #94A3B8;
    }

    .auth-footer-links-grid {
        display: flex;
        flex-direction: column;
        gap: 7px;
        align-items: center;
    }

    .auth-footer-row {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 16px;
    }

    .auth-pill-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 12px;
        background: #EFF6FF;
        border: 1px solid #BFDBFE;
        border-radius: 50px;
        font-size: 0.75rem;
        font-weight: 600;
        color: #0284C7 !important;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .auth-pill-link:hover {
        background: #DBEAFE;
        border-color: #93C5FD;
        color: #0369A1 !important;
        transform: translateY(-1px);
    }

    [data-bs-theme="dark"] .auth-pill-link {
        background: rgba(30, 58, 138, 0.35);
        border-color: #1E40AF;
        color: #93C5FD !important;
    }

    .auth-text-link {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #475569 !important;
        font-size: 0.75rem;
        font-weight: 500;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .auth-text-link i {
        font-size: 0.85rem;
        color: #64748B;
        transition: color 0.2s ease;
    }

    .auth-text-link:hover {
        color: #0066FF !important;
    }

    .auth-text-link:hover i {
        color: #0066FF !important;
    }

    [data-bs-theme="dark"] .auth-text-link {
        color: #94A3B8 !important;
    }

    [data-bs-theme="dark"] .auth-text-link i {
        color: #64748B;
    }

    [data-bs-theme="dark"] .auth-text-link:hover,
    [data-bs-theme="dark"] .auth-text-link:hover i {
        color: #60A5FA !important;
    }

    .auth-forgot-link {
        color: #0066FF;
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.15s ease;
    }

    .auth-forgot-link:hover {
        color: #004494;
        text-decoration: underline;
    }

    [data-bs-theme="dark"] .auth-forgot-link {
        color: #60A5FA;
    }

    [data-bs-theme="dark"] .auth-forgot-link:hover {
        color: #93C5FD;
    }

    /* ==========================================================================
   Verify Archetype (Certificate, LOR, Offer Verification)
   ========================================================================== */
    .verify-wrapper {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 24px 0;
    }

    .verify-card {
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid var(--slate-200);
        box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.03);
        overflow: hidden;
        position: relative;
        animation: cardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    [data-bs-theme="dark"] .verify-card {
        background: #0F172A;
        border-color: #334155;
        box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6);
    }

    .card-top-accent {
        height: 6px;
        background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 50%, #059669 100%);
        width: 100%;
    }

    .card-header-section {
        padding: 34px 32px 20px 32px;
        text-align: center;
    }

    .company-brand-logo {
        height: 52px;
        max-width: 220px;
        object-fit: contain;
        margin-bottom: 16px;
        transition: transform 0.2s ease;
    }

    .company-brand-logo:hover {
        transform: scale(1.02);
    }

    .page-main-title {
        font-family: var(--font-display);
        font-size: 1.65rem;
        font-weight: 700;
        color: var(--slate-900);
        margin-bottom: 6px;
        letter-spacing: -0.02em;
    }

    [data-bs-theme="dark"] .page-main-title {
        color: #F8FAFC;
    }

    .page-subtitle {
        font-size: 0.9rem;
        color: var(--slate-500);
        margin-bottom: 0;
    }

    /* ==========================================================================
   Checkout & Payment Archetype (pay.php, payment_success.php)
   ========================================================================== */
    .checkout-card {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        max-width: 580px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        animation: cardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    [data-bs-theme="dark"] .checkout-card {
        background: #0F172A;
        border-color: #334155;
    }

    .checkout-header {
        background: linear-gradient(135deg, #0A1931 0%, #0056B3 100%);
        color: white;
        padding: 32px;
        text-align: center;
    }

    .card-receipt {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }

    /* ==========================================================================
   Policy & Legal Archetype (Privacy Policy, Cookie Policy)
   ========================================================================== */
    .policy-navbar {
        background: #FFFFFF;
        border-bottom: 1px solid var(--border-light);
        padding: 16px 0;
        position: sticky;
        top: 0;
        z-index: 1020;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    }

    [data-bs-theme="dark"] .policy-navbar {
        background: #0F172A;
        border-color: #1E293B;
    }

    .navbar-brand-badge {
        font-size: 0.72rem;
        font-weight: 700;
        background: rgba(0, 102, 255, 0.08);
        color: var(--brand-accent);
        padding: 4px 10px;
        border-radius: 20px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .policy-hero {
        background: linear-gradient(135deg, #0A2540 0%, #0B132B 100%);
        color: #FFFFFF;
        padding: 56px 0 48px;
        position: relative;
        overflow: hidden;
    }

    .policy-hero::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -10%;
        width: 420px;
        height: 420px;
        background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .hero-badge-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #93C5FD;
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 0.78rem;
        font-weight: 600;
        margin-bottom: 16px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .hero-title {
        font-size: 2.35rem;
        font-weight: 800;
        color: #FFFFFF;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        color: #94A3B8;
        max-width: 800px;
    }

    .policy-container {
        max-width: 900px;
        margin: -36px auto 60px;
        padding: 0 16px;
        position: relative;
        z-index: 10;
    }

    .policy-card {
        background: #FFFFFF;
        border-radius: 20px;
        border: 1px solid var(--border-light);
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
        padding: 44px;
        margin-bottom: 24px;
    }

    [data-bs-theme="dark"] .policy-card {
        background: #0F172A;
        border-color: #1E293B;
    }

    /* Sticky Sidebar Navigation */
    .toc-sidebar {
        position: sticky;
        top: 96px;
        background: #FFFFFF;
        border: 1px solid var(--border-light);
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    }

    [data-bs-theme="dark"] .toc-sidebar {
        background: #0F172A;
        border-color: #1E293B;
    }

    .toc-title {
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--text-muted);
        margin-bottom: 14px;
    }

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

    .toc-link {
        display: block;
        padding: 8px 12px;
        font-size: 0.88rem;
        color: var(--text-body);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.2s ease;
        margin-bottom: 2px;
    }

    .toc-link:hover,
    .toc-link.active {
        background: #EFF6FF;
        color: var(--brand-accent);
        font-weight: 600;
        transform: translateX(3px);
    }

    [data-bs-theme="dark"] .toc-link {
        color: #94A3B8;
    }

    [data-bs-theme="dark"] .toc-link:hover,
    [data-bs-theme="dark"] .toc-link.active {
        background: rgba(0, 102, 255, 0.15);
        color: #60A5FA;
    }

    .policy-section {
        padding-bottom: 36px;
        margin-bottom: 36px;
        border-bottom: 1px solid var(--border-light);
        scroll-margin-top: 100px;
    }

    .policy-section:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: none;
    }

    [data-bs-theme="dark"] .policy-section {
        border-bottom-color: #1E293B;
    }

    .section-num {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: #EFF6FF;
        color: var(--brand-accent);
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 700;
        margin-right: 10px;
    }

    [data-bs-theme="dark"] .section-num {
        background: rgba(0, 102, 255, 0.2);
        color: #60A5FA;
    }

    .callout-box {
        background: #F8FAFC;
        border-left: 4px solid var(--brand-accent);
        border-radius: 0 12px 12px 0;
        padding: 18px 22px;
        margin: 20px 0;
    }

    .callout-box.callout-dpiit {
        background: #F0FDF4;
        border-left-color: #16A34A;
    }

    .callout-box.callout-warning {
        background: #FFFBEB;
        border-left-color: #F59E0B;
    }

    [data-bs-theme="dark"] .callout-box {
        background: #1E293B;
        border-left-color: var(--brand-accent);
    }

    [data-bs-theme="dark"] .callout-box.callout-dpiit {
        background: rgba(22, 163, 74, 0.15);
        border-left-color: #22C55E;
    }

    [data-bs-theme="dark"] .callout-box.callout-warning {
        background: rgba(245, 158, 11, 0.15);
        border-left-color: #FBBF24;
    }

    .table-custom {
        font-size: 0.88rem;
        margin-top: 16px;
        border: 1px solid var(--border-light);
        border-radius: 10px;
        overflow: hidden;
    }

    .table-custom th {
        background: #F8FAFC;
        color: var(--text-heading);
        font-weight: 700;
        padding: 12px 16px;
        border-bottom: 2px solid var(--border-light);
    }

    .table-custom td {
        padding: 12px 16px;
        vertical-align: middle;
    }

    [data-bs-theme="dark"] .table-custom {
        border-color: #334155;
    }

    [data-bs-theme="dark"] .table-custom th {
        background: #1E293B;
        color: #F8FAFC;
        border-bottom-color: #334155;
    }

    [data-bs-theme="dark"] .table-custom td {
        color: #CBD5E1;
        border-color: #334155;
    }

    .legal-section {
        margin-bottom: 40px;
        padding-bottom: 32px;
        border-bottom: 1px solid var(--border-light);
    }

    .legal-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    [data-bs-theme="dark"] .legal-section {
        border-bottom-color: #1E293B;
    }

    /* ==========================================================================
   Offer Acceptance Archetype (accept_offer.php)
   ========================================================================== */
    .offer-banner {
        background: linear-gradient(135deg, #0A1931 0%, #0D2C54 50%, #0056B3 100%);
        color: #ffffff;
        padding: 40px 20px;
        text-align: center;
        border-bottom: 3px solid #FFCC00;
    }

    .offer-card {
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid var(--border-card);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
        padding: 32px;
        margin-bottom: 24px;
    }

    [data-bs-theme="dark"] .offer-card {
        background: #0F172A;
        border-color: #1E293B;
    }

    .summary-badge-pill {
        background: #eef2ff;
        color: #4338ca;
        border: 1px solid #c7d2fe;
        font-weight: 700;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 6px 14px;
        border-radius: 30px;
    }

    [data-bs-theme="dark"] .summary-badge-pill {
        background: #1E293B;
        color: #93C5FD;
        border-color: #334155;
    }

    .detail-row {
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }

    [data-bs-theme="dark"] .detail-row {
        border-bottom-color: #1E293B;
    }

    .detail-row:last-child {
        border-bottom: none;
    }

    /* ==========================================================================
   Public Standard Footer
   ========================================================================== */
    .public-footer {
        padding: 24px 16px;
        text-align: center;
        font-size: 0.82rem;
        color: #64748B;
        margin-top: auto;
    }

    .public-footer a {
        color: #64748B;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .public-footer a:hover {
        color: var(--c-blue-bright);
    }

    .public-footer .footer-divider {
        margin: 0 8px;
        color: #CBD5E1;
    }

    /* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
    @media (max-width: 991px) {
        .auth-sidebar {
            padding: 36px 28px;
        }

        .auth-form-panel {
            padding: 36px 28px;
        }
    }

    @media (max-width: 767px) {
        body.bg-public-dark {
            padding: 16px 12px;
        }

        .auth-card {
            border-radius: 18px;
        }

        .auth-sidebar {
            padding: 28px 20px;
        }

        .hero-title-main {
            font-size: 1.65rem;
        }

        .auth-form-panel {
            padding: 28px 20px;
        }

        .policy-card {
            padding: 24px 20px;
        }

        .offer-card {
            padding: 20px;
        }
    }

/* ==========================================================================
   Application Portal Archetype (apply.php)
   ========================================================================== */
.apply-container {
    width: 100%;
    max-width: 840px;
    margin: 28px auto;
    background: #FFFFFF;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 22px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 35px rgba(56, 189, 248, 0.15);
    animation: cardEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 🌌 Official Cybrexus 3D Tech Hero Banner Component */
.apply-hero-banner-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #060D1A;
    border-bottom: 2.5px solid #00D2FF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(0, 210, 255, 0.4);
    line-height: 0;
    display: block;
}

.apply-hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* 🌌 Native Tech Hero Header Component (Fallback) */
.native-hero-header {
    width: 100%;
    background: #081120;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(245, 158, 11, 0.18) 0%, transparent 45%),
        linear-gradient(180deg, #091326 0%, #060D1A 100%);
    border-bottom: 2px solid #00D2FF;
    padding: 16px 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    position: relative;
    box-shadow: inset 0 -1px 0 rgba(0, 210, 255, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-banner-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-banner-col.left-col {
    justify-content: flex-start;
}

.hero-banner-col.right-col {
    justify-content: flex-end;
    text-align: right;
}

.hero-icon-pill {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 210, 255, 0.12);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00D2FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.2);
    font-size: 1.15rem;
}

.hero-icon-pill.amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #FBBF24;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}

.hero-text-content {
    display: flex;
    flex-direction: column;
}

.hero-tag-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #00D2FF;
    margin-bottom: 2px;
    line-height: 1.2;
}

.hero-tag-label.amber {
    color: #FBBF24;
}

.hero-heading-text {
    font-size: 12px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* Center Emblem Ring */
.hero-center-emblem {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-outer-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2.5px solid #00D2FF;
    box-shadow: 0 0 18px rgba(0, 210, 255, 0.55), 0 0 35px rgba(0, 102, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.25s ease;
}

.emblem-outer-ring:hover {
    transform: scale(1.05);
}

.emblem-inner-disc {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.emblem-brand-title {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.emblem-brand-subtitle {
    font-size: 7.5px;
    font-weight: 800;
    color: #0284C7;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.apply-card-body {
    padding: 28px 34px 34px 34px;
    background: #FFFFFF;
    color: #0F172A;
}

body.apply-embed .apply-card-body {
    padding: 24px 18px;
}

.brand-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1.5px dashed #CBD5E1;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 0.88rem;
    color: #64748B;
    max-width: 580px;
    margin: 0 auto;
}

.timestamp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #0284C7;
    background: #EFF6FF;
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid #BFDBFE;
    margin-top: 10px;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #DC2626;
}

/* 🇮🇳 Prominent Startup India Recognition Banner */
.startup-india-highlight-box {
    background: #FFFAF5;
    border: 1.5px solid #EA580C;
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 15px -3px rgba(234, 88, 12, 0.12);
}

.startup-india-logo-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(234, 88, 12, 0.1);
    border: 1px solid rgba(234, 88, 12, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #EA580C;
    font-size: 1.35rem;
}

.startup-badge-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #9A3412;
    margin-bottom: 2px;
}

.startup-badge-desc {
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.35;
    margin: 0;
}

/* 🌟 Program Highlights Perks Grid */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.perk-card {
    background: #F8FAFC;
    border: 1.2px solid #E2E8F0;
    border-radius: 12px;
    padding: 11px 10px;
    display: flex;
    gap: 9px;
    align-items: flex-start;
    transition: all 0.2s ease;
}

.perk-card:hover {
    border-color: #38BDF8;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.15);
}

.perk-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #E0F2FE;
    color: #0284C7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.perk-info h4 {
    font-size: 0.76rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 2px;
    line-height: 1.25;
}

.perk-info p {
    font-size: 0.67rem;
    color: #64748B;
    line-height: 1.32;
    margin: 0;
}

/* Fee Discount Banner */
.fee-offer-banner {
    background: #FEFCE8;
    border: 1.5px solid #FACC15;
    border-radius: 10px;
    padding: 9px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fee-offer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fee-offer-badge {
    background: #CA8A04;
    color: #FFFFFF;
    font-size: 0.70rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.fee-offer-text {
    font-size: 0.78rem;
    color: #854D0E;
    font-weight: 700;
}

.fee-pricing-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.orig-fee {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 600;
    margin-right: 6px;
}

.final-fee {
    color: #0284C7;
    font-size: 1.25rem;
    font-weight: 900;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 2px;
}

.form-group label .req {
    color: #EF4444;
    font-weight: 800;
    margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    height: 42px;
    padding: 0 12px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #0F172A;
    font-family: var(--font-body);
    font-size: 0.86rem;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 10px;
    padding-right: 2.25rem;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input[type="file"] {
    height: 42px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    padding: 6px 10px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
}

.form-group textarea {
    height: 75px;
    min-height: 75px;
    padding: 8px 12px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    color: #0F172A;
    font-family: var(--font-body);
    font-size: 0.86rem;
    outline: none;
    resize: vertical;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0066FF;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.btn-submit {
    grid-column: 1 / -1;
    min-height: 48px;
    height: auto;
    padding: 12px 18px;
    border-radius: 10px;
    background: #0066FF;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px -4px rgba(0, 102, 255, 0.4);
    transition: all 0.2s ease;
    margin-top: 4px;
    line-height: 1.35;
    text-align: center;
}

.btn-submit:hover {
    background: #0052CC;
    box-shadow: 0 10px 24px -4px rgba(0, 102, 255, 0.55);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.btn-submit:active {
    transform: translateY(0);
}

.footer-note {
    text-align: center;
    margin-top: 18px;
    font-size: 0.74rem;
    color: #64748B;
    line-height: 1.6;
}

.footer-note a {
    color: #0284C7;
    text-decoration: none;
    font-weight: 600;
}

.footer-note a:hover {
    text-decoration: underline;
}

.footer-sub-link {
    margin-top: 4px;
}

.hp-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

@media (max-width: 900px) {
    .perks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 768px) {
    /* Prevent iOS Safari input focus auto-zoom & ensure comfortable 46px touch targets */
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        min-height: 46px;
    }
}

@media (max-width: 640px) {
    .apply-container {
        border-radius: 16px;
        margin: 8px auto;
        max-width: 100%;
    }
    .apply-card-body {
        padding: 18px 14px !important;
    }
    .native-hero-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 16px 14px;
        gap: 12px;
    }
    .hero-banner-col.left-col, .hero-banner-col.right-col {
        justify-content: center;
        text-align: center;
    }
    .emblem-outer-ring {
        width: 60px;
        height: 60px;
    }
    .form-title {
        font-size: 1.40rem;
        line-height: 1.25;
    }
    .form-subtitle {
        font-size: 0.80rem;
    }
    .perks-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-group.full-width, .btn-submit {
        grid-column: span 1;
    }
    .fee-offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px 12px;
    }
    .fee-offer-left {
        justify-content: center;
    }
    .btn-submit {
        font-size: 0.90rem;
        padding: 13px 16px;
        width: 100%;
    }
    .startup-india-highlight-box {
        padding: 10px 12px;
        gap: 10px;
    }
    .startup-india-logo-wrapper {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
    }
    .startup-badge-title {
        font-size: 0.80rem;
    }
    .startup-badge-desc {
        font-size: 0.72rem;
    }
}

/* ==========================================================================
   Credential & Certificate Verification Archetype (verify.php)
   ========================================================================== */
:root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --primary-light: #eef2ff;
            --success: #059669;
            --success-light: #ecfdf5;
            --danger: #dc2626;
            --danger-light: #fef2f2;
            --slate-900: #0f172a;
            --slate-800: #1e293b;
            --slate-700: #334155;
            --slate-600: #475569;
            --slate-500: #64748b;
            --slate-400: #94a3b8;
            --slate-200: #e2e8f0;
            --slate-100: #f1f5f9;
            --slate-50:  #f8fafc;
            --font-display: 'Outfit', sans-serif;
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        

        body {
            background-color: #f8fafc;
            background-image: 
                radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.07) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(5, 150, 105, 0.05) 0px, transparent 50%),
                radial-gradient(at 50% 50%, rgba(241, 245, 249, 0.5) 0px, transparent 100%);
            font-family: var(--font-sans);
            color: var(--slate-800);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 36px 16px;
            margin: 0;
            -webkit-font-smoothing: antialiased;
        }

        .verify-wrapper {
            width: 100%;
            max-width: 620px;
            margin: 0 auto;
        }

        .verify-card {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid var(--slate-200);
            box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.03);
            overflow: hidden;
            position: relative;
            animation: cardEntrance 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
        }

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

        /* Top Security Accent Ribbon */
        .card-top-accent {
            height: 6px;
            background: linear-gradient(90deg, #4f46e5 0%, #06b6d4 50%, #059669 100%);
            width: 100%;
        }

        .card-header-section {
            padding: 34px 32px 20px 32px;
            text-align: center;
        }

        .company-brand-logo {
            height: 52px;
            max-width: 220px;
            object-fit: contain;
            margin-bottom: 16px;
            transition: transform 0.2s ease;
        }

        .company-brand-logo:hover {
            transform: scale(1.02);
        }

        .page-main-title {
            font-family: var(--font-display);
            font-size: 1.65rem;
            font-weight: 700;
            color: var(--slate-900);
            margin: 0 0 4px 0;
            letter-spacing: -0.02em;
        }

        .page-sub-title {
            font-size: 0.84rem;
            color: var(--slate-500);
            margin: 0;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        /* Registration ID Badge Box */
        .reg-id-container {
            background: var(--slate-50);
            border: 1px solid var(--slate-200);
            border-radius: 12px;
            margin: 0 32px 20px 32px;
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .reg-id-label {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--slate-500);
        }

        .reg-id-value {
            font-family: 'Courier New', Courier, monospace;
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--primary-dark);
            background: #ffffff;
            border: 1px solid #c7d2fe;
            padding: 4px 12px;
            border-radius: 8px;
            letter-spacing: 0.05em;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 1px 2px rgba(79, 70, 229, 0.06);
        }

        /* Verification Status Banner */
        .verification-status-banner {
            margin: 0 32px 22px 32px;
            padding: 14px 18px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 12px;
            text-align: left;
        }

        .status-verified {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #166534;
        }

        .status-verified .status-icon {
            color: #15803d;
            font-size: 1.75rem;
            line-height: 1;
        }

        .status-verified .status-title {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 2px;
            color: #14532d;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .status-verified .status-desc {
            font-size: 0.82rem;
            color: #166534;
            margin: 0;
            line-height: 1.4;
        }

        /* Information Grid / Table */
        .details-table-card {
            background: #ffffff;
            border: 1px solid var(--slate-200);
            border-radius: 14px;
            margin: 0 32px 24px 32px;
            overflow: hidden;
        }

        .details-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 13px 18px;
            border-bottom: 1px solid var(--slate-100);
            font-size: 0.88rem;
            transition: background-color 0.15s ease;
        }

        .details-row:last-child {
            border-bottom: none;
        }

        .details-row:hover {
            background-color: #fafbfc;
        }

        .details-key {
            color: var(--slate-500);
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .details-key i {
            color: var(--primary);
            font-size: 1rem;
            width: 18px;
            text-align: center;
        }

        .details-val {
            color: var(--slate-900);
            font-weight: 600;
            text-align: right;
            max-width: 60%;
        }

        .details-val.highlight {
            color: var(--primary);
            font-weight: 700;
        }

        /* Search Form (When active) */
        .search-wrapper {
            background: var(--slate-50);
            border: 1px solid var(--slate-200);
            border-radius: 14px;
            padding: 24px;
            margin: 0 32px 24px 32px;
        }

        .search-label {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--slate-500);
            margin-bottom: 8px;
            display: block;
        }

        .custom-search-input {
            height: 48px;
            font-size: 0.95rem;
            font-weight: 600;
            border: 1.5px solid var(--slate-200);
            border-radius: 10px 0 0 10px;
            padding-left: 14px;
        }

        .custom-search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
        }

        .btn-search-verify {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border: none;
            color: #ffffff;
            font-weight: 600;
            padding: 0 24px;
            border-radius: 0 10px 10px 0;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }

        .btn-search-verify:hover {
            opacity: 0.95;
            color: #ffffff;
            transform: translateY(-1px);
        }

        /* Buttons & Footer */
        .action-container {
            padding: 0 32px 28px 32px;
        }

        .btn-print-record {
            background: #ffffff;
            border: 1.5px solid var(--slate-200);
            color: var(--slate-700);
            font-weight: 600;
            font-size: 0.88rem;
            padding: 11px 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            transition: all 0.15s ease;
            box-shadow: 0 1px 2px rgba(0,0,0,0.04);
        }

        .btn-print-record:hover {
            background: var(--slate-50);
            border-color: var(--primary);
            color: var(--primary);
            box-shadow: 0 4px 10px rgba(79, 70, 229, 0.08);
        }

        .trust-seal-footer {
            background: var(--slate-50);
            border-top: 1px solid var(--slate-200);
            padding: 14px 20px;
            text-align: center;
            font-size: 0.76rem;
            color: var(--slate-500);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .trust-seal-footer i {
            color: var(--success);
            font-size: 0.9rem;
        }

        .back-nav-link {
            text-align: center;
            margin-top: 20px;
        }

        .back-nav-link a {
            color: var(--slate-500);
            font-size: 0.84rem;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: color 0.15s ease;
        }

        .back-nav-link a:hover {
            color: var(--primary);
        }

        /* Failure Alert Box */
        .failed-box {
            background: var(--danger-light);
            border: 1px solid #fecaca;
            border-radius: 12px;
            padding: 20px;
            margin: 0 32px 24px 32px;
            text-align: center;
        }

        .failed-box i {
            font-size: 2rem;
            color: var(--danger);
            margin-bottom: 8px;
        }

        .failed-box h6 {
            color: #991b1b;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .failed-box p {
            color: #7f1d1d;
            font-size: 0.84rem;
            margin: 0;
        }

        /* Mobile Adjustments */
        @media (max-width: 576px) {
            body { padding: 16px 12px; }
            .card-header-section { padding: 24px 20px 16px 20px; }
            .reg-id-container, .verification-status-banner, .details-table-card, .search-wrapper, .action-container, .failed-box {
                margin-left: 16px;
                margin-right: 16px;
            }
            .details-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
                padding: 10px 14px;
            }
            .details-val {
                text-align: left;
                max-width: 100%;
                padding-left: 26px;
            }
            .reg-id-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
        }

        /* Print Media Styles */
        @media print {
            body {
                background: #ffffff !important;
                background-image: none !important;
                padding: 0;
            }
            .verify-card {
                box-shadow: none !important;
                border: 1px solid #cbd5e1 !important;
            }
            .action-container, .back-nav-link, .search-wrapper {
                display: none !important;
            }
        }

/* ==========================================================================
   Offer Acceptance & Onboarding Archetype (accept_offer.php)
   ========================================================================== */
:root {
            --primary-gradient: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
            --accent-color: #6366f1;
            --surface-bg: #f8fafc;
            --card-border: #e2e8f0;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--surface-bg);
            color: #0f172a;
            min-height: 100vh;
            padding-bottom: 60px;
        }

        .hero-banner {
            background: var(--primary-gradient);
            color: #ffffff;
            padding: 48px 20px 70px 20px;
            text-align: center;
            position: relative;
        }

        .hero-banner::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 30px;
            background: var(--surface-bg);
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
        }

        .main-container {
            max-width: 900px;
            margin: -40px auto 0 auto;
            position: relative;
            z-index: 10;
            padding: 0 16px;
        }

        .glass-card {
            background: #ffffff;
            border-radius: 20px;
            border: 1px solid var(--card-border);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
            padding: 32px;
            margin-bottom: 24px;
        }

        .summary-badge-pill {
            background: #eef2ff;
            color: #4338ca;
            border: 1px solid #c7d2fe;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            padding: 6px 14px;
            border-radius: 30px;
        }

        .detail-row {
            padding: 12px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .detail-row:last-child {
            border-bottom: none;
        }

        .signature-pad-container {
            background: #ffffff;
            border: 2px dashed #cbd5e1;
            border-radius: 12px;
            position: relative;
            cursor: crosshair;
            touch-action: none;
        }
        .signature-pad-container.active {
            border-color: #6366f1;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        #sigCanvas {
            width: 100%;
            height: 180px;
            display: block;
            border-radius: 10px;
        }

        .signature-typed-preview {
            font-family: 'Dancing Script', cursive;
            font-size: 2.2rem;
            color: #1e1b4b;
            min-height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
        }

        .terms-box {
            max-height: 220px;
            overflow-y: auto;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 16px 20px;
            font-size: 0.9rem;
            line-height: 1.6;
            color: #475569;
        }

        .terms-box::-webkit-scrollbar {
            width: 6px;
        }
        .terms-box::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 6px;
        }

/* ==========================================================================
   Payment Portal Archetype (pay.php)
   ========================================================================== */
:root {
            --primary: #4f46e5;
            --primary-hover: #4338ca;
            --dark: #0f172a;
        }

        body.pay-page {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px 15px;
            color: var(--dark);
        }

        .checkout-card {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-radius: 24px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            max-width: 580px;
            width: 100%;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .checkout-header {
            background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
            color: white;
            padding: 32px;
            text-align: center;
        }

        .amount-display {
            font-family: 'Outfit', sans-serif;
            font-size: 42px;
            font-weight: 800;
            letter-spacing: -1px;
        }

        .btn-pay {
            background: #16a34a;
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            transition: all 0.2s ease;
        }

        .btn-pay:hover {
            background: #15803d;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
            color: white;
        }

        @media (max-width: 576px) {
            .checkout-card {
                border-radius: 18px !important;
                margin: 8px auto !important;
                max-width: 100% !important;
            }
            .checkout-header {
                padding: 22px 16px !important;
            }
            .amount-display {
                font-size: 32px !important;
            }
            .btn-pay {
                font-size: 1rem !important;
                padding: 13px 20px !important;
                min-height: 48px;
            }
        }

/* ==========================================================================
   Payment Success & Receipt Archetype (payment_success.php)
   ========================================================================== */
:root {
            --primary: #4f46e5;
            --success: #10b981;
            --danger: #ef4444;
            --navy-dark: #0f172a;
        }
        body.payment-status-page {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: linear-gradient(135deg, #090e17 0%, #111c30 100%);
            color: #f8fafc;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }
        .card-receipt {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            max-width: 520px;
            width: 100%;
            overflow: hidden;
        }
        .receipt-header {
            padding: 36px 28px 24px;
            text-align: center;
        }
        .icon-circle {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 38px;
            margin-bottom: 16px;
        }
        .icon-circle.success {
            background: rgba(16, 185, 129, 0.15);
            color: #10b981;
            border: 2px solid rgba(16, 185, 129, 0.3);
        }
        .icon-circle.failed {
            background: rgba(239, 68, 68, 0.15);
            color: #ef4444;
            border: 2px solid rgba(239, 68, 68, 0.3);
        }
        .receipt-body {
            padding: 0 28px 32px;
        }
        .receipt-table {
            background: rgba(255, 255, 255, 0.03);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 16px 20px;
            margin: 20px 0;
        }
        .receipt-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
            font-size: 14px;
        }
        .receipt-row:last-child {
            border-bottom: none;
        }
        .receipt-label {
            color: #94a3b8;
        }
        .receipt-val {
            font-weight: 600;
            color: #f1f5f9;
        }
        .btn-portal {
            background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
            border: none;
            color: #ffffff;
            font-weight: 600;
            padding: 12px 24px;
            border-radius: 12px;
            transition: all 0.2s ease;
            text-decoration: none;
            display: inline-block;
        }
        .btn-portal:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
            color: #ffffff;
        }


/* ==========================================================================
   Dark Mode Enhancements for Public Archetypes
   ========================================================================== */
[data-bs-theme="dark"] .apply-container {
    background: #0F172A;
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.2);
}

[data-bs-theme="dark"] .form-section-title {
    color: #F8FAFC;
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #1E293B;
    border-color: #334155;
    color: #F8FAFC;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #1E293B;
    border-color: #38BDF8;
    color: #F8FAFC;
}

[data-bs-theme="dark"] .perk-card {
    background: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .perk-title {
    color: #F8FAFC;
}

[data-bs-theme="dark"] .perk-desc {
    color: #94A3B8;
}

[data-bs-theme="dark"] .reg-id-container {
    background: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .reg-id-value {
    color: #38BDF8;
}

[data-bs-theme="dark"] .details-table-card {
    background: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .details-key {
    color: #94A3B8;
}

[data-bs-theme="dark"] .details-val {
    color: #F8FAFC;
}

[data-bs-theme="dark"] .search-wrapper {
    background: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .search-input {
    background: #0F172A;
    border-color: #334155;
    color: #F8FAFC;
}

[data-bs-theme="dark"] .glass-card {
    background: #0F172A;
    border-color: #334155;
}

[data-bs-theme="dark"] .terms-box {
    background: #1E293B;
    border-color: #334155;
    color: #CBD5E1;
}

[data-bs-theme="dark"] .signature-pad-container {
    background: #1E293B;
    border-color: #334155;
}

[data-bs-theme="dark"] .receipt-body {
    background: #0F172A;
}

[data-bs-theme="dark"] .receipt-table td {
    color: #CBD5E1;
    border-bottom-color: #1E293B;
}

[data-bs-theme="dark"] .receipt-label {
    color: #94A3B8;
}

[data-bs-theme="dark"] .receipt-val {
    color: #F8FAFC;
}

