/* Woodscape Project Portal - Vanilla CSS Design System */

:root {
    /* Color Palette */
    --color-charcoal-dark: #0A0B0D;     /* Ultra dark base */
    --color-charcoal-bg: #111215;       /* Main panel background */
    --color-charcoal-card: #1B1C20;     /* Dark theme cards */
    --color-wood-brown: #8C5A3C;        /* Warm Cognac/Wood Brown accent */
    --color-wood-light: #B58263;        /* Soft wood accent */
    --color-gold: #D4AF37;              /* Muted gold highlights */
    --color-copper: #C87D55;            /* Copper accent */
    --color-cream-bg: #FAF8F5;          /* Soft Ivory/Cream background for cards */
    --color-cream-card: #FFFFFF;        /* Pure white paper cards */
    --color-border-light: #EBE7E0;      /* Border color inside cream cards */
    --color-border-dark: #2A2C31;       /* Border color for dark elements */
    
    /* Text Colors */
    --text-light-primary: #F3F3F3;
    --text-light-secondary: #A0A2A6;
    --text-dark-primary: #1C1D21;
    --text-dark-secondary: #5D6066;
    
    /* Status Colors */
    --status-completed: #2E7D32;        /* Elegant Green */
    --status-completed-light: #E8F5E9;
    --status-pending: #EF6C00;          /* Elegant Amber */
    --status-pending-light: #FFF3E0;
    --status-urgent: #C62828;           /* Elegant Red */
    --status-urgent-light: #FFEBEE;
    --status-info: #1565C0;
    --status-info-light: #E3F2FD;

    /* Shadows & Transitions */
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(12, 12, 15, 0.06);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--color-wood-brown) var(--color-charcoal-dark);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-charcoal-bg);
    color: var(--text-light-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Layout Framework */
.app-layout {
    display: flex;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

/* Sidebar Styling (Dark Luxury Theme) */
.sidebar {
    width: 260px;
    background-color: var(--color-charcoal-dark);
    border-right: 1px solid var(--color-border-dark);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border-dark);
}

.logo-mark {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-wood-brown), var(--color-gold));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(140, 90, 60, 0.4);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light-primary);
    letter-spacing: 0.1em;
}

.brand-sub {
    font-size: 10px;
    color: var(--color-gold);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 12px;
    overflow-y: auto;
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light-secondary);
    padding: 10px 12px 6px;
    font-weight: 600;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 4px;
    transition: var(--transition-smooth);
    color: var(--text-light-secondary);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
}

.nav-item i {
    width: 18px;
    height: 18px;
}

.nav-item:hover {
    color: var(--text-light-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    color: var(--text-light-primary);
    background: linear-gradient(90deg, rgba(140, 90, 60, 0.25) 0%, rgba(20, 20, 20, 0) 100%);
    border-left: 3px solid var(--color-wood-brown);
}

.nav-item.active i {
    color: var(--color-gold);
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--color-border-dark);
    background-color: rgba(0, 0, 0, 0.2);
}

.user-profile-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile-summary .avatar {
    width: 36px;
    height: 36px;
    background-color: var(--color-wood-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-profile-info {
    display: flex;
    flex-direction: column;
}

.user-profile-name {
    font-size: 13px;
    font-weight: 600;
}

.user-profile-role {
    font-size: 11px;
    color: var(--color-wood-light);
}

/* Main Body Wrapper & Header */
.main-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.app-header {
    height: 70px;
    background-color: var(--color-charcoal-dark);
    border-bottom: 1px solid var(--color-border-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    flex-shrink: 0;
}

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

.btn-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon:hover {
    color: var(--text-light-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

#sidebar-toggle {
    display: none; /* Desktop hidden */
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light-secondary);
    font-weight: 500;
}

.breadcrumbs a {
    transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
    color: var(--color-gold);
}

.breadcrumbs .separator {
    color: var(--color-border-dark);
}

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

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-dark);
    padding: 10px 16px 10px 40px;
    border-radius: 30px;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.search-bar input:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--color-wood-brown);
    box-shadow: 0 0 10px rgba(140, 90, 60, 0.2);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-light-secondary);
}

.notification-dropdown-trigger {
    position: relative;
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--status-urgent);
    color: white;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-charcoal-dark);
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background-color: var(--color-charcoal-card);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.notification-menu {
    width: 320px;
}

.dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.btn-text {
    font-size: 12px;
    color: var(--color-gold);
    font-weight: 600;
    cursor: pointer;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    gap: 12px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.notification-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.notification-item .icon {
    width: 32px;
    height: 32px;
    background-color: rgba(140, 90, 60, 0.1);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-item.unread .icon {
    background-color: rgba(200, 125, 85, 0.2);
    color: var(--color-copper);
}

.notification-details {
    display: flex;
    flex-direction: column;
}

.notification-msg {
    font-size: 12px;
    color: var(--text-light-primary);
}

.notification-time {
    font-size: 10px;
    color: var(--text-light-secondary);
    margin-top: 4px;
}

.profile-trigger-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.profile-trigger-btn .avatar {
    width: 36px;
    height: 36px;
    background-color: var(--color-wood-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    border: 2px solid var(--color-gold);
}

.profile-trigger-btn .user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.profile-trigger-btn .user-name {
    font-size: 13px;
    font-weight: 600;
}

.profile-trigger-btn .user-role-badge {
    font-size: 10px;
    color: var(--color-gold);
    font-weight: 600;
}

.profile-menu {
    width: 200px;
    padding: 8px 0;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-light-secondary);
    width: 100%;
    text-align: left;
    transition: var(--transition-smooth);
}

.profile-menu-item:hover {
    color: var(--text-light-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.profile-menu-item.text-danger {
    color: #FF4D4D;
}

.profile-menu-item.text-danger:hover {
    background-color: rgba(255, 77, 77, 0.05);
}

.menu-divider {
    border: 0;
    height: 1px;
    background-color: var(--color-border-dark);
    margin: 8px 0;
}

/* Content Panel Wrapper */
.content-panel {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    background-color: var(--color-charcoal-bg);
}

/* Premium Page Header styling */
.page-header-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-title-area h1 {
    font-size: 28px;
    color: var(--text-light-primary);
    font-weight: 700;
}

.page-subtitle-area {
    font-size: 13px;
    color: var(--text-light-secondary);
}

/* General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 13px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-wood-brown);
    color: white;
}

.btn-primary:hover {
    background-color: #A36C4A;
    box-shadow: 0 4px 15px rgba(140, 90, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-light-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--text-light-primary);
}

.btn-accent {
    background-color: var(--color-gold);
    color: var(--color-charcoal-dark);
}

.btn-accent:hover {
    background-color: #E2C052;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: var(--radius-sm);
}

.btn-icon-sm {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-light-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-icon-sm:hover {
    color: var(--text-light-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Premium Ivory Cards for Content */
.cream-card {
    background-color: var(--color-cream-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    color: var(--text-dark-primary);
    margin-bottom: 24px;
}

.cream-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 12px;
}

.cream-card-title {
    font-size: 18px;
    color: var(--text-dark-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cream-card-title i {
    color: var(--color-wood-brown);
    width: 20px;
    height: 20px;
}

/* KPI Dash Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.kpi-card {
    background-color: var(--color-cream-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-dark-primary);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(140, 90, 60, 0.1);
    color: var(--color-wood-brown);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-icon.accent-icon {
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
}

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

.kpi-val {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-dark-primary);
    line-height: 1.1;
}

.kpi-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed {
    background-color: var(--status-completed-light);
    color: var(--status-completed);
}

.status-badge.pending {
    background-color: var(--status-pending-light);
    color: var(--status-pending);
}

.status-badge.urgent {
    background-color: var(--status-urgent-light);
    color: var(--status-urgent);
}

.status-badge.info {
    background-color: var(--status-info-light);
    color: var(--status-info);
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
}

.table-premium {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: white;
}

.table-premium th {
    background-color: #F5F2EC;
    color: var(--text-dark-primary);
    font-weight: 600;
    font-size: 12px;
    padding: 14px 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--color-border-light);
}

.table-premium td {
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-dark-secondary);
    border-bottom: 1px solid var(--color-border-light);
    background-color: white;
}

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

.table-premium tr {
    transition: var(--transition-smooth);
}

.table-premium tr:hover td {
    background-color: #FAF9F6;
    color: var(--text-dark-primary);
}

/* Grid Layouts for split views */
.grid-2col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dark-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    border: 1px solid var(--color-border-light);
    background-color: white;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-dark-primary);
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--color-wood-brown);
    box-shadow: 0 0 0 3px rgba(140, 90, 60, 0.1);
}

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

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    width: 44px;
    height: 22px;
    background-color: var(--color-border-light);
    border-radius: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: white;
    top: 3px;
    left: 3px;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.toggle-input:checked + .toggle-slider {
    background-color: var(--color-wood-brown);
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* Modals Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 11, 13, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: var(--transition-smooth);
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-card {
    background-color: var(--color-cream-bg);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-premium);
    color: var(--text-dark-primary);
    animation: modalReveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalReveal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background-color: #F8F5EF;
}

/* Document Folder system styling */
.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.folder-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.folder-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-wood-brown);
}

.folder-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.folder-icon {
    font-size: 32px;
    color: var(--color-wood-brown);
}

.folder-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

.folder-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark-primary);
}

