/* ============================================================
   Woody's Brands Team Center — Main Stylesheet
   Version:  1.0
   Updated:  2026-03-06
   ============================================================
   Stack: Bootstrap 5.3.3 (CDN) + Font Awesome 6.5.1 (CDN)
   This file adds app-specific styles on top of Bootstrap.
   ============================================================ */

/* ------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------------------ */
:root {
    /* Brand */
    --wt-brand-black:    #1a1a1a;
    --wt-brand-white:    #ffffff;
    --wt-brand-gray-50:  #f9fafb;
    --wt-brand-gray-100: #f3f4f6;
    --wt-brand-gray-200: #e5e7eb;
    --wt-brand-gray-300: #d1d5db;
    --wt-brand-gray-400: #9ca3af;
    --wt-brand-gray-500: #6b7280;
    --wt-brand-gray-600: #4b5563;
    --wt-brand-gray-700: #374151;
    --wt-brand-gray-800: #1f2937;
    --wt-brand-gray-900: #111827;

    /* Accent (warm amber — bar/restaurant feel) */
    --wt-accent:         #d97706;
    --wt-accent-light:   #fef3c7;
    --wt-accent-dark:    #92400e;

    /* Status */
    --wt-success:        #059669;
    --wt-success-light:  #ecfdf5;
    --wt-warning:        #d97706;
    --wt-warning-light:  #fffbeb;
    --wt-danger:         #dc2626;
    --wt-danger-light:   #fef2f2;
    --wt-info:           #2563eb;
    --wt-info-light:     #eff6ff;

    /* Layout */
    --wt-topnav-h:       64px;
    --wt-sidebar-w:      240px;
    --wt-drawer-w:       360px;

    /* Surface */
    --wt-surface-bg:     #ffffff;
    --wt-surface-border: #e5e7eb;
    --wt-surface-hover:  #f9fafb;

    /* Radius */
    --wt-radius-sm:      6px;
    --wt-radius-md:      10px;
    --wt-radius-lg:      14px;
    --wt-radius-pill:    999px;

    /* Shadow */
    --wt-shadow-sm:      0 1px 3px rgba(0,0,0,.06);
    --wt-shadow-md:      0 4px 14px rgba(0,0,0,.08);
    --wt-shadow-lg:      0 8px 28px rgba(0,0,0,.12);

    /* Brand-specific colors */
    --wt-lw-color:       #dc2626;   /* Little Woodrow's — red */
    --wt-lw-bg:          #fef2f2;
    --wt-et-color:       #1a1a1a;   /* Eddy's Tavern — black */
    --wt-et-bg:          #f3f4f6;
    --wt-wh-color:       #16a34a;   /* Woody's Hideaway — green */
    --wt-wh-bg:          #ecfdf5;
    --wt-wb-color:       #eab308;   /* Woody's Bar — yellow */
    --wt-wb-bg:          #fefce8;
}


/* ------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------ */
html { overflow-y: scroll; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--wt-brand-gray-900);
    background: var(--wt-brand-gray-50);
    padding-top: var(--wt-topnav-h);
}


/* ------------------------------------------------------------
   TOP NAVBAR
   ------------------------------------------------------------ */
.wt-navbar {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--wt-topnav-h);
    background: var(--wt-brand-black);
    color: var(--wt-brand-white);
    display: flex; align-items: center;
    padding: 0 20px;
    z-index: 1040;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.wt-navbar-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--wt-brand-white);
    font-weight: 700; font-size: 1.1rem;
    letter-spacing: .02em;
}
.wt-navbar-logo img {
    height: 32px; width: auto;
}
.wt-navbar-logo:hover { color: var(--wt-brand-white); }
.wt-navbar-spacer { flex: 1; }
.wt-navbar-actions {
    display: flex; align-items: center; gap: 12px;
}
.wt-navbar-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--wt-radius-sm);
    transition: all .15s;
}
.wt-navbar-link:hover {
    color: var(--wt-brand-white);
    background: rgba(255,255,255,.1);
}
.wt-navbar-link.active {
    color: var(--wt-brand-white);
    background: rgba(255,255,255,.15);
}
/* Mobile menu toggle */
.wt-navbar-toggle {
    display: none;
    background: none; border: none; color: var(--wt-brand-white);
    font-size: 1.25rem; cursor: pointer; padding: 6px;
}


