/* ============================================================
   JASAPRINT PERCETAKAN - ADMIN & OPERASIONAL STYLESHEET
   Matching Visual Reference 2
   ============================================================ */

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

:root {
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --sidebar-bg: #111a2e;
    --sidebar-hover: #1b2640;
    --sidebar-active: #1d72f2;
    --sidebar-text: #94a3b8;
    --sidebar-text-active: #ffffff;
    --sidebar-width: 240px;
    
    --bg-body: #f4f6fb;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Status & Brand Accents */
    --color-primary: #1d72f2;
    --color-red: #ef4444;
    --color-yellow: #f59e0b;
    --color-green: #10b981;
    --color-teal: #06b6d4;
    --color-purple: #8b5cf6;
    --color-orange: #f97316;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 14px 0 rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 13.5px;
    min-height: 100vh;
    display: flex;
}

/* ---------------- Sidebar ---------------- */
.admin-sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 20px 18px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.sidebar-menu {
    list-style: none;
    padding: 14px 12px;
    flex: 1;
}

.menu-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
    padding: 12px 10px 6px;
}

.sidebar-item {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--sidebar-text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
}

.sidebar-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-link svg, .sidebar-link i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background-color: var(--sidebar-hover);
    color: #ffffff;
}

.sidebar-item.active > .sidebar-link {
    background-color: var(--sidebar-active);
    color: var(--sidebar-text-active);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(29, 114, 242, 0.35);
}

.sidebar-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Sidebar Submenu */
.sidebar-submenu {
    list-style: none;
    padding: 4px 0 6px 36px;
    display: none;
}

.sidebar-submenu.show {
    display: block;
}

.sidebar-submenu a {
    display: block;
    padding: 6px 12px;
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s;
}

.sidebar-submenu a:hover, .sidebar-submenu a.active {
    color: #ffffff;
}

/* Sidebar Bottom Printer Illustration */
.sidebar-banner {
    margin: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-banner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
}

.sidebar-banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    font-style: italic;
}

/* ---------------- Main Content Layout ---------------- */
.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
}

/* ---------------- Top Navbar ---------------- */
.admin-navbar {
    height: 64px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toggle-sidebar-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-main);
}

.nav-tagline {
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
}

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