.folder-count {
    font-size: 11px;
    color: var(--text-dark-secondary);
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.file-item-card:hover {
    border-color: var(--color-wood-light);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(200, 125, 85, 0.1);
    color: var(--color-copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-meta {
    display: flex;
    flex-direction: column;
}

.file-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark-primary);
}

.file-size-date {
    font-size: 10px;
    color: var(--text-dark-secondary);
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Timeline updates feed styling */
.timeline-feed {
    position: relative;
    padding-left: 24px;
    border-left: 2px solid var(--color-border-light);
    margin-left: 10px;
}

.timeline-update {
    position: relative;
    margin-bottom: 30px;
}

.timeline-update::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-wood-brown);
    border: 3px solid var(--color-cream-bg);
    box-shadow: 0 0 0 2px var(--color-wood-light);
}

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

.timeline-date-stage {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-wood-brown);
}

.timeline-stage {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark-secondary);
}

.timeline-pct {
    font-size: 11px;
    font-weight: 700;
    background-color: rgba(140, 90, 60, 0.1);
    color: var(--color-wood-brown);
    padding: 2px 8px;
    border-radius: 10px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--text-dark-primary);
    margin-bottom: 12px;
}

.timeline-media {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.timeline-media-item {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    background-color: #EDECE7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-secondary);
}

.timeline-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--text-dark-secondary);
    border-top: 1px dashed var(--color-border-light);
    padding-top: 8px;
}

/* CCTV grid items styling */
.cctv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.cctv-card {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.cctv-card:hover {
    transform: translateY(-2px);
}

.cctv-screen {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #0A0B0D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cctv-placeholder-txt {
    font-family: monospace;
    font-size: 13px;
    color: #44D7B6;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cctv-feed-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.cctv-indicator {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: white;
}

.cctv-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF3B30;
    animation: blink 1s infinite alternate;
}

.cctv-dot.offline {
    background-color: #8E8E93;
    animation: none;
}

@keyframes blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.cctv-details {
    padding: 16px;
    color: var(--text-dark-primary);
}

.cctv-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cctv-location {
    font-size: 11px;
    color: var(--text-dark-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.cctv-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Project Detail Tabs Bar */
.tabs-bar {
    display: flex;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 24px;
    overflow-x: auto;
}

.tab-link {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark-secondary);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.tab-link:hover {
    color: var(--color-wood-brown);
}

.tab-link.active {
    color: var(--color-wood-brown);
    border-bottom-color: var(--color-wood-brown);
}

/* Chat/Messages Layout */
.chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 480px;
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chat-header {
    padding: 16px 20px;
    background-color: #F8F5EF;
    border-bottom: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header .avatar {
    width: 38px;
    height: 38px;
    background-color: var(--color-wood-brown);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark-primary);
}

.chat-header-status {
    font-size: 10px;
    color: var(--text-dark-secondary);
}

.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #FBFBFB;
}

.chat-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    font-size: 13px;
    line-height: 1.4;
    position: relative;
}

.chat-bubble.received {
    align-self: flex-start;
    background-color: white;
    color: var(--text-dark-primary);
    border: 1px solid var(--color-border-light);
    border-bottom-left-radius: 2px;
}

.chat-bubble.sent {
    align-self: flex-end;
    background-color: var(--color-wood-brown);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-meta {
    font-size: 9px;
    margin-top: 4px;
    display: block;
    text-align: right;
    opacity: 0.7;
}

.chat-bubble.received .chat-meta {
    color: var(--text-dark-secondary);
}

.chat-bubble.sent .chat-meta {
    color: #E2C052;
}

.chat-footer {
    padding: 12px 20px;
    background-color: white;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input {
    flex-grow: 1;
    border: 1px solid var(--color-border-light);
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 13px;
    color: var(--text-dark-primary);
}

/* Handover Checklist styling */
.handover-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.handover-item {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.handover-item:hover {
    border-color: var(--color-wood-light);
}

.handover-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark-primary);
    cursor: pointer;
}

.handover-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid var(--color-border-light);
    appearance: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.handover-checkbox:checked {
    background-color: var(--status-completed);
    border-color: var(--status-completed);
}

.handover-checkbox:checked::after {
    content: '\2713';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.handover-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Development Floating Role Switcher */
.dev-role-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 280px;
    background-color: var(--color-charcoal-card);
    border: 1px solid var(--color-wood-brown);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.dev-role-switcher.minimized {
    width: 180px;
}

.dev-role-switcher.minimized #dev-widget-body {
    display: none;
}

.dev-header {
    background: linear-gradient(135deg, var(--color-wood-brown), var(--color-charcoal-dark));
    color: white;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border-dark);
}

