/* ═══════════════════════════════════════════════════════════════
   theme.css — Comply4HR Central Design System & Master Tokens
   Universal Single Source of Truth for Typography, Colors,
   Elevations, Badges, and Utility Classes.
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ─────────────────────────────────────────────────────────────
       1. TYPOGRAPHY
    ───────────────────────────────────────────────────────────── */
    --c4hr-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --c4hr-font-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

    /* Font Sizes */
    --c4hr-text-xs:    0.6875rem; /* 11px */
    --c4hr-text-sm:    0.8125rem; /* 13px */
    --c4hr-text-base:  0.9375rem; /* 15px */
    --c4hr-text-md:    1rem;      /* 16px */
    --c4hr-text-lg:    1.125rem;  /* 18px */
    --c4hr-text-xl:    1.375rem;  /* 22px */
    --c4hr-text-2xl:   1.75rem;   /* 28px */
    --c4hr-text-3xl:   2.25rem;   /* 36px */
    --c4hr-text-4xl:   3rem;      /* 48px */

    /* Font Weights */
    --c4hr-weight-regular:  400;
    --c4hr-weight-medium:   500;
    --c4hr-weight-semibold: 600;
    --c4hr-weight-bold:     700;
    --c4hr-weight-extrabold:800;

    /* Line Heights */
    --c4hr-leading-tight:   1.25;
    --c4hr-leading-snug:    1.375;
    --c4hr-leading-normal:  1.5;
    --c4hr-leading-relaxed: 1.625;

    /* ─────────────────────────────────────────────────────────────
       2. PRIMARY BRAND COLORS (Standardized from Logo / Screenshot 1)
    ───────────────────────────────────────────────────────────── */
    /* Brand Navy / Indigo Hierarchy */
    --c4hr-navy:          #3E4095; /* Signature Brand Indigo/Navy (#3E4095) */
    --c4hr-navy-dark:     #23226A; /* Midnight Brand Indigo */
    --c4hr-navy-mid:      #35348F; /* Mid Indigo */
    --c4hr-navy-light:    #5456A8; /* Soft Indigo */

    /* Brand Orange Hierarchy (Action & CTA) */
    --c4hr-orange:        #F58634; /* Signature Action Orange (#F58634) */
    --c4hr-orange-hover:  #E07323; /* Button Hover / Pressed State */
    --c4hr-orange-subtle: #FFF7ED; /* Warm Orange Light Tint (Tag Fills) */
    --c4hr-orange-border: #FED7AA; /* Warm Orange Border (Tag Outlines) */

    /* ─────────────────────────────────────────────────────────────
       3. SURFACES & BACKGROUNDS
    ───────────────────────────────────────────────────────────── */
    --c4hr-bg-page:       #F8FAFC; /* Clean Neutral Page Canvas */
    --c4hr-bg-card:       #FFFFFF; /* Pure White Content Cards & Modals */
    --c4hr-bg-hero:       #edf2ff; /* Landing Page Hero Light Canvas */
    --c4hr-bg-alt:        #F1F2F2; /* Cool Blue-Grey (Enquiry lower half, striped rows) */
    --c4hr-bg-input:      #FAFAFA; /* Form Input Field Surface */
    --c4hr-bg-hover:      #F1F5F9; /* List & Table Row Hover Surface */

    /* ─────────────────────────────────────────────────────────────
       4. TEXT & TYPOGRAPHY COLORS
    ───────────────────────────────────────────────────────────── */
    --c4hr-text-heading:  #1A1A36; /* High-contrast indigo-slate headings */
    --c4hr-text-navy:     #3E4095; /* Brand Navy/Indigo text */
    --c4hr-text-body:     #334155; /* Slate 700: Primary readable body copy */
    --c4hr-text-muted:    #64748B; /* Slate 500: Helper text, metadata, subtitles */
    --c4hr-text-subtle:   #94A3B8; /* Slate 400: Placeholders & disabled states */
    --c4hr-text-inverse:  #FFFFFF; /* Pure White text on dark navy surfaces */

    /* ─────────────────────────────────────────────────────────────
       5. BORDERS & DIVIDERS
    ───────────────────────────────────────────────────────────── */
    --c4hr-border:        #E2E8F0; /* Standard card & table border */
    --c4hr-border-subtle: #F1F5F9; /* Ultra-light inner dividers */
    --c4hr-border-input:  #DDDDDD; /* Form input outline */
    --c4hr-border-focus:  #F58634; /* Focused input outline */

    /* ─────────────────────────────────────────────────────────────
       6. STATUS & UTILITY COLORS
    ───────────────────────────────────────────────────────────── */
    --c4hr-success:       #22C55E; /* Emerald Green (Active, Verified, Success) */
    --c4hr-success-subtle:#ECFDF5;
    --c4hr-warning:       #F59E0B; /* Amber (Pending, In Progress, Warning) */
    --c4hr-warning-subtle:#FFFBEB;
    --c4hr-danger:        #EF4444; /* Rose Red (Errors, Overdue, Critical) */
    --c4hr-danger-subtle: #FEF2F2;
    --c4hr-info:          #0284C7; /* Sky Blue (Informational chips) */
    --c4hr-info-subtle:   #F0F9FF;
    --c4hr-social-linkedin:#0A66C2;/* Official LinkedIn Blue */

    /* ─────────────────────────────────────────────────────────────
       7. RADII & ELEVATIONS (SHADOWS)
    ───────────────────────────────────────────────────────────── */
    --c4hr-radius-sm:     6px;
    --c4hr-radius-md:     10px;
    --c4hr-radius-lg:     16px;
    --c4hr-radius-xl:     24px;
    --c4hr-radius-full:   9999px;

    --c4hr-shadow-xs:     0 1px 3px rgba(35, 34, 106, 0.05);
    --c4hr-shadow-sm:     0 2px 8px rgba(35, 34, 106, 0.06);
    --c4hr-shadow-md:     0 6px 18px rgba(35, 34, 106, 0.08);
    --c4hr-shadow-lg:     0 12px 32px rgba(35, 34, 106, 0.12);
    --c4hr-shadow-glow:   0 4px 16px rgba(245, 134, 52, 0.35);

    /* Transitions */
    --c4hr-transition-fast: 0.15s ease;
    --c4hr-transition-base: 0.2s ease;
    --c4hr-transition-slow: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

    /* ─────────────────────────────────────────────────────────────
       8. BACKWARD-COMPATIBILITY ALIASES
       Ensures existing stylesheets across the 39 CSS files inherit
       the master tokens without breaking.
    ───────────────────────────────────────────────────────────── */
    --darkblue:           var(--c4hr-navy);
    --backcolor:          var(--c4hr-orange);
    --whitcolor:          var(--c4hr-bg-card);
    --blue-grey:          var(--c4hr-bg-alt);
    --c4hrGrey:           var(--c4hr-text-muted);
    --c4hrgey:            var(--c4hr-text-muted);
    --divback:            var(--c4hr-border);

    /* Module Bridges */
    --pr-navy:            var(--c4hr-navy);
    --pr-navy-dark:       var(--c4hr-navy-dark);
    --pr-navy-mid:        var(--c4hr-navy-mid);
    --pr-navy-light:      var(--c4hr-navy-light);
    --pr-orange:          var(--c4hr-orange);
    --pr-orange-hover:    var(--c4hr-orange-hover);
    --pr-surface:         var(--c4hr-bg-page);
    --pr-card-bg:         var(--c4hr-bg-card);
    --pr-text-dark:       var(--c4hr-text-heading);
    --pr-text-body:       var(--c4hr-text-body);
    --pr-text-muted:      var(--c4hr-text-muted);
    --pr-border:          var(--c4hr-border);

    --ab-navy:            var(--c4hr-navy);
    --ab-navy-dark:       var(--c4hr-navy-dark);
    --ab-navy-mid:        var(--c4hr-navy-mid);
    --ab-navy-light:      var(--c4hr-navy-light);
    --ab-orange:          var(--c4hr-orange);
    --ab-orange-hover:    var(--c4hr-orange-hover);
    --ab-surface:         var(--c4hr-bg-page);
    --ab-card-bg:         var(--c4hr-bg-card);
    --ab-text-dark:       var(--c4hr-text-heading);
    --ab-text-body:       var(--c4hr-text-body);
    --ab-text-muted:      var(--c4hr-text-muted);
    --ab-border:          var(--c4hr-border);

    --blog-navy:          var(--c4hr-navy-dark);
    --blog-navy-mid:      var(--c4hr-navy-mid);
    --blog-navy-light:    var(--c4hr-navy-light);
    --blog-orange:        var(--c4hr-orange);
    --blog-orange-hover:  var(--c4hr-orange-hover);
    --blog-surface:       var(--c4hr-bg-page);
    --blog-card-bg:       var(--c4hr-bg-card);
    --blog-text:          var(--c4hr-text-body);
    --blog-text-muted:    var(--c4hr-text-muted);
    --blog-border:        var(--c4hr-border);

    --sm-navy:            var(--c4hr-navy-dark);
    --sm-navy-mid:        var(--c4hr-navy-mid);
    --sm-navy-light:      var(--c4hr-navy-light);
    --sm-orange:          var(--c4hr-orange);
    --sm-orange-hover:    var(--c4hr-orange-hover);
    --sm-surface:         var(--c4hr-bg-page);
    --sm-card-bg:         var(--c4hr-bg-card);
    --sm-text:            var(--c4hr-text-body);
    --sm-text-muted:      var(--c4hr-text-muted);
    --sm-border:          var(--c4hr-border);

    --brand:              var(--c4hr-navy);
    --accent:             var(--c4hr-orange);
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL TYPOGRAPHY ENFORCEMENT
───────────────────────────────────────────────────────────── */
html,
body,
button,
input,
optgroup,
select,
textarea,
h1, h2, h3, h4, h5, h6,
p, a, span, label {
    font-family: var(--c4hr-font-sans);
}