.nav-clock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.nav-notifications {
    position: relative;
    cursor: pointer;
    color: #64748b;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}

.nav-notifications:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111a2e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.user-info {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    width: 190px;
    display: none;
    z-index: 100;
}

.user-dropdown-menu.show {
    display: block;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.user-dropdown-menu a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.user-dropdown-menu .divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
}

/* ---------------- Container ---------------- */
.admin-container {
    padding: 24px;
    flex: 1;
}

/* ---------------- Stat Cards (6 Colorful Cards) ---------------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.stat-card-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    line-height: 1.3;
}

.stat-card-link {
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* 6 Specific Themes */
.card-yellow { background: #fffdf5; border-color: #fef08a; }
.card-yellow .stat-icon-wrapper { background: #fef08a; color: #b45309; }
.card-yellow .stat-number { color: #b45309; }
.card-yellow .stat-card-link { color: #b45309; }

.card-blue { background: #f8faff; border-color: #bfdbfe; }
.card-blue .stat-icon-wrapper { background: #dbeafe; color: #1d4ed8; }
.card-blue .stat-number { color: #1d4ed8; }
.card-blue .stat-card-link { color: #1d4ed8; }

.card-green { background: #f6fdf8; border-color: #bbf7d0; }
.card-green .stat-icon-wrapper { background: #dcfce7; color: #15803d; }
.card-green .stat-number { color: #15803d; }
.card-green .stat-card-link { color: #15803d; }

.card-purple { background: #fbf8ff; border-color: #e9d5ff; }
.card-purple .stat-icon-wrapper { background: #f3e8ff; color: #7e22ce; }
.card-purple .stat-number { color: #7e22ce; }
.card-purple .stat-card-link { color: #7e22ce; }

.card-red { background: #fff8f8; border-color: #fecaca; }
.card-red .stat-icon-wrapper { background: #fee2e2; color: #b91c1c; }
.card-red .stat-number { color: #b91c1c; }
.card-red .stat-card-link { color: #b91c1c; }

.card-teal { background: #f4fdfc; border-color: #99f6e4; }
.card-teal .stat-icon-wrapper { background: #ccfbf1; color: #0f766e; }
.card-teal .stat-number { color: #0f766e; }
.card-teal .stat-card-link { color: #0f766e; }

/* ---------------- Main Content 2-Column Grid ---------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 65% 35%;
    gap: 20px;
    align-items: start;
}

.col-left, .col-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------------- General Card Container ---------------- */
.panel-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.panel-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-action-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover { background: #1661d1; }

.btn-success { background: #10b981; color: white; }
.btn-success:hover { background: #059669; }

.btn-danger { background: #ef4444; color: white; }
.btn-danger:hover { background: #dc2626; }

.btn-warning { background: #f59e0b; color: white; }
.btn-warning:hover { background: #d97706; }

.btn-outline { background: transparent; border: 1px solid #cbd5e1; color: #334155; }
.btn-outline:hover { background: #f8fafc; }

.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 6px; }

/* ---------------- Modern Tables ---------------- */
.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.data-table th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #fbfdff;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.badge-warning { background: #fef3c7; color: #b45309; }
.badge-info { background: #dbeafe; color: #1d4ed8; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-secondary { background: #f1f5f9; color: #64748b; }

/* ---------------- Notifikasi & Tindakan Panel ---------------- */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

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

.action-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.action-item-text strong {
    font-size: 12.5px;
    color: #0f172a;
    display: block;
}

.action-item-text span {
    font-size: 11.5px;
    color: #64748b;
}

.action-btn-see {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.action-btn-see:hover {
    background: #f1f5f9;
}

/* ---------------- Omzet Hari Ini Card ---------------- */
.omzet-card {
    background: #ffffff;
}

.omzet-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.omzet-icon {
    width: 54px;
    height: 54px;
    background: #dcfce7;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #16a34a;
}

.omzet-val-wrapper h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.omzet-change {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 3px;
}

.omzet-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.breakdown-box {
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 8px;
    text-align: center;
}

.breakdown-box .lbl {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}

.breakdown-box .val {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.breakdown-box .sub {
    font-size: 10.5px;
    color: #94a3b8;
}

/* ---------------- Ringkasan Pembayaran ---------------- */
.payment-summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 12.5px;
}

.pay-row .label-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-pill {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.pay-row .val {
    font-weight: 700;
    color: #0f172a;
}

/* ---------------- WhatsApp Cepat Bar ---------------- */
.wa-cepat-card {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wa-cepat-header {
    background: #10b981;
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-cepat-header h3 {
    font-size: 14px;
    font-weight: 700;
}

.wa-cepat-header p {
    font-size: 11.5px;
    opacity: 0.9;
}

.wa-cepat-actions {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.btn-wa-action {
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 12px;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.15s;
}

.btn-wa-action:hover {
    transform: translateY(-2px);
}

.wa-btn-selesai { background: #16a34a; }
.wa-btn-tagihan { background: #2563eb; }
.wa-btn-pengingat { background: #ea580c; }
.wa-btn-custom { background: #8b5cf6; }

/* ---------------- Top Products Progress Bars ---------------- */
.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.top-prod-num {
    width: 18px;
    font-weight: 700;
    color: #94a3b8;
    font-size: 12px;
}

.top-prod-name {
    width: 85px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
}

.top-prod-bar-wrap {
    flex: 1;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.top-prod-bar {
    height: 100%;
    background: #3b82f6;
    border-radius: 10px;
}

.top-prod-qty {
    width: 25px;
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

/* ---------------- Footer ---------------- */
.admin-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

/* ---------------- Form Elements ---------------- */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(29, 114, 242, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
    .stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.open {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
    .toggle-sidebar-btn {
        display: block;
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wa-cepat-actions {
        grid-template-columns: 1fr 1fr;
    }
    .nav-clock {
        display: none;
    }
}

/* ============================================================
   WEDDING ORGANIZER (WO) CUSTOM STYLES
   ============================================================ */
.wo-funnel-pipeline {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 24px;
    overflow-x: auto;
    box-shadow: var(--shadow-card);
}

.wo-funnel-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    min-width: 95px;
    text-align: center;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.wo-funnel-node:hover {
    border-color: #c59b27;
    background: #fffdf5;
}

.wo-funnel-node .fn-count {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.wo-funnel-node .fn-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.wo-funnel-arrow {
    color: #cbd5e1;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

/* WO Status Badges */
.badge-wo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-wo-lead { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.badge-wo-konsultasi { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-wo-penawaran { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-wo-revisi { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.badge-wo-disetujui { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.badge-wo-ditolak { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.badge-wo-booked { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.badge-wo-persiapan { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-wo-harih { background: #fdf4ff; color: #a21caf; border: 1px solid #f5d0fe; }
.badge-wo-selesai { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.badge-wo-expired { background: #f3f4f6; color: #9ca3af; border: 1px solid #e5e7eb; }

/* WO Priority Task Cards */
.wo-priority-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-left: 4px solid #1d72f2;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.wo-priority-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.wo-priority-card.type-EVENT_NEAR { border-left-color: #ef4444; background: #fffdfd; }
.wo-priority-card.type-CHECKLIST_OVERDUE { border-left-color: #f59e0b; background: #fffdf5; }
.wo-priority-card.type-FOLLOW_UP_LEAD { border-left-color: #06b6d4; }
.wo-priority-card.type-QUOTATION_PENDING { border-left-color: #3b82f6; }
.wo-priority-card.type-QUOTATION_REVISE { border-left-color: #f97316; }
.wo-priority-card.type-PAYMENT_DUE { border-left-color: #dc2626; }

/* WO Checklists */
.checklist-table {
    width: 100%;
    border-collapse: collapse;
}

.checklist-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.checklist-completed {
    text-decoration: line-through;
    color: #94a3b8;
}

/* WO Snapshot Box */
.wo-snapshot-panel {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}

.wo-snapshot-panel::before {
    content: "LOCKED CONTRACT SNAPSHOT";
    position: absolute;
    top: -9px;
    right: 18px;
    background: #1e293b;
    color: #f1f5f9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 4px;
}

