/* ============================================================
   ProjectPlan — Stylesheet
   Theme: Dark Chrome | Light Content
   VertexIQ Labs | June 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
    --bg-base: #0b0f2a;
    --bg-surface: #111535;
    --bg-card: #161b40;
    --bg-card-hover: #1c2249;
    --bg-input: #1a1f45;
    --border-color: #2a3060;
    --border-subtle: #1e2448;
    --text-primary: #e8eaf6;
    --text-secondary: #8892b0;
    --text-muted: #4a5280;
    --text-accent: #ffffff;
    --sidebar-width: 80px;
    --sidebar-bg: #0d1130;
    --sidebar-border: #1a1f45;
    --topbar-height: 56px;
    --topbar-bg: #111535;
    --accent-blue: #4f8ef7;
    --accent-blue-glow: rgba(79, 142, 247, 0.15);
    --accent-purple: #7c3aed;
    --accent-teal: #06b6d4;
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.12);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.12);
    --info: #4f8ef7;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --shadow-card: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-glow: 0 0 20px rgba(79, 142, 247, 0.12);
    --transition: all 0.2s ease;
    --filter-panel-width: 450px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100vh;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

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

    a:hover {
        color: #7aa8fb;
    }

/* ─────────────────────────────────────────
   TOP NAV
───────────────────────────────────────── */
.top-nav {
    height: var(--topbar-height);
    background: var(--topbar-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.top-nav-logo {
    width: var(--sidebar-width);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-right: 1px solid var(--border-subtle);
    height: 100%;
}

.logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.top-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 20px;
}

.user-name {
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .user-name i {
        color: var(--accent-blue);
        font-size: 15px;
    }

.btn-logout {
    color: var(--text-secondary);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

    .btn-logout:hover {
        color: var(--text-accent);
    }

/* ─────────────────────────────────────────
   APP CONTAINER
───────────────────────────────────────── */
.app-container {
    display: flex;
    height: calc(100vh - var(--topbar-height));
    margin-top: var(--topbar-height);
}

/* ─────────────────────────────────────────
   LEFT TOOLBAR
───────────────────────────────────────── */
.left-toolbar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 16px;
    gap: 4px;
    flex-shrink: 0;
}

.toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

    .toolbar-item i {
        font-size: 18px;
    }

    .toolbar-item:hover {
        background: var(--bg-card);
        color: var(--text-primary);
    }

    .toolbar-item.active {
        background: var(--accent-blue-glow);
        color: var(--accent-blue);
        box-shadow: 0 0 0 1px rgba(79, 142, 247, 0.2);
    }

/* ─────────────────────────────────────────
   MAIN CONTENT
───────────────────────────────────────── */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: #f0f2f5;
}

    .main-content.map-page {
        padding: 0;
        overflow: hidden;
    }

/* ─────────────────────────────────────────
   DASHBOARD
───────────────────────────────────────── */
.dashboard-container {
    max-width: 1400px;
}

.page-header {
    margin-bottom: 24px;
}

    .page-header h1 {
        font-size: 22px;
        font-weight: 700;
        color: #1a1a2e;
        font-family: 'Montserrat', sans-serif;
    }

        .page-header h1 span {
            color: var(--accent-blue);
        }

    .page-header p {
        color: #718096;
        font-size: 13px;
        margin-top: 4px;
    }

/* ─────────────────────────────────────────
   KPI CARDS
───────────────────────────────────────── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

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

    .kpi-card:hover {
        background: #f8f9ff;
        border-color: var(--accent-blue);
        box-shadow: var(--shadow-glow);
    }

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

    .kpi-icon.blue {
        background: var(--accent-blue-glow);
        color: var(--accent-blue);
    }

    .kpi-icon.green {
        background: var(--success-bg);
        color: var(--success);
    }

    .kpi-icon.orange {
        background: var(--warning-bg);
        color: var(--warning);
    }

    .kpi-icon.purple {
        background: rgba(124, 58, 237, 0.12);
        color: var(--accent-purple);
    }

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.kpi-label {
    font-size: 11px;
    color: #718096;
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ─────────────────────────────────────────
   DASHBOARD GRID
───────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-header {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

    .card-header h2 {
        font-size: 13px;
        font-weight: 700;
        color: #1a1a2e;
        display: flex;
        align-items: center;
        gap: 8px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

        .card-header h2 i {
            color: var(--accent-blue);
        }

.card-body {
    padding: 20px;
    background: #ffffff;
}

.placeholder-text {
    color: #a0aec0;
    font-size: 13px;
    font-style: italic;
}

/* ─────────────────────────────────────────
   PROJECTS PAGE — TOP BAR
───────────────────────────────────────── */
.projects-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
    gap: 16px;
}

