/* ============================================
   TP SunSolar ERP — styles.css
   Theme: "Sunrise" — เขียว #16A34A + ฟ้า #0EA5E9
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    /* tpsun-version=20260630fullwidth1 */
    /* ── Brand ── */
    --primary:       #16A34A;
    --primary-light: #22C55E;
    --primary-dark:  #15803D;
    --accent:        #0EA5E9;
    --accent-hover:  #0284C7;
    --success:       #16A34A;
    --warning:       #F59E0B;
    --danger:        #DC2626;
    --info:          #0EA5E9;
    --teal:          #06B6D4;
    --purple:        #7C3AED;

    /* ── Neutrals ── */
    --page-bg:       #F4F7F5;
    --card-bg:       #FFFFFF;
    --card-border:   #EBF0EE;
    --text:          #0F172A;
    --text-muted:    #64748B;
    --text-faint:    #94A3B8;
    --hairline:      #F1F5F4;
    --sub-surface:   #EFF3F1;
    --border:        #DBE3E0;

    /* ── Gray scale (kept for compatibility) ── */
    --gray-50:  #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E5EAE8;
    --gray-300: #DBE3E0;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #0F172A;

    /* ── Layout ── */
    --sidebar-rail-width: 72px;
    --sidebar-flyout-width: 300px;
    --sidebar-panel-width: calc(var(--sidebar-flyout-width) - var(--sidebar-rail-width));
    --sidebar-width: var(--sidebar-flyout-width);
    --topbar-height: 60px;
    --erp-page-gutter: clamp(10px, 1.05vw, 20px);
    --erp-mobile-gutter: clamp(10px, 3.2vw, 16px);
    --radius:        10px;
    --radius-card:   16px;
    --shadow:        0 1px 3px rgba(0,0,0,.05);
    --shadow-md:     0 4px 12px rgba(0,0,0,.08);
    --shadow-btn:    0 12px 24px -10px rgba(22,163,74,.6);
    --shadow-login:  0 30px 60px -28px rgba(15,42,30,.35);
}

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

html, body {
    /* กัน scrollbar แนวนอนระดับหน้า — element ที่ต้องเลื่อนนอนมี overflow-x:auto ของตัวเองอยู่แล้ว */
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    background: var(--page-bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── ตัวเลข stat/เงิน ใช้ Space Grotesk ── */
.kpi-value,
.stat-num,
.stat-box-value,
.space-grotesk { font-family: 'Space Grotesk', sans-serif; }

/* ============ SIDEBAR ============ */
.sidebar {
    position: fixed;
    left: 0; top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background:
        linear-gradient(90deg, #F6FAF8 0 var(--sidebar-rail-width), #FFFFFF var(--sidebar-rail-width) 100%);
    border-right: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform .3s;
    overflow: hidden;
}

@media (min-width: 901px) {
    .sidebar {
        width: var(--sidebar-flyout-width);
        box-shadow: 18px 0 44px rgba(15, 23, 42, .08);
    }
}

.sidebar-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding: 12px 10px 10px var(--sidebar-rail-width);
    position: relative;
    z-index: 1;
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,.35) transparent;
}

.sidebar-selected-panel .sidebar-rail-menu {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--sidebar-rail-width);
    bottom: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    overflow-y: auto;
    pointer-events: auto;
    scrollbar-width: none;
}

.sidebar-selected-panel .sidebar-rail-menu::-webkit-scrollbar {
    display: none;
}

.sidebar-rail-brand {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(17,38,54,.96), rgba(12,25,38,.98));
    border: 1px solid rgba(45,212,191,.75);
    box-shadow: 0 0 0 1px rgba(45,212,191,.18), 0 12px 28px rgba(0,0,0,.36);
}

.sidebar-rail-brand .logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(10,18,28,.86);
    border: 1px solid rgba(148,163,184,.34);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.sidebar-rail-divider {
    width: 34px;
    height: 1px;
    margin: 4px 0 6px;
    background: rgba(148,163,184,.28);
    flex: 0 0 auto;
}

.sidebar-rail-btn {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 5;
    border-radius: 15px;
    border: 1px solid transparent;
    background: transparent;
    color: #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    transition: background .16s ease, border-color .16s ease, transform .16s ease, color .16s ease;
}