/* ─────────────────────────────────────────────────────────────
   STANDARD REUSABLE COMPONENT UTILITY CLASSES
───────────────────────────────────────────────────────────── */

/* ── Buttons ── */
.btn-c4hr-primary {
    background-color: var(--c4hr-orange) !important;
    color: #ffffff !important;
    border: 1px solid var(--c4hr-orange) !important;
    border-radius: var(--c4hr-radius-full) !important;
    padding: 10px 28px !important;
    font-size: var(--c4hr-text-base) !important;
    font-weight: var(--c4hr-weight-bold) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: var(--c4hr-shadow-glow) !important;
    transition: background-color var(--c4hr-transition-base), transform var(--c4hr-transition-fast), box-shadow var(--c4hr-transition-base) !important;
}

.btn-c4hr-primary:hover {
    background-color: var(--c4hr-orange-hover) !important;
    border-color: var(--c4hr-orange-hover) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(214, 115, 30, 0.45) !important;
}

.btn-c4hr-outline {
    background-color: transparent !important;
    color: var(--c4hr-navy) !important;
    border: 1.5px solid var(--c4hr-navy) !important;
    border-radius: var(--c4hr-radius-full) !important;
    padding: 9px 26px !important;
    font-size: var(--c4hr-text-base) !important;
    font-weight: var(--c4hr-weight-bold) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all var(--c4hr-transition-base) !important;
}