.dev-body {
    padding: 12px;
}

.dev-desc {
    font-size: 11px;
    color: var(--text-light-secondary);
    margin-bottom: 10px;
}

.dev-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.dev-buttons .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 12px;
    font-size: 12px;
}

.dev-stats {
    font-size: 10px;
    color: var(--text-light-secondary);
    border-top: 1px solid var(--color-border-dark);
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Login Overlay Page */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-charcoal-dark);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-image: linear-gradient(rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.9)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
}

.login-card {
    background-color: var(--color-charcoal-card);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    animation: modalReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

.login-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-wood-brown), var(--color-gold));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 12px;
}

.login-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light-primary);
}

.login-subtitle {
    font-size: 12px;
    color: var(--text-light-secondary);
}

.login-form .form-label {
    color: var(--text-light-primary);
}

.login-form .form-control {
    background-color: rgba(255, 255, 255, 0.02);
    border-color: var(--color-border-dark);
    color: var(--text-light-primary);
}

.login-form .form-control:focus {
    border-color: var(--color-wood-brown);
}

.forgot-password-link {
    font-size: 11px;
    color: var(--color-gold);
    display: block;
    text-align: right;
    margin-top: 8px;
    font-weight: 600;
}

.login-role-select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.role-pill {
    padding: 8px 10px;
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-md);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-light-secondary);
}

.role-pill:hover {
    border-color: var(--color-wood-light);
    color: var(--text-light-primary);
}

.role-pill.active {
    background-color: rgba(140, 90, 60, 0.2);
    border-color: var(--color-wood-brown);
    color: var(--text-light-primary);
}

/* Responsive Mobile Navigation adjustments */
@media (max-width: 991px) {
    .app-layout {
        flex-direction: column;
    }
    
    .sidebar {
        position: absolute;
        left: -260px;
        top: 0;
        bottom: 0;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }
    
    .sidebar.open {
        left: 0;
    }
    
    #sidebar-toggle {
        display: flex;
    }
    
    .search-bar {
        width: 180px;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
    }
    
    .grid-3col {
        grid-template-columns: 1fr;
    }
}

/* Helper layout classes */
.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.danger-text { color: var(--status-urgent) !important; }
.success-text { color: var(--status-completed) !important; }
.warning-text { color: var(--status-pending) !important; }

.hidden {
    display: none !important;
}

/* PREMIUM CONTRAST BUTTON FIXES */
.cream-card .btn-secondary,
.kpi-card .btn-secondary,
.table-premium .btn-secondary,
.cctv-card .btn-secondary,
.folder-card .btn-secondary,
.file-item-card .btn-secondary {
    color: var(--text-dark-primary);
    border-color: rgba(28, 29, 33, 0.25);
    background-color: transparent;
}
.cream-card .btn-secondary:hover,
.kpi-card .btn-secondary:hover,
.table-premium .btn-secondary:hover,
.cctv-card .btn-secondary:hover,
.folder-card .btn-secondary:hover,
.file-item-card .btn-secondary:hover {
    background-color: rgba(28, 29, 33, 0.05);
    border-color: var(--text-dark-primary);
}

/* PREMIUM CUSTOM PROGRESS BARS */
.progress-container-premium {
    background-color: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.progress-bar-premium {
    height: 100%;
    background: linear-gradient(90deg, var(--color-wood-brown) 0%, var(--color-gold) 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PREMIUM CCTV ENHANCEMENTS */
.cctv-screen::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 2;
}

.cctv-screen::after {
    content: "REC";
    position: absolute;
    top: 12px;
    right: 12px;
    color: #FF3B30;
    font-family: monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
    text-shadow: 0 0 4px rgba(255, 0, 0, 0.6);
    animation: cctv-blink 1s infinite alternate;
}

@keyframes cctv-blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* PREMIUM FINANCIAL CHART CSS */
.premium-chart-container {
    display: flex;
    gap: 16px;
    height: 180px;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 8px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-dark-secondary);
    width: 45px;
    text-align: right;
    padding-bottom: 24px;
}

.chart-bars-area {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
}

.chart-bar-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 65px;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 36px;
    min-height: 5px;
    border-radius: 6px 6px 0 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.chart-bar:hover {
    transform: scaleY(1.05);
}

.chart-bar-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background-color: var(--color-charcoal-dark);
    color: white;
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-premium);
    z-index: 10;
}