/* ------------------------------------------------------------
   LEFT SIDEBAR
   ------------------------------------------------------------ */
.wt-sidebar {
    position: fixed;
    top: var(--wt-topnav-h); left: 0; bottom: 0;
    width: var(--wt-sidebar-w);
    background: var(--wt-surface-bg);
    border-right: 1px solid var(--wt-surface-border);
    z-index: 1030;
    overflow-y: auto; overflow-x: hidden;
    padding: 16px 12px;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.wt-sidebar.collapsed {
    transform: translateX(-100%);
    pointer-events: none;
}
.wt-sidebar-header {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 8px 14px;
    border-bottom: 1px solid var(--wt-surface-border);
    margin-bottom: 14px;
}
.wt-sidebar-icon {
    width: 36px; height: 36px; border-radius: var(--wt-radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: #fff; flex-shrink: 0;
    background: var(--wt-brand-black);
}
.wt-sidebar-title {
    font-weight: 700; font-size: .92rem; line-height: 1.2;
    color: var(--wt-brand-gray-900);
}
.wt-sidebar-sub {
    font-size: .72rem; color: var(--wt-brand-gray-400);
}
.wt-sidebar-collapse {
    margin-left: auto; width: 28px; height: 28px; border-radius: var(--wt-radius-sm);
    border: 1px solid var(--wt-surface-border); background: var(--wt-surface-bg);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: .8rem; color: var(--wt-brand-gray-400);
    transition: all .15s;
}
.wt-sidebar-collapse:hover { background: var(--wt-surface-hover); }
.wt-sidebar-label {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; color: var(--wt-brand-gray-400);
    padding: 14px 8px 6px; margin: 0;
}
.wt-sidebar-link {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 8px;
    color: var(--wt-brand-gray-600);
    text-decoration: none;
    font-size: .85rem; font-weight: 500;
    transition: all .12s; margin-bottom: 1px;
}
.wt-sidebar-link:hover {
    background: var(--wt-surface-hover);
    color: var(--wt-brand-gray-900);
}
.wt-sidebar-link.active {
    background: var(--wt-brand-black);
    color: var(--wt-brand-white);
}
.wt-sidebar-link i { width: 18px; text-align: center; font-size: .88rem; }
.wt-sidebar-divider {
    height: 1px; background: var(--wt-surface-border); margin: 10px 0;
}
/* Re-open edge tab */
.wt-sidebar-reopen {
    position: fixed; top: 88px; left: 0;
    width: 28px; height: 40px;
    border-radius: 0 8px 8px 0;
    border: 1px solid var(--wt-brand-gray-300); border-left: none;
    background: var(--wt-brand-gray-200);
    display: none; align-items: center; justify-content: center;
    cursor: pointer; font-size: .8rem; color: var(--wt-brand-gray-600);
    z-index: 1031;
    box-shadow: 2px 0 8px rgba(0,0,0,.08);
    transition: width .15s;
}
.wt-sidebar-reopen:hover { width: 32px; }
.wt-sidebar-reopen.visible { display: flex; }
/* Mobile overlay */
.wt-sidebar-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.35); z-index: 1029;
}
.wt-sidebar-overlay.active { display: block; }


/* ------------------------------------------------------------
   MAIN CONTENT AREA
   ------------------------------------------------------------ */