.btn-c4hr-outline:hover {
    background-color: var(--c4hr-navy) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.btn-c4hr-navy {
    background-color: var(--c4hr-navy) !important;
    color: #ffffff !important;
    border: 1px solid var(--c4hr-navy) !important;
    border-radius: var(--c4hr-radius-full) !important;
    padding: 10px 28px !important;
    font-size: var(--c4hr-text-base) !important;
    font-weight: var(--c4hr-weight-bold) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all var(--c4hr-transition-base) !important;
}

.btn-c4hr-navy:hover {
    background-color: var(--c4hr-navy-dark) !important;
    border-color: var(--c4hr-navy-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

/* Button Sizes */
.btn-c4hr-sm {
    padding: 6px 16px !important;
    font-size: var(--c4hr-text-sm) !important;
}

.btn-c4hr-lg {
    padding: 14px 36px !important;
    font-size: var(--c4hr-text-lg) !important;
}

/* ── Badges & Tags ── */
.badge-c4hr-orange {
    background-color: var(--c4hr-orange-subtle);
    color: var(--c4hr-orange);
    border: 1px solid var(--c4hr-orange-border);
    border-radius: var(--c4hr-radius-full);
    padding: 4px 12px;
    font-size: var(--c4hr-text-xs);
    font-weight: var(--c4hr-weight-bold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-c4hr-navy {
    background-color: rgba(62, 64, 149, 0.1);
    color: var(--c4hr-navy);
    border: 1px solid rgba(62, 64, 149, 0.2);
    border-radius: var(--c4hr-radius-full);
    padding: 4px 12px;
    font-size: var(--c4hr-text-xs);
    font-weight: var(--c4hr-weight-bold);
    display: inline-flex;
    align-items: center;
}

.badge-c4hr-success {
    background-color: var(--c4hr-success-subtle);
    color: var(--c4hr-success);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--c4hr-radius-full);
    padding: 4px 12px;
    font-size: var(--c4hr-text-xs);
    font-weight: var(--c4hr-weight-semibold);
}

/* ── Text Color Utilities ── */
.text-c4hr-navy      { color: var(--c4hr-navy) !important; }
.text-c4hr-orange    { color: var(--c4hr-orange) !important; }
.text-c4hr-heading   { color: var(--c4hr-text-heading) !important; }
.text-c4hr-body      { color: var(--c4hr-text-body) !important; }
.text-c4hr-muted     { color: var(--c4hr-text-muted) !important; }
.text-c4hr-white     { color: #ffffff !important; }

/* ── Background Color Utilities ── */
.bg-c4hr-navy        { background-color: var(--c4hr-navy) !important; }
.bg-c4hr-navy-dark   { background-color: var(--c4hr-navy-dark) !important; }
.bg-c4hr-orange      { background-color: var(--c4hr-orange) !important; }
.bg-c4hr-page        { background-color: var(--c4hr-bg-page) !important; }
.bg-c4hr-card        { background-color: var(--c4hr-bg-card) !important; }
.bg-c4hr-alt         { background-color: var(--c4hr-bg-alt) !important; }

/* ── Signature Gradients ── */
.bg-c4hr-gradient-hero {
    background: linear-gradient(135deg, var(--c4hr-navy-dark) 0%, var(--c4hr-navy-mid) 60%, var(--c4hr-navy) 100%) !important;
}

.bg-c4hr-gradient-card {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--c4hr-bg-page) 100%) !important;
}

/* ── Card Containers ── */
.card-c4hr {
    background-color: var(--c4hr-bg-card);
    border: 1px solid var(--c4hr-border);
    border-radius: var(--c4hr-radius-md);
    box-shadow: var(--c4hr-shadow-sm);
    transition: transform var(--c4hr-transition-base), box-shadow var(--c4hr-transition-base);
}

.card-c4hr:hover {
    transform: translateY(-3px);
    box-shadow: var(--c4hr-shadow-md);
}

/* ── Universal Sizing & Dimension Utilities ── */
.w-auto         { width: auto !important; }
.w-100          { width: 100% !important; }
.w-64           { width: 64px !important; }
.w-90           { width: 90px !important; }
.w-110          { width: 110px !important; }
.w-130          { width: 130px !important; }
.w-170          { width: 170px !important; }
.w-180          { width: 180px !important; }
.min-w-180      { min-width: 180px !important; }
.min-w-220      { min-width: 220px !important; }
.max-w-100      { max-width: 100% !important; }
.max-w-300      { max-width: 300px !important; }
.max-w-320      { max-width: 320px !important; }
.max-w-480      { max-width: 480px !important; }
.max-w-600      { max-width: 600px !important; }
.max-w-900      { max-width: 900px !important; }

/* ── Bot Honeypot Helper ── */
.c4hr-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ================================================================
   MOBILE OFF-CANVAS DRAWER SYSTEM
   Universal across all layouts and screen sizes <= 991px
   ================================================================ */

/* Animated Hamburger Toggle */
.c4hr-mob-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    flex-shrink: 0;
    z-index: 10001;
}

.c4hr-mob-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--c4hr-navy);
    border-radius: 4px;
    transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.c4hr-mob-toggle.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    background-color: var(--c4hr-orange);
}