.chart-bar:hover .chart-bar-tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.chart-bar-label {
    font-size: 11px;
    color: var(--text-dark-secondary);
    margin-top: 8px;
    font-weight: 600;
}

/* PREMIUM GLASSMORPHISM OVERLAYS */
.dropdown-menu,
.modal-card {
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    background-color: rgba(27, 28, 32, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--text-light-primary) !important;
}

.modal-card .form-label {
    color: var(--text-light-secondary) !important;
}

.modal-card h2,
.modal-card h3,
.modal-card .modal-header h2 {
    color: var(--text-light-primary) !important;
}

.modal-card .btn-secondary {
    color: var(--text-light-primary) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    background-color: transparent !important;
}

.modal-card .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--text-light-primary) !important;
}

/* REFINED SIDEBAR ACTIVE NAV GUES */
.nav-item.active {
    background: linear-gradient(90deg, rgba(140, 90, 60, 0.3) 0%, rgba(140, 90, 60, 0.02) 100%) !important;
    border-left: 4px solid var(--color-gold) !important;
    box-shadow: inset 3px 0 0 rgba(212, 175, 55, 0.3);
}

/* PREMIUM TRANSLUCENT INPUTS FOR GLASSMORPHIC MODALS */
.modal-card .form-control {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text-light-primary) !important;
}

.modal-card .form-control:focus {
    border-color: var(--color-wood-light) !important;
    box-shadow: 0 0 0 3px rgba(181, 130, 99, 0.25) !important;
}

.modal-card select.form-control option {
    background-color: var(--color-charcoal-dark) !important;
    color: var(--text-light-primary) !important;
}

.modal-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.modal-card input[type="file"]::file-selector-button {
    background-color: var(--color-wood-brown) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 4px 8px !important;
    cursor: pointer !important;
}

/* GLOBAL SCROLLBARS FOR LUXURY ARCHITECTURAL THEME */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-charcoal-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(140, 90, 60, 0.4);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-wood-brown);
}

/* PAGE LOAD ANIMATIONS */
.fade-in-up {
    animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* PREMIUM INTERACTIVE CARD HOVER */
.cream-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.cream-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--color-wood-light);
}

/* PREMIUM TABS LAYOUT FOR SYSTEM SETTINGS */
.tabs-header-premium {
    display: flex;
    border-bottom: 2px solid var(--color-border-light);
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
}
.tab-btn-premium {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark-secondary);
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: -2px;
    white-space: nowrap;
}
.tab-btn-premium:hover {
    color: var(--color-wood-brown);
}
.tab-btn-premium.active {
    color: var(--color-wood-brown);
    border-bottom-color: var(--color-gold);
}

/* PREMIUM TAG PILL SYSTEM FOR DYNAMIC SETTINGS */
.tags-container-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    min-height: 60px;
}
.tag-pill-premium {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark-primary);
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}
.tag-pill-premium:hover {
    border-color: var(--color-wood-light);
    transform: translateY(-1px);
}
.tag-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.06);
    color: var(--text-dark-secondary);
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    transition: var(--transition-smooth);
}
.tag-remove-btn:hover {
    background-color: var(--status-urgent-light);
    color: var(--status-urgent);
}

/* PREMIUM SPLIT CHARTS SYSTEM */
.split-chart-container {
    background-color: white;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 16px;
}
.split-chart-bar-wrapper {
    height: 24px;
    background-color: #F0EDE9;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    margin: 12px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.split-chart-part {
    height: 100%;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.split-chart-part.residential {
    background: linear-gradient(90deg, var(--color-wood-brown), var(--color-wood-light));
}
.split-chart-part.commercial {
    background: linear-gradient(90deg, var(--color-gold), #E2C052);
}
.split-chart-legend {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.legend-dot.residential { background-color: var(--color-wood-brown); }
.legend-dot.commercial { background-color: var(--color-gold); }

/* LEAD DISTRIBUTION GRID */
.lead-dist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.lead-dist-card {
    background-color: #FBF9F6;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    transition: var(--transition-smooth);
}
.lead-dist-card:hover {
    border-color: var(--color-wood-light);
    background-color: white;
}
.lead-dist-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark-primary);
}
.lead-dist-label {
    font-size: 10px;
    color: var(--text-dark-secondary);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
}