.view-toggle {
    display: flex;
    background: #f0f2f5;
    border-radius: var(--radius-md);
    padding: 3px;
    gap: 2px;
}

.view-toggle-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .view-toggle-btn.active {
        background: #ffffff;
        color: #1a1a2e;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .view-toggle-btn:hover:not(.active) {
        color: #4a5568;
    }

.projects-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f0f2f5;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-filter:hover, .btn-filter.active {
        background: var(--accent-blue-glow);
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

.btn-new-project {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-new-project:hover {
        background: #3a7ae8;
        box-shadow: var(--shadow-glow);
    }

.projects-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ─────────────────────────────────────────
   PROJECTS PAGE — LAYOUT
───────────────────────────────────────── */
.projects-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.projects-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* ─────────────────────────────────────────
   FILTER SLIDING PANEL
───────────────────────────────────────── */
.filter-panel {
    width: var(--filter-panel-width);
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.filter-panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .filter-panel-header h3 {
        font-size: 13px;
        font-weight: 700;
        color: #1a1a2e;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

.btn-close-filter {
    background: none;
    border: 1px solid #e2e8f0;
    color: #a0aec0;
    font-size: 13px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

    .btn-close-filter:hover {
        background: #f0f2f5;
        color: #4a5568;
    }

.filter-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 14px;
}

.filter-group {
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.filter-group-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
}

.filter-panel-footer {
    padding: 12px 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-top: auto;
}

.btn-apply-filter {
    flex: 1;
    padding: 8px;
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-apply-filter:hover {
        background: #3a7ae8;
    }

.btn-clear-filter {
    padding: 8px 14px;
    background: #f0f2f5;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    color: #718096;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-clear-filter:hover {
        background: #e2e8f0;
    }

/* ─────────────────────────────────────────
   PROJECTS CONTENT AREA
───────────────────────────────────────── */
.projects-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────
   PROJECT LIST VIEW
───────────────────────────────────────── */
.project-list-view {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.project-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8f9ff;
    border-bottom: 1px solid #e2e8f0;
}

.project-table td {
    padding: 14px 16px;
    font-size: 13px;
    color: #4a5568;
    border-bottom: 1px solid #f0f2f5;
}

.project-table tr:last-child td {
    border-bottom: none;
}

.project-table tr:hover td {
    background: #f8f9ff;
}

/* ─────────────────────────────────────────
   STATUS BADGES
───────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-active {
    background: var(--success-bg);
    color: var(--success);
}

.badge-hold {
    background: var(--warning-bg);
    color: var(--warning);
}

.badge-approved {
    background: var(--accent-blue-glow);
    color: var(--accent-blue);
}

/* ─────────────────────────────────────────
   PROJECTS TITLE IN TOP BAR
───────────────────────────────────────── */
.projects-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    font-family: 'Montserrat', sans-serif;
}

/* ─────────────────────────────────────────
   PANEL HEADER BUTTON — NEW PROJECT
───────────────────────────────────────── */
.btn-new-project-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--accent-blue);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .btn-new-project-panel:hover {
        background: #3a7ae8;
        box-shadow: var(--shadow-glow);
    }

/* ─────────────────────────────────────────
   STEP INDICATOR
───────────────────────────────────────── */
.step-indicator {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: #f8f9ff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    flex-shrink: 0;
}

    .step-item.completed {
        cursor: pointer;
    }

.step-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #a0aec0;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.step-label {
    font-size: 9px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.step-item.active .step-circle {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.2);
}

.step-item.active .step-label {
    color: var(--accent-blue);
}

.step-item.completed .step-circle {
    background: var(--success);
    color: #ffffff;
}

.step-item.completed .step-label {
    color: var(--success);
}

.step-connector {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 4px;
    margin-bottom: 14px;
}

/* ─────────────────────────────────────────
   STEP CONTENT
───────────────────────────────────────── */
.step-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────
   FORM ROW — SIDE BY SIDE
───────────────────────────────────────── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

/* ─────────────────────────────────────────
   FORM ELEMENTS
───────────────────────────────────────── */
.form-group {
    margin-bottom: 8px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #4a5568;
    letter-spacing: 0.4px;
    margin-bottom: 3px;
}

.required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 6px 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: #2d3748;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.12);
    }

    .form-control.input-error {
        border-color: var(--danger);
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    }

textarea.form-control {
    resize: vertical;
    min-height: 60px;
}

.form-section-divider {
    font-size: 10px;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 4px 0 2px;
    border-top: 1px solid #f0f2f5;
    margin-top: 4px;
    margin-bottom: 6px;
}

/* ─────────────────────────────────────────
   DRAW TYPE TOGGLE (in panel)
───────────────────────────────────────── */
.create-project-map-prompt {
    background: #f8f9ff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px;
}

    .create-project-map-prompt p {
        font-size: 12px;
        color: #718096;
        margin-bottom: 10px;
        line-height: 1.5;
    }

.draw-type-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.draw-type-btn {
    flex: 1;
    padding: 7px 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .draw-type-btn.active {
        background: var(--accent-blue);
        border-color: var(--accent-blue);
        color: #ffffff;
    }

    .draw-type-btn:hover:not(.active) {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

.geometry-status {
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .geometry-status.success {
        color: var(--success);
    }

/* ─────────────────────────────────────────
   STEP FOOTER BUTTONS
───────────────────────────────────────── */
#newProjectFooter {
    gap: 6px;
}

    #newProjectFooter .btn-apply-filter,
    #newProjectFooter .btn-clear-filter {
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: center;
    }

/* ─────────────────────────────────────────
   FILTER PLACEHOLDER TEXT
───────────────────────────────────────── */
.filter-placeholder {
    color: #a0aec0;
    font-size: 12px;
    font-style: italic;
    padding: 8px 0;
}

/* ─────────────────────────────────────────
   FILTER & NEW PROJECT PANEL BODY FLEX
───────────────────────────────────────── */
#filterContent, #newProjectContent {
    display: flex;
    flex-direction: column;
}

/* ─────────────────────────────────────────
   MAP DRAW TOOLS
───────────────────────────────────────── */
.map-draw-tools {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.draw-tool-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    min-width: 130px;
}

    .draw-tool-btn:hover {
        background: #f8f9ff;
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

    .draw-tool-btn.active {
        background: var(--accent-blue);
        border-color: var(--accent-blue);
        color: #ffffff;
        box-shadow: var(--shadow-glow);
    }

    .draw-tool-btn.danger {
        border-color: #fed7d7;
        color: var(--danger);
    }

        .draw-tool-btn.danger:hover {
            background: var(--danger-bg);
            border-color: var(--danger);
        }

/* ─────────────────────────────────────────
   MAP VIEW
───────────────────────────────────────── */
.project-map-view {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#projectMap {
    width: 100%;
    height: 100%;
}
/* ─────────────────────────────────────────
   PILL BUTTONS
───────────────────────────────────────── */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pill-btn {
    padding: 4px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    color: #4a5568;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: all 0.15s ease;
}

    .pill-btn:hover {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

    .pill-btn.active {
        background: var(--accent-blue);
        border-color: var(--accent-blue);
        color: #ffffff;
    }

/* ─────────────────────────────────────────
   SCORE BUTTON
───────────────────────────────────────── */
.btn-score {
    width: 100%;
    padding: 10px;
    background: var(--accent-blue);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

    .btn-score:hover {
        background: #3a7de0;
    }

/* ─── STEP NAV HEADER ─── */
.step-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.step-nav-left {
    display: flex;
    gap: 6px;
}

.btn-step-nav {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

    .btn-step-nav:hover {
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

.btn-step-next {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
}

    .btn-step-next:hover {
        background: #3a7de0;
        border-color: #3a7de0;
        color: #ffffff;
    }

.btn-topbar-cancel {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

    .btn-topbar-cancel:hover {
        border-color: #e53e3e;
        color: #e53e3e;
    }

/* ─── SCORE RESULTS ─── */
.score-banner {
    background: var(--accent-blue);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.score-banner-label {
    font-size: 13px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.score-banner-value {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.score-meta {
    font-size: 11px;
    color: #718096;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.score-category {
    margin-bottom: 12px;
}

.score-category-header {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a1a2e;
    background: #f0f4ff;
    padding: 6px 10px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border: 1px solid #e2e8f0;
}

.score-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .score-table th {
        background: #f8fafc;
        padding: 4px 8px;
        text-align: left;
        font-weight: 600;
        border: 1px solid #e2e8f0;
        color: #4a5568;
    }

        .score-table th:last-child,
        .score-table td:last-child {
            text-align: center;
            width: 60px;
        }

    .score-table td {
        padding: 4px 8px;
        border: 1px solid #e2e8f0;
        color: #2d3748;
    }

    .score-table tbody tr:nth-child(even) td {
        background: #f8fafc;
    }

.score-total-row td {
    font-weight: 700;
    background: #edf2f7 !important;
}

.score-weighted-row td {
    font-weight: 700;
    background: #e8f0fe !important;
    color: var(--accent-blue);
}

    .score-weighted-row td:last-child {
        white-space: nowrap;
    }

.score-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-bottom: 16px;
}

.btn-score-action {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-submit-mpo {
    background: var(--accent-blue);
    color: #ffffff;
}

    .btn-submit-mpo:hover {
        background: #3a7de0;
    }

.btn-save-draft {
    background: #f0f4ff;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

    .btn-save-draft:hover {
        background: #e8f0fe;
    }

.score-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 12px;
}

.score-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
}

    .score-info-row + .score-info-row {
        border-top: 1px solid #f0f2f5;
        margin-top: 4px;
        padding-top: 7px;
    }

.score-info-label {
    font-size: 11px;
    font-weight: 600;
    color: #718096;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.score-info-value {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ─── TOAST NOTIFICATION ─── */
.toast-notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

    .toast-notification.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .toast-notification i {
        color: #48bb78;
    }

/* ─── PROJECT LIST ROW ─── */
.project-row {
    cursor: pointer;
    transition: background 0.15s ease;
}

    .project-row:hover td {
        background: #f0f4ff;
    }

/* ─── STATUS BADGES ─── */
.status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-scoring {
    background: #fef3c7;
    color: #92400e;
}

.status-draft {
    background: #e0e7ff;
    color: #3730a3;
}

.status-submitted {
    background: #d1fae5;
    color: #065f46;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

#submitOverlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.submit-overlay-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 40px 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

    .submit-overlay-content .fa-spinner {
        font-size: 36px;
        color: #4f8ef7;
    }

.submit-overlay-message {
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
}

.submit-overlay-sub {
    font-size: 13px;
    color: #64748b;
}

/* Status pill bar */
.status-pill-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: white;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    width: auto;
    height: auto;
}

    .status-pill.active {
        border-color: var(--accent-blue);
        background: #e8f0fe;
        color: var(--accent-blue);
    }

.status-pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

    .status-pill-dot.draft {
        background: #a78bfa;
    }

    .status-pill-dot.submitted {
        background: #38a169;
    }

    .status-pill-dot.approved {
        background: #3182ce;
    }

    .status-pill-dot.denied {
        background: #e53e3e;
    }

    .status-pill-dot.onhold {
        background: #dd6b20;
    }

/* Filter checkboxes */
.filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

    .filter-checkbox-item input[type="checkbox"] {
        width: 14px;
        height: 14px;
        cursor: pointer;
    }

.map-pin {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    cursor: pointer;
}

.map-popup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-width: 180px;
}

.map-popup-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.map-popup-row {
    font-size: 12px;
    color: #4a5568;
    margin-bottom: 3px;
}

.map-popup-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-blue);
}

/* ─── LOGIN ─── */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}

.login-logo {
    font-size: 40px;
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.login-field {
    text-align: left;
    margin-bottom: 16px;
}

.login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a202c;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

    .login-input:focus {
        border-color: var(--accent-blue);
    }

.login-code-input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.15s;
}

    .login-btn:hover {
        background: #3a7bd5;
    }

.login-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #e53e3e;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
}

.login-back {
    margin-top: 16px;
    font-size: 13px;
}

    .login-back a {
        color: var(--accent-blue);
        text-decoration: none;
    }