.c4hr-mob-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.c4hr-mob-toggle.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    background-color: var(--c4hr-orange);
}

/* Backdrop Overlay */
.c4hr-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.c4hr-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Off-Canvas Drawer Panel */
.c4hr-mob-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10501;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    box-sizing: border-box;
}

.c4hr-mob-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

/* Body Scroll Lock */
body.c4hr-drawer-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* Drawer Header */
/* Drawer Header */
.c4hr-mob-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #EEF2F6;
    background: #ffffff;
    flex-shrink: 0;
}

.c4hr-mob-drawer-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.c4hr-mob-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darkblue, #1C305E);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.c4hr-mob-drawer-close:hover {
    background: #E8EEF5;
    color: var(--backcolor, #F58634);
}

/* Drawer Body */
.c4hr-mob-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 12px;
}

.c4hr-mob-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.c4hr-mob-nav-item {
    border-radius: 6px;
    overflow: hidden;
    border-bottom: 1px solid #f4f6fa;
}

.c4hr-mob-nav-item:last-child {
    border-bottom: none;
}

.c4hr-mob-nav-link,
.c4hr-mob-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

.c4hr-mob-nav-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.c4hr-mob-nav-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--darkblue, #1C305E);
    line-height: 1.25;
}

.c4hr-mob-nav-sub {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--darkblue, #1C305E);
    opacity: 0.75;
    margin-top: 2px;
    line-height: 1.25;
}