.wt-main {
    margin-left: var(--wt-sidebar-w);
    padding: 24px;
    min-height: calc(100vh - var(--wt-topnav-h));
    transition: margin-left .3s cubic-bezier(.4,0,.2,1),
                margin-right .35s cubic-bezier(.4,0,.2,1);
}
.wt-main.sidebar-hidden { margin-left: 36px; }
.wt-main.drawer-open { margin-right: var(--wt-drawer-w); }


/* ------------------------------------------------------------
   RIGHT DRAWER
   ------------------------------------------------------------ */
.wt-drawer {
    position: fixed;
    top: var(--wt-topnav-h); right: 0; bottom: 0;
    width: var(--wt-drawer-w);
    background: var(--wt-surface-bg);
    z-index: 1035;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: -4px 0 24px rgba(0,0,0,.06);
    border-left: 1px solid var(--wt-surface-border);
}
.wt-drawer.open { transform: translateX(0); }
.wt-drawer-header {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--wt-surface-border);
    flex-shrink: 0;
}
.wt-drawer-title { font-weight: 700; font-size: .95rem; }
.wt-drawer-close {
    margin-left: auto; width: 32px; height: 32px; border-radius: 8px;
    border: none; background: transparent;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; color: var(--wt-brand-gray-400);
    transition: all .15s;
}
.wt-drawer-close:hover { background: var(--wt-surface-hover); color: var(--wt-brand-gray-700); }
.wt-drawer-body {
    flex: 1; overflow-y: auto; padding: 18px;
}
.wt-drawer-link {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 10px; border-radius: 8px;
    text-decoration: none; color: var(--wt-brand-gray-700);
    font-size: .84rem; transition: background .12s; margin-bottom: 2px;
}
.wt-drawer-link:hover {
    background: var(--wt-surface-hover, rgba(0,0,0,.03));
    color: var(--wt-brand-gray-900);
}
/* Right edge reopen tab */
.wt-drawer-reopen {
    position: fixed; top: 100px; right: 0;
    width: 28px; height: 40px;
    border-radius: 8px 0 0 8px;
    border: 1px solid var(--wt-brand-gray-300); border-right: none;
    background: var(--wt-brand-gray-200);
    display: none; align-items: center; justify-content: center;
    cursor: pointer; z-index: 1031;
    box-shadow: -2px 0 8px rgba(0,0,0,.08);
    font-size: .8rem; color: var(--wt-brand-gray-600);
}
.wt-drawer-reopen.visible { display: flex; }

/* Drawer trigger button (inline, placed in page headers) */
.wt-btn-drawer-trigger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--wt-radius-pill);
    background: var(--wt-brand-black); color: var(--wt-brand-white);
    border: none; cursor: pointer;
    font-size: .82rem; font-weight: 600;
    transition: all .2s; letter-spacing: .02em;
}
.wt-btn-drawer-trigger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}


/* ------------------------------------------------------------
   BRAND TABS
   ------------------------------------------------------------ */
.wt-brand-tabs {
    display: flex; gap: 4px;
    border-bottom: 2px solid var(--wt-surface-border);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.wt-brand-tab {
    padding: 10px 20px;
    font-size: .88rem; font-weight: 500;
    color: var(--wt-brand-gray-500);
    background: none; border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
    display: flex; align-items: center; gap: 8px;
}
.wt-brand-tab:hover { color: var(--wt-brand-gray-800); }
.wt-brand-tab.active {
    font-weight: 700;
    border-bottom-color: var(--wt-brand-black);
    color: var(--wt-brand-gray-900);
}
.wt-brand-tab .wt-tab-dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block; flex-shrink: 0;
}
.wt-brand-tab[data-brand="lw"] .wt-tab-dot { background: var(--wt-lw-color); }
.wt-brand-tab[data-brand="et"] .wt-tab-dot { background: var(--wt-et-color); }
.wt-brand-tab[data-brand="wh"] .wt-tab-dot { background: var(--wt-wh-color); }
.wt-brand-tab[data-brand="wb"] .wt-tab-dot { background: var(--wt-wb-color); }
/* Active tab dot gets a glow */
.wt-brand-tab.active .wt-tab-dot { box-shadow: 0 0 0 3px rgba(0,0,0,.1); }