.sidebar-rail-btn:hover,
.sidebar-rail-btn:focus-visible {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.14);
    outline: none;
}

.sidebar-rail-btn.active {
    background: rgba(249,115,22,.16);
    border-color: rgba(249,115,22,.62);
    color: #FDBA74;
    box-shadow: inset 0 0 0 1px rgba(249,115,22,.16);
}

.sidebar-selected-panel .nav-section {
    display: none;
}

.sidebar-selected-panel .nav-section.is-selected {
    display: block;
}

.sidebar-selected-panel .nav-section-trigger {
    pointer-events: none;
    cursor: default;
    color: #FDBA74;
}

.sidebar-selected-panel .nav-chevron {
    display: none;
}

.sidebar-selected-panel .nav-section.is-selected .nav-submenu {
    display: block;
}

.sidebar-header {
    padding: 18px 14px 14px calc(var(--sidebar-rail-width) + 14px);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
    z-index: 2;
}

.sidebar-header::before,
.sidebar-nav::before,
.sidebar-footer::before {
    content: '';
    position: absolute;
    left: var(--sidebar-rail-width);
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255,255,255,.12);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sidebar-brand-copy {
    min-width: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    flex-shrink: 0;
}
.logo-text {
    font-size: 15px;
    font-weight: 900;
    color: #F8FAFC;
    line-height: 1.18;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.logo-sub { font-size: 11px; color: #B6C4D6; margin-top: 7px; font-weight: 700; }

.sidebar-account-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) 34px;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    min-height: 54px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(2,12,10,.58);
    border: 1px solid rgba(134,239,172,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.sidebar-account-card .user-info {
    margin: 0;
    min-width: 0;
}

.sidebar-account-card .user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-account-logout {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 11px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #CBD5E1;
    background: rgba(15,23,42,.64);
    font: inherit;
    font-weight: 900;
}

.sidebar-account-logout:hover,
.sidebar-account-logout:focus-visible {
    color: #fff;
    border-color: rgba(134,239,172,.48);
    background: rgba(21,128,61,.24);
    outline: none;
}

@media (min-width: 901px) {
    .logo-text,
    .logo-sub,
    .sidebar-footer {
        opacity: 1;
        pointer-events: auto;
        transition: opacity .16s ease;
    }

    .sidebar:hover .logo-text,
    .sidebar:hover .logo-sub,
    .sidebar:hover .sidebar-footer,
    .sidebar:focus-within .logo-text,
    .sidebar:focus-within .logo-sub,
    .sidebar:focus-within .sidebar-footer {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Nav section group label */
.nav-section {
    padding: 8px 0 2px;
}

.nav-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #9CA3AF;
    padding: 4px 8px 6px;
    display: block;
}

@media (min-width: 901px) {
    .nav-section-label {
        height: auto;
        padding-top: 4px;
        padding-bottom: 6px;
        opacity: 1;
        overflow: visible;
        transition: height .16s ease, padding .16s ease, opacity .16s ease;
    }

    .sidebar:hover .nav-section-label,
    .sidebar:focus-within .nav-section-label {
        height: auto;
        padding-top: 4px;
        padding-bottom: 5px;
        opacity: 1;
    }
}

.nav-menu { list-style: none; }

.nav-section-trigger {
    width: 100%;
    margin: 0 0 2px;
    border: 0;
    background: transparent;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
}

.nav-section-trigger:hover,
.nav-section-trigger:focus-visible {
    background: rgba(255,255,255,.06);
    color: #E5E7EB;
    outline: none;
}

.nav-chevron {
    font-size: 10px;
    line-height: 1;
    transition: transform .16s ease;
}

.nav-submenu {
    display: none;
}

.nav-collapsible.open .nav-submenu,
.nav-collapsible.has-active .nav-submenu {
    display: block;
}

.nav-collapsible.open .nav-chevron,
.nav-collapsible.has-active .nav-chevron {
    transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .sidebar:not(.sidebar-selected-panel) .nav-submenu {
        display: block;
    }

    .sidebar:not(.sidebar-selected-panel) .nav-collapsible:hover .nav-submenu {
        display: block;
    }

    .sidebar:not(.sidebar-selected-panel) .nav-collapsible:hover .nav-chevron {
        transform: rotate(180deg);
    }
}

/* Nav link — white sidebar Sunrise style */
.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    color: #E2E8F0;
    border-radius: 12px;
    margin: 2px 0;
    transition: all .2s;
    font-size: 13.5px;
    cursor: pointer;
    text-decoration: none;
}

@media (min-width: 901px) {
    .nav-link {
        position: relative;
        width: 100%;
        min-height: 42px;
        justify-content: flex-start;
        gap: 11px;
        overflow: visible;
        font-size: 13.5px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .sidebar:hover .nav-link,
    .sidebar:focus-within .nav-link {
        width: 100%;
        justify-content: flex-start;
        gap: 11px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13.5px;
    }

    .nav-section-trigger {
        width: 100%;
        min-height: auto;
        margin-left: 0;
        margin-right: 0;
        padding-left: 8px;
        padding-right: 8px;
        overflow: visible;
    }

    .sidebar:hover .nav-section-trigger,
    .sidebar:focus-within .nav-section-trigger {
        width: 100%;
        min-height: auto;
    }

    .nav-chevron {
        display: inline;
    }

    .sidebar:hover .nav-chevron,
    .sidebar:focus-within .nav-chevron {
        display: inline;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: calc(-1 * var(--sidebar-rail-width) + 17px);
        width: 38px;
        height: 38px;
        border-radius: 13px;
        background: transparent;
        border: 1px solid transparent;
        transition: all .18s ease;
    }

    .nav-link:hover::before {
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.12);
    }

    .nav-link.active::before {
        background: rgba(249,115,22,.16);
        border-color: rgba(249,115,22,.62);
        box-shadow: inset 0 0 0 1px rgba(249,115,22,.16);
    }

    .nav-icon {
        position: absolute;
        left: calc(-1 * var(--sidebar-rail-width) + 25px);
        z-index: 1;
        width: 22px;
        color: #F8FAFC;
        filter: saturate(1.1);
    }

    .nav-link.active .nav-icon {
        color: #FDBA74;
    }

    .sidebar-selected-panel .nav-link::before {
        display: none;
    }

    .sidebar-selected-panel .nav-icon {
        position: static;
        width: 22px;
        color: inherit;
    }
}

.nav-link:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
}

/* Active = green pill */
.nav-link.active {
    background: rgba(22,163,74,.15);
    color: #86EFAC;
    font-weight: 700;
}

.nav-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }

/* Sidebar footer — white sidebar style */
.sidebar-footer {
    padding: 12px 14px 14px calc(var(--sidebar-rail-width) + 14px);
    border-top: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 901px) {
    .sidebar-footer {
        min-width: var(--sidebar-flyout-width);
    }
}

.user-info { margin-bottom: 8px; }
.user-name { font-weight: 700; font-size: 14px; color: #F8FAFC; }
.user-role { font-size: 11px; color: #86EFAC; }
.sidebar-logout-button {
    width: 100%;
    justify-content: center;
}

/* ============ TOPBAR (mobile) ============ */
.topbar {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid var(--card-border);
    color: var(--text);
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    z-index: 200;
}

.topbar-title { font-weight: 600; font-size: 16px; color: var(--primary); }

#sidebar-toggle {
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    margin-left: var(--sidebar-width);
    /* ใช้ 100% (ไม่ใช่ 100vw) — 100vw รวมความกว้าง scrollbar แนวตั้ง ทำให้หน้ายาวล้นขวา ~15px */
    width: calc(100% - var(--sidebar-width));
    max-width: none;
    padding: 18px var(--erp-page-gutter);
    min-height: 100vh;
    box-sizing: border-box;
}

/* NOTE: .main-content.ot-shell ถูกเอาออกจาก rule นี้ — มันคือตัว .main-content เอง (มี margin-left:sidebar)
   ถ้า set width:100% จะรวมกับ margin-left → ล้นขวา. ให้ ot-shell ใช้ width:calc(100% - sidebar) จาก .main-content */
.main-content > .att-shell,
.main-content .monitor-wrap,
.main-content.erp-dashboard-v2 #persona-container,
.main-content.erp-dashboard-v2 .dashboard-shell,
.main-content.erp-dashboard-v2 .exec-dashboard,
.main-content > .debug-shell {
    width: 100%;
    max-width: none !important;
}

/* ============ PAGE HEADER ============ */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.page-title { font-size: 22px; font-weight: 700; color: var(--text); }
.page-subtitle { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ============ KPI GRID ============ */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
}

/* KPI icon chip — tinted square 38-46px */
.kpi-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.kpi-icon.blue   { background: #E0F2FE; color: #0369A1; }
.kpi-icon.green  { background: #DCFCE7; color: #15803D; }
.kpi-icon.orange { background: #FEF3C7; color: #B45309; }
.kpi-icon.red    { background: #FEF2F2; color: #DC2626; }
.kpi-icon.purple { background: #EDE9FE; color: #6D28D9; }
.kpi-icon.teal   { background: #CFFAFE; color: #0E7490; }
.kpi-icon.amber  { background: #FEF3C7; color: #B45309; }

.kpi-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}
.kpi-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ============ CARD ============ */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
    flex-wrap: wrap;
    gap: 8px;
}

.card-title { font-size: 16px; font-weight: 700; color: var(--text); }
.card-body { padding: 20px; }

/* ============ TABLE ============ */
.table-container { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

th {
    background: var(--gray-50);
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--gray-600);
    border-bottom: 1px solid var(--card-border);
    white-space: nowrap;
}

td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--hairline);
    vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFDFB; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }

.btn-success { background: var(--success); color: #fff; box-shadow: var(--shadow-btn); }
.btn-success:hover { background: var(--primary-dark); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}
.btn-outline:hover { background: var(--sub-surface); }

.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-xs { padding: 3px 8px; font-size: 12px; }
.btn-icon { padding: 6px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-group { display: flex; gap: 6px; flex-wrap: wrap; }

/* ============ BADGES ============ */
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

/* Sunrise tinted badges */
.badge-green  { background: #DCFCE7; color: #15803D; }
.badge-blue   { background: #E0F2FE; color: #0369A1; }
.badge-orange { background: #FEF3C7; color: #B45309; }
.badge-amber  { background: #FEF3C7; color: #B45309; }
.badge-red    { background: #FEF2F2; color: #DC2626; }
.badge-gray   { background: #F1F5F9; color: #475569; }
.badge-teal   { background: #CFFAFE; color: #0E7490; }
.badge-purple { background: #EDE9FE; color: #6D28D9; }
.badge-yellow { background: #FEF3C7; color: #B45309; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 5px;
}

input, select, textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: border-color .2s;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}

textarea { resize: vertical; min-height: 80px; }

.form-hint { font-size: 12px; color: var(--text-faint); margin-top: 4px; }

/* Icon-prefixed input wrapper */
.input-icon-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    transition: border-color .2s;
}
.input-icon-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.input-icon-wrap input {
    border: none;
    padding: 0;
    flex: 1;
    border-radius: 0;
    box-shadow: none !important;
}
.input-icon-wrap input:focus { border: none; box-shadow: none; }

/* ============ SEARCH/FILTER BAR ============ */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.filter-bar input, .filter-bar select {
    width: auto;
    min-width: 160px;
}

/* ============ MODAL ============ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 1;
}

.modal-title { font-size: 16px; font-weight: 700; color: var(--text); }
.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    padding: 2px 6px;
    border-radius: 6px;
}
.modal-close:hover { background: var(--sub-surface); color: var(--text); }
.modal-body { padding: 20px; }

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--hairline);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: var(--card-bg);
}

/* ============ SEGMENTED CONTROL ============ */
/*
  Usage:
    <div class="segmented">
      <button class="seg-btn active">Tab A</button>
      <button class="seg-btn">Tab B</button>
    </div>
  JS: seg-btn.addEventListener('click', () => {
        parent.querySelectorAll('.seg-btn').forEach(b => b.classList.remove('active'));
        this.classList.add('active');
      });
*/
.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    background: var(--sub-surface);
    border-radius: 11px;
    padding: 4px;
}

.seg-btn {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
    transition: all .18s;
    white-space: nowrap;
}

.seg-btn:hover { color: var(--text); background: rgba(255,255,255,.5); }

.seg-btn.active {
    background: #fff;
    color: #15803D;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* ============ TOAST ============ */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    min-width: 240px;
    max-width: 360px;
    box-shadow: var(--shadow-md);
    animation: slideIn .3s ease;
}

.toast-success { background: var(--success); color: #fff; }
.toast-error   { background: var(--danger); color: #fff; }
.toast-info    { background: var(--accent); color: #fff; }

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

/* ============ LOADING ============ */
.loading-spinner {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 32px; height: 32px;
    border: 3px solid var(--card-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

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

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-faint);
}

.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state-text { font-size: 14px; }

/* ============ AVATAR ============ */
.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.emp-row { display: flex; align-items: center; gap: 10px; }
.emp-name { font-weight: 500; }
.emp-pos { font-size: 12px; color: var(--text-muted); }

/* ============ TABS (underline style) ============ */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--card-border); margin-bottom: 20px; }
.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all .2s;
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-btn:hover  { color: var(--primary); }

/* ============ PAGINATION ============ */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    padding: 16px;
}

.page-btn {
    min-width: 32px; height: 32px;
    border: 1px solid var(--card-border);
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

.page-btn:hover { background: var(--sub-surface); }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============ STAT BOX ============ */
.stat-box {
    background: var(--sub-surface);
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid var(--card-border);
}

.stat-box-title { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.stat-box-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

/* ============ MONTH PICKER ============ */
.month-picker {
    display: flex;
    align-items: center;
    gap: 8px;
}

.month-nav {
    background: none;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
}
.month-nav:hover { background: var(--sub-surface); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .topbar { display: flex; }

    .sidebar {
        width: min(86vw, 320px);
        background: #101513;
        transform: translateX(-100%);
        top: var(--topbar-height);
        height: calc(100vh - var(--topbar-height));
        box-shadow: 0 0 50px rgba(6,37,28,.18);
    }

    .sidebar-header,
    .sidebar-nav,
    .sidebar-footer {
        padding-left: 16px;
    }

    .sidebar-header::before,
    .sidebar-nav::before,
    .sidebar-footer::before {
        display: none;
    }

    .logo-text,
    .logo-sub,
    .sidebar-footer {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar.open { transform: translateX(0); }

    /* Scrim on mobile when sidebar open */
    .sidebar-scrim {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(6,37,28,.42);
        z-index: 99;
    }
    .sidebar.open ~ .sidebar-scrim { display: block; }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding: calc(var(--topbar-height) + 12px) var(--erp-mobile-gutter) 14px;
    }

    .kpi-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-bar input, .filter-bar select { min-width: unset; }
    .page-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .kpi-grid { grid-template-columns: 1fr; }
}

/* ============ DROPDOWN ACTION MENU ============ */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    z-index: 500;
    min-width: 160px;
    padding: 4px 0;
    white-space: nowrap;
}

.dropdown.open .dropdown-menu { display: block; }

.dropdown-menu-floating {
    position: fixed !important;
    z-index: 12000 !important;
    max-height: min(70vh, 360px);
    overflow-y: auto;
}

.dropdown-item {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 9px 16px;
    font-size: 13px;
    font-family: inherit;
    color: var(--gray-700);
    cursor: pointer;
    transition: background .12s;
}

.dropdown-item:hover {
    background: var(--sub-surface);
    color: var(--primary);
}

.dropdown-toggle {
    min-width: 34px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============ LOGIN PAGE — split layout ============ */
.login-page {
    min-height: 100vh;
    display: flex;
    background: var(--page-bg);
}

/* Left hero panel */
.login-hero {
    width: 46%;
    max-width: 620px;
    background: linear-gradient(150deg, #16A34A 0%, #0EA5E9 100%);
    position: relative;
    overflow: hidden;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    flex-shrink: 0;
}

/* Decorative circles */
.login-hero::before {
    content: '';
    position: absolute;
    right: -90px; top: -90px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    pointer-events: none;
}
.login-hero::after {
    content: '';
    position: absolute;
    right: 40px; bottom: -110px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    pointer-events: none;
}

.login-hero-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    position: relative;
    z-index: 1;
}

.login-hero-logo-chip {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-hero-brand-name {
    font-weight: 700;
    font-size: 19px;
}

.login-hero-content {
    position: relative;
    z-index: 1;
}

.login-hero-eyebrow {
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 14px;
}

.login-hero-headline {
    font-size: 38px;
    line-height: 1.18;
    font-weight: 700;
    margin: 0 0 18px;
}

.login-hero-sub {
    font-size: 15px;
    line-height: 1.7;
    opacity: .92;
    max-width: 420px;
    margin: 0;
}

.login-hero-stats {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.login-hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
}

.login-hero-stat-label {
    font-size: 13px;
    opacity: .85;
}

/* Right form panel */
.login-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-form-wrap {
    width: 100%;
    max-width: 380px;
}

.login-logo-img {
    height: 64px;
    width: auto;
    margin-bottom: 28px;
    display: block;
}

.login-heading {
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text);
}

.login-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 28px;
}

/* Login error box */
.login-error {
    background: #FEF2F2;
    color: #DC2626;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
    border: 1px solid #FCA5A5;
}

.login-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
}

.login-btn-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-btn);
    transition: background .2s;
}
.login-btn-submit:hover { background: var(--primary-dark); }

/* ============ ERP Light Shell Override (20260630light1) ============ */
.sidebar {
    background: linear-gradient(90deg, #F6FAF8 0 var(--sidebar-rail-width), #FFFFFF var(--sidebar-rail-width) 100%);
    border-right-color: #DCE8E2;
    color: var(--text);
}

@media (min-width: 901px) {
    .sidebar {
        box-shadow: 14px 0 34px rgba(15, 42, 30, .08);
    }
}

.sidebar-header {
    border-bottom-color: #E5EEE9;
}

.sidebar-header::before,
.sidebar-nav::before,
.sidebar-footer::before {
    background: #DCE8E2;
}

.sidebar-rail-brand {
    background: #FFFFFF;
    border-color: #B7E4C8;
    box-shadow: 0 10px 24px rgba(22, 163, 74, .12);
}

.sidebar-rail-brand .logo-icon,
.logo-icon {
    background: #F1F8F4;
    border-color: #D8E9E0;
    box-shadow: none;
}

.sidebar-rail-divider {
    background: #D7E2DD;
}

.sidebar-rail-btn {
    color: #334155;
}

.sidebar-rail-btn:hover,
.sidebar-rail-btn:focus-visible {
    background: #EAF7EF;
    border-color: #BBE7C9;
    color: var(--primary-dark);
}

.sidebar-rail-btn.active {
    background: #DCFCE7;
    border-color: #86EFAC;
    color: var(--primary-dark);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .12);
}

.logo-text {
    color: #0F172A;
    text-shadow: none;
}

.logo-sub {
    color: #64748B;
}

.sidebar-account-card {
    background: #F8FCFA;
    border-color: #D6ECE0;
    box-shadow: none;
}

.sidebar-account-logout {
    background: #FFFFFF;
    border-color: #D8E2DD;
    color: #475569;
}

.sidebar-account-logout:hover,
.sidebar-account-logout:focus-visible {
    background: #EAF7EF;
    border-color: #86EFAC;
    color: var(--primary-dark);
}

.sidebar-selected-panel .nav-section-trigger {
    color: var(--primary-dark);
}

.nav-section-label {
    color: #64748B;
}

.nav-section-trigger:hover,
.nav-section-trigger:focus-visible {
    background: #F1F8F4;
    color: var(--primary-dark);
}

.nav-link {
    color: #334155;
}

@media (min-width: 901px) {
    .nav-link:hover::before {
        background: #EAF7EF;
        border-color: #BBE7C9;
    }

    .nav-link.active::before {
        background: #DCFCE7;
        border-color: #86EFAC;
        box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .1);
    }

    .nav-icon {
        color: #334155;
    }

    .nav-link.active .nav-icon {
        color: var(--primary-dark);
    }
}

.nav-link:hover {
    background: #F1F8F4;
    color: var(--primary-dark);
}

.nav-link.active {
    background: #E7F7EC;
    color: var(--primary-dark);
}

.sidebar-footer {
    border-top-color: #E5EEE9;
}

.user-name {
    color: #0F172A;
}

.user-role {
    color: var(--primary-dark);
}
.login-btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.login-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 13.5px;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    cursor: pointer;
    user-select: none;
}

.login-footer-copy {
    text-align: center;
    font-size: 13px;
    color: var(--text-faint);
    margin: 22px 0 0;
}

/* Hide hero on mobile */
@media (max-width: 768px) {
    .login-hero { display: none; }
    .login-right { padding: 32px 20px; }
}

/* Fallback: old .login-card for backward compat (not used in new login.html) */
.login-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-login);
}

/* ============ MISC UTILITY ============ */
.text-muted  { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-danger  { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-success { color: var(--success); }
.text-accent  { color: var(--accent); }

.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }

/* View entrance animation */
.erp-view {
    animation: viewIn .26s ease both;
}
@keyframes viewIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ SALES DOCUMENT SHELL ============ */
.sales-doc-shell {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    margin: -4px 0 20px;
    padding: 14px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.sales-doc-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sales-doc-eyebrow {
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sales-doc-title {
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.sales-doc-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 8px;
    min-width: 0;
}

.sales-doc-stagebar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}

.sales-doc-stage {
    flex: 0 1 auto;
    min-height: 34px;
    border: 1px solid var(--card-border);
    background: #fff;
    color: var(--gray-600);
    border-radius: 8px;
    padding: 7px 12px;
    font: 700 12px 'IBM Plex Sans Thai', sans-serif;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.sales-doc-stage:hover {
    border-color: rgba(22, 163, 74, .45);
    color: var(--primary);
}

.sales-doc-stage.active {
    background: var(--primary-soft);
    border-color: rgba(22, 163, 74, .45);
    color: var(--primary-dark);
    box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .12);
}

.sales-doc-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.sales-doc-tab:hover {
    color: var(--text);
    background: #fff;
    border-color: rgba(22, 163, 74, .32);
    transform: translateY(-1px);
}

.sales-doc-tab.active {
    background: linear-gradient(135deg, rgba(22, 163, 74, .12), rgba(14, 165, 233, .11));
    border-color: rgba(22, 163, 74, .42);
    color: var(--primary-dark);
}

.sales-doc-code {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid rgba(22, 163, 74, .18);
    flex-shrink: 0;
}

.sales-doc-tab b {
    display: block;
    font-size: 13.5px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.sales-doc-tab small {
    display: block;
    color: var(--text-muted);
    font-size: 11.5px;
    line-height: 1.25;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

.sales-doc-missing {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.sales-doc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #F8FAFC;
    border: 1px dashed var(--gray-300);
    color: var(--text-muted);
    font-size: 12px;
    white-space: nowrap;
}

.sales-doc-chip span {
    color: var(--gray-600);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 800;
}

.planning-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.planning-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.planning-eyebrow {
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.planning-title {
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.planning-note {
    max-width: 360px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.planning-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 8px;
    min-width: 0;
}

.planning-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--gray-700);
    background: var(--gray-50);
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.planning-tab:hover {
    color: var(--text);
    background: #fff;
    border-color: rgba(22, 163, 74, .32);
    transform: translateY(-1px);
}

.planning-tab.active {
    background: linear-gradient(135deg, rgba(22, 163, 74, .12), rgba(245, 158, 11, .10));
    border-color: rgba(22, 163, 74, .42);
    color: var(--primary-dark);
}

.planning-code {
    width: 42px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(22, 163, 74, .18);
    flex-shrink: 0;
}

.planning-tab b {
    display: block;
    font-size: 13.5px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.planning-tab small {
    display: block;
    color: var(--text-muted);
    font-size: 11.5px;
    line-height: 1.25;
    margin-top: 2px;
    overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
    .sales-doc-tabs { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
    .planning-tabs { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}

@media (max-width: 640px) {
    .sales-doc-shell { padding: 12px; }
    .sales-doc-heading { align-items: flex-start; flex-direction: column; }
    .sales-doc-tabs { grid-template-columns: 1fr; }
    .sales-doc-tab {
        border-radius: 10px;
        gap: 9px;
        min-height: 56px;
        padding: 9px 10px;
    }
    .sales-doc-code {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 12px;
    }
    .sales-doc-stagebar {
        gap: 7px;
        padding-top: 10px;
    }
    .sales-doc-stage {
        flex: 0 0 calc(50% - 4px);
        min-width: 0;
        width: calc(50% - 4px);
        padding: 7px 8px;
        text-align: center;
    }
    .sales-doc-missing { justify-content: flex-start; }
    .planning-shell { padding: 12px; }
    .planning-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .planning-note {
        max-width: none;
        text-align: left;
    }
    .planning-tabs { grid-template-columns: 1fr; }
    .planning-tab {
        border-radius: 10px;
        gap: 9px;
        min-height: 56px;
        padding: 9px 10px;
    }
    .planning-code {
        width: 38px;
        height: 34px;
        border-radius: 9px;
        font-size: 11px;
    }
}