.c4hr-mob-nav-link:hover,
.c4hr-mob-accordion-btn:hover,
.c4hr-mob-accordion.open > .c4hr-mob-accordion-btn {
    background-color: #E8EEF5;
}

.c4hr-mob-nav-link:hover .c4hr-mob-nav-title,
.c4hr-mob-accordion-btn:hover .c4hr-mob-nav-title,
.c4hr-mob-accordion.open > .c4hr-mob-accordion-btn .c4hr-mob-nav-title {
    color: var(--darkblue, #1C305E);
}

/* Pure CSS Chevron arrow (no icon font) */
.c4hr-mob-chevron {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--darkblue, #1C305E);
    border-bottom: 2px solid var(--darkblue, #1C305E);
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    margin-right: 4px;
    flex-shrink: 0;
}

.c4hr-mob-accordion.open > .c4hr-mob-accordion-btn .c4hr-mob-chevron {
    transform: rotate(-135deg);
    border-color: var(--backcolor, #F58634);
}

/* Accordion Sublist */
.c4hr-mob-sublist {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.c4hr-mob-accordion.open > .c4hr-mob-sublist {
    max-height: 500px;
}

.c4hr-mob-sublink {
    display: block !important;
    padding: 9px 18px 9px 24px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: var(--darkblue, #1C305E) !important;
    text-decoration: none !important;
    border-bottom: 1px solid #f2f4f8;
    background-color: #ffffff;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    font-family: 'DM Sans', sans-serif;
    text-align: left;
}

.c4hr-mob-sublink:last-child {
    border-bottom: none;
}

.c4hr-mob-sublink:hover {
    background-color: #E8EEF5 !important;
    color: var(--backcolor, #F58634) !important;
    padding-left: 28px !important;
}

/* Drawer Footer & Action Area */
.c4hr-mob-drawer-footer {
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px solid #EEF2F6;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

/* Primary Action Button (Enquire Now) */
.c4hr-mob-primary-btn {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c4hr-orange, #F58634);
    color: #ffffff !important;
    border: none;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(245, 134, 52, 0.25);
    transition: background 0.15s ease, transform 0.1s ease;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    box-sizing: border-box;
}

.c4hr-mob-primary-btn:hover {
    background: var(--c4hr-orange-hover, #E07323);
    transform: translateY(-1px);
}

/* Secondary Action Button (Sign In - when unauthenticated) */
.c4hr-mob-outline-btn {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--c4hr-navy, #3E4095) !important;
    border: 1.5px solid var(--c4hr-navy, #3E4095);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, color 0.15s ease;
    font-family: 'DM Sans', sans-serif;
}

.c4hr-mob-outline-btn:hover {
    background: var(--c4hr-navy, #3E4095);
    color: #ffffff !important;
}

/* User Profile Card (when authenticated) */
.c4hr-mob-user-card {
    background: var(--c4hr-bg-page, #F8FAFC);
    border: 1px solid var(--c4hr-border, #E2E8F0);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.c4hr-mob-user-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #EEF2F6;
}

.c4hr-mob-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(62, 64, 149, 0.12);
    color: var(--c4hr-navy, #3E4095);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.c4hr-mob-user-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.c4hr-mob-user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--c4hr-navy, #3E4095);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.c4hr-mob-user-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--c4hr-text-muted, #64748B);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 1px;
}

/* 2-Column Action Grid for Dashboard & Profile */
.c4hr-mob-user-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.c4hr-mob-user-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid rgba(62, 64, 149, 0.22);
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--c4hr-navy, #3E4095) !important;
    text-decoration: none;
    text-align: center;
    transition: all 0.15s ease;
    font-family: 'DM Sans', sans-serif;
    box-sizing: border-box;
}

.c4hr-mob-user-link:hover {
    background: var(--c4hr-navy, #3E4095);
    color: #ffffff !important;
    border-color: var(--c4hr-navy, #3E4095);
}

.c4hr-mob-user-link-admin {
    width: 100%;
    background: rgba(62, 64, 149, 0.05);
    border-color: rgba(62, 64, 149, 0.35);
}

/* Clean Log Out Button */
.c4hr-mob-logout-btn {
    width: 100%;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #dc2626 !important;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: 'DM Sans', sans-serif;
    padding: 0;
    box-sizing: border-box;
}

.c4hr-mob-logout-btn:hover {
    background: #fee2e2;
    border-color: #f87171;
    color: #b91c1c !important;
}

.c4hr-mob-drawer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--c4hr-text-muted, #64748B);
    text-align: center;
    padding-top: 2px;
}

.c4hr-mob-contact-label {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 600;
}

.c4hr-mob-contact-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.c4hr-mob-contact-links a {
    color: var(--c4hr-navy, #3E4095);
    text-decoration: none;
    font-weight: 700;
    font-size: 11.5px;
}

.c4hr-mob-contact-links a:hover {
    color: var(--c4hr-orange, #F58634);
}

.c4hr-mob-contact-sep {
    color: #cbd5e1;
}

/* Visibility triggers on mobile */
@media screen and (max-width: 991px) {
    .c4hr-mob-toggle {
        display: flex !important;
    }
    .menupng {
        display: none !important;
    }
}