/* ------------------------------------------------------------
   PAGE HEADER
   ------------------------------------------------------------ */
.wt-page-header {
    margin-bottom: 20px;
}
.wt-page-header h1 {
    font-size: 1.35rem; font-weight: 800; margin: 0;
    color: var(--wt-brand-gray-900);
    display: flex; align-items: center; gap: 10px;
}
.wt-page-header p {
    color: var(--wt-brand-gray-500); margin: 4px 0 0; font-size: .88rem;
}


/* ------------------------------------------------------------
   CARDS
   ------------------------------------------------------------ */
.wt-card {
    background: var(--wt-surface-bg);
    border: 1px solid var(--wt-surface-border);
    border-radius: var(--wt-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--wt-shadow-sm);
}
.wt-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--wt-surface-border);
    font-weight: 700; font-size: .9rem;
}
.wt-card-body { padding: 18px; }

/* Request card (clickable, with hover) */
.wt-request-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: var(--wt-surface-bg);
    border: 1px solid var(--wt-surface-border);
    border-radius: var(--wt-radius-md);
    text-decoration: none; color: var(--wt-brand-gray-700);
    transition: all .15s; cursor: pointer;
    margin-bottom: 10px;
}
.wt-request-card:hover {
    border-color: var(--wt-brand-gray-300);
    box-shadow: var(--wt-shadow-md);
    transform: translateY(-1px);
    color: var(--wt-brand-gray-900);
}
.wt-request-card-icon {
    width: 44px; height: 44px; border-radius: var(--wt-radius-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 1.1rem;
}
.wt-request-card-title {
    font-weight: 700; font-size: .88rem;
    color: var(--wt-brand-gray-900);
}
.wt-request-card-desc {
    font-size: .78rem; color: var(--wt-brand-gray-500); margin-top: 2px;
}
.wt-request-card-arrow {
    margin-left: auto; color: var(--wt-brand-gray-300);
    font-size: .8rem; flex-shrink: 0;
}


/* ------------------------------------------------------------
   STAT CARDS
   ------------------------------------------------------------ */
.wt-stats { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.wt-stat {
    flex: 1; min-width: 120px;
    background: var(--wt-surface-bg);
    border: 1px solid var(--wt-surface-border);
    border-radius: var(--wt-radius-md);
    padding: 14px 16px;
    box-shadow: var(--wt-shadow-sm);
}
.wt-stat-val { font-size: 1.35rem; font-weight: 800; color: var(--wt-brand-gray-900); }
.wt-stat-lbl { font-size: .72rem; color: var(--wt-brand-gray-500); margin-top: 2px; }


/* ------------------------------------------------------------
   BADGES
   ------------------------------------------------------------ */
.wt-badge {
    display: inline-flex; align-items: center; gap: .3em;
    padding: 3px 10px; border-radius: var(--wt-radius-pill);
    font-size: .72rem; font-weight: 600; white-space: nowrap;
}
.wt-badge--success { background: var(--wt-success-light); color: var(--wt-success); }
.wt-badge--warning { background: var(--wt-warning-light); color: var(--wt-accent-dark); }
.wt-badge--danger  { background: var(--wt-danger-light);  color: var(--wt-danger); }
.wt-badge--info    { background: var(--wt-info-light);    color: var(--wt-info); }
.wt-badge--muted   { background: var(--wt-brand-gray-100);color: var(--wt-brand-gray-500); }
.wt-badge--lw      { background: var(--wt-lw-bg);         color: var(--wt-lw-color); }
.wt-badge--et      { background: var(--wt-et-bg);         color: var(--wt-et-color); }
.wt-badge--wh      { background: var(--wt-wh-bg);         color: var(--wt-wh-color); }
.wt-badge--wb      { background: var(--wt-wb-bg);         color: var(--wt-wb-color); }


/* ------------------------------------------------------------
   FLOATING ACTION BUTTON (FAB)
   ------------------------------------------------------------ */
.wt-fab {
    position: fixed; z-index: 1050;
    bottom: 24px; right: 24px;
    height: 52px;
    padding: 0 22px;
    border-radius: var(--wt-radius-pill);
    background: var(--wt-brand-black);
    color: var(--wt-brand-white);
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer;
    font-size: .88rem; font-weight: 700;
    transition: all .2s;
    letter-spacing: .02em;
}
.wt-fab:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.wt-fab i { font-size: 1rem; }


/* ------------------------------------------------------------
   TABLE
   ------------------------------------------------------------ */
.wt-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.wt-table th {
    text-align: left; padding: 10px 16px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: var(--wt-brand-gray-400);
    border-bottom: 2px solid var(--wt-surface-border);
}
.wt-table td {
    padding: 10px 16px; font-size: .84rem;
    border-bottom: 1px solid rgba(0,0,0,.04);
    vertical-align: middle;
}
.wt-table tr:hover td { background: var(--wt-surface-hover); }


/* ------------------------------------------------------------
   FILTER PILLS
   ------------------------------------------------------------ */
.wt-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.wt-filter-pill {
    padding: 6px 16px; border-radius: var(--wt-radius-pill);
    font-size: .82rem; font-weight: 500;
    color: var(--wt-brand-gray-600);
    background: var(--wt-surface-bg);
    border: 2px solid var(--wt-surface-border);
    cursor: pointer; transition: all .15s;
}
.wt-filter-pill:hover { border-color: var(--wt-brand-gray-400); }
.wt-filter-pill.active {
    background: var(--wt-brand-gray-900);
    color: var(--wt-brand-white);
    border-color: var(--wt-brand-gray-900);
    font-weight: 700;
}


/* ------------------------------------------------------------
   EMPTY STATE
   ------------------------------------------------------------ */
.wt-empty {
    text-align: center; padding: 48px 24px;
    color: var(--wt-brand-gray-400);
}
.wt-empty i { font-size: 2rem; display: block; margin-bottom: 10px; }
.wt-empty-title { font-size: .92rem; font-weight: 600; color: var(--wt-brand-gray-500); margin-bottom: 4px; }
.wt-empty-desc  { font-size: .82rem; }


/* ------------------------------------------------------------
   HOME PAGE
   ------------------------------------------------------------ */
.wt-home-hero {
    text-align: center;
    padding: 32px 16px 8px;
}
.wt-home-hero-logo {
    height: 80px;
    width: auto;
    margin-bottom: 12px;
}
.wt-home-hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--wt-brand-gray-900);
    margin: 0 0 6px;
    letter-spacing: -.02em;
}
.wt-home-hero p {
    color: var(--wt-brand-gray-500);
    font-size: .9rem;
    margin: 0;
}
.wt-home-section {
    margin-bottom: 28px;
}
.wt-home-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--wt-brand-gray-400);
    margin-bottom: 12px;
}
.wt-home-section-title i {
    font-size: .82rem;
}
.wt-home-category {
    margin-bottom: 16px;
}
.wt-home-category-label {
    margin-bottom: 10px;
}
.wt-home-brand-dots {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}
.wt-home-brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* FAB popup menu */
.wt-fab-menu {
    display: none;
    position: fixed;
    bottom: 84px;
    right: 24px;
    z-index: 1051;
    background: var(--wt-surface-bg);
    border-radius: var(--wt-radius-lg);
    box-shadow: var(--wt-shadow-lg);
    border: 1px solid var(--wt-surface-border);
    min-width: 230px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.wt-fab-menu.open { display: block; }
.wt-fab-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: var(--wt-brand-gray-700);
    font-size: .88rem;
    font-weight: 500;
    transition: background .12s;
    border-bottom: 1px solid var(--wt-brand-gray-100);
}
.wt-fab-menu-item:last-child { border-bottom: none; }
.wt-fab-menu-item:hover {
    background: var(--wt-surface-hover);
    color: var(--wt-brand-gray-900);
}
.wt-fab-menu-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .88rem;
}
/* FAB overlay for closing */
.wt-fab-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1049;
}
.wt-fab-overlay.open { display: block; }


/* ------------------------------------------------------------
   FORMS
   ------------------------------------------------------------ */
.wt-form-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wt-brand-gray-500);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 500;
    margin-bottom: 16px;
    transition: color .12s;
}
.wt-form-back:hover { color: var(--wt-brand-gray-800); }
.wt-form-hero {
    text-align: center;
    padding: 16px 16px 0;
    margin-bottom: 8px;
}
.wt-form-hero h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--wt-brand-gray-900);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.wt-form-hero p {
    color: var(--wt-brand-gray-500);
    font-size: .85rem;
    margin: 0;
}
.wt-form-section-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .85rem;
}
.wt-form-required {
    color: var(--wt-danger);
    font-weight: 700;
    margin-left: 2px;
}
.wt-form-label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--wt-brand-gray-700);
    margin-bottom: 5px;
}
.wt-form-help {
    font-size: .75rem;
    color: var(--wt-brand-gray-400);
    margin-top: 3px;
}
.wt-form-group {
    margin-bottom: 18px;
}
.wt-form-group:last-child {
    margin-bottom: 0;
}
.wt-form-radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wt-form-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--wt-brand-gray-50);
    border: 1px solid var(--wt-surface-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: .84rem;
    font-weight: 500;
    color: var(--wt-brand-gray-700);
    transition: all .12s;
    min-width: 100px;
    flex: 1;
    max-width: 200px;
}
.wt-form-radio-option:hover {
    border-color: var(--wt-brand-gray-400);
    background: var(--wt-surface-hover);
}
.wt-form-radio-option input[type="radio"],
.wt-form-radio-option input[type="checkbox"] {
    accent-color: var(--wt-brand-black);
    width: 16px;
    height: 16px;
    margin: 0;
}
.wt-form-check-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.wt-form-check-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--wt-brand-gray-50);
    border: 1px solid var(--wt-surface-border);
    border-radius: 8px;
    cursor: pointer;
    font-size: .84rem;
    font-weight: 500;
    color: var(--wt-brand-gray-700);
    transition: all .12s;
}
.wt-form-check-option:hover {
    border-color: var(--wt-brand-gray-400);
}
.wt-form-check-option input[type="checkbox"] {
    accent-color: var(--wt-brand-black);
    width: 16px;
    height: 16px;
    margin: 0;
}
.wt-form-subsection {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--wt-brand-gray-400);
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--wt-brand-gray-200);
}
.wt-form-submit-bar {
    text-align: center;
    padding: 8px 0 20px;
}
.wt-form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border: none;
    border-radius: var(--wt-radius-pill);
    background: var(--wt-brand-black);
    color: var(--wt-brand-white);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    letter-spacing: .02em;
}
.wt-form-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.wt-form-submit-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form rows (side-by-side fields) */
.wt-form-row {
    display: flex;
    gap: 16px;
}
.wt-form-row > .wt-form-group {
    flex: 1;
}

/* Form check grid (2-column checkbox/radio layout) */
.wt-form-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
}

/* Location multi-select (shared across all multi-location forms) */
.wt-loc-brand-group { margin-bottom: 16px; }
.wt-loc-brand-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 0; margin-bottom: 6px;
    border-bottom: 1px solid var(--wt-surface-border);
}
.wt-loc-brand-count {
    font-size: .72rem; color: var(--wt-brand-gray-400); font-weight: 600;
}
.wt-loc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
}
.wt-loc-check {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 8px;
    cursor: pointer; font-size: .82rem; color: var(--wt-brand-gray-700);
    transition: background .12s;
}
.wt-loc-check:hover { background: var(--wt-surface-hover, rgba(0,0,0,.03)); }
.wt-loc-check input[type="checkbox"] { flex-shrink: 0; }
.wt-loc-name { font-weight: 500; }
.wt-loc-region {
    font-size: .72rem; color: var(--wt-brand-gray-400);
    margin-left: auto; white-space: nowrap;
}


/* ------------------------------------------------------------
   PLACEHOLDER SHIMMER
   ------------------------------------------------------------ */
.wt-placeholder {
    background: var(--wt-brand-gray-100);
    border-radius: var(--wt-radius-md);
    padding: 48px 24px;
    text-align: center;
    color: var(--wt-brand-gray-400);
    font-size: .85rem;
    border: 2px dashed var(--wt-brand-gray-200);
}


/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.wt-footer {
    margin-top: 40px; padding: 16px 0;
    border-top: 1px solid var(--wt-surface-border);
    text-align: center;
    font-size: .75rem; color: var(--wt-brand-gray-400);
}


/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1023px) {
    .wt-sidebar {
        transform: translateX(-100%);
        z-index: 1040;
    }
    .wt-sidebar.mobile-open {
        transform: translateX(0);
    }
    .wt-main {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .wt-sidebar-reopen { display: flex !important; }
    .wt-drawer { width: min(360px, 85vw); }
    .wt-navbar-toggle { display: block; }
}

@media (max-width: 767px) {
    .wt-main { padding: 16px 12px; }
    .wt-stats { flex-direction: column; }
    .wt-stat { padding: 12px 16px; }
    .wt-brand-tabs { gap: 0; }
    .wt-brand-tab { padding: 10px 14px; font-size: .82rem; }
    .wt-fab { bottom: 20px; right: 16px; height: 48px; padding: 0 18px; font-size: .82rem; }
    .wt-fab-menu { bottom: 76px; right: 16px; min-width: 210px; max-height: calc(100vh - 120px); }
    .wt-home-hero { padding: 24px 12px 4px; }
    .wt-home-hero-logo { height: 60px; }
    .wt-home-hero h1 { font-size: 1.3rem; }
    /* Admin filter bar: stack on mobile */
    .wt-filter-bar { flex-direction: column; align-items: stretch; }
    .wt-filter-bar .form-select,
    .wt-filter-bar .form-control { width: 100%; min-width: 0; }
    /* Admin tables: ensure horizontal scroll + min touch targets */
    .wt-card-body table td,
    .wt-card-body table th { white-space: nowrap; }
    .wt-card-body table td { padding-top: 10px; padding-bottom: 10px; }
    /* Drawer full width on small screens */
    .wt-drawer { width: 100vw; max-width: 100vw; }
    /* Sidebar links: bigger touch targets on mobile overlay */
    .wt-sidebar-link { padding: 10px 12px; font-size: .88rem; }
    /* Full-width submit button on mobile */
    .wt-form-submit-btn { width: 100%; justify-content: center; }
    /* Form hero: smaller icon on mobile */
    .wt-form-hero h1 { font-size: 1.2rem; }
}

@media (max-width: 575px) {
    .wt-page-header h1 { font-size: 1.15rem; }
    .wt-request-card { padding: 12px 14px; }
    .wt-request-card-icon { width: 38px; height: 38px; }
    /* Stack form check grids and location grids to single column */
    .wt-form-check-grid { grid-template-columns: 1fr; }
    .wt-loc-grid { grid-template-columns: 1fr; }
    /* Side-by-side form fields stack on mobile */
    .wt-form-row { flex-direction: column; gap: 0; }
}

/* ---- Form Validation ---- */
.wt-form-radio-group.is-invalid {
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 6px 10px;
}
.wt-val-msg {
    color: #dc3545;
    font-size: .82rem;
    font-weight: 600;
}
.wt-form-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}
