/* Premium Stylesheet for Anti-Accounting Short-Term Rental Dashboard */

/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Import Google Fonts for Luxury Theme */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: rgba(18, 18, 26, 0.7);
    --bg-card: rgba(26, 26, 38, 0.45);
    --bg-hover: rgba(38, 38, 57, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(99, 102, 241, 0.4);
    
    --color-text-primary: #f3f4f6;
    --color-text-secondary: #9ca3af;
    --color-text-muted: #6b7280;
    
    --primary: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.15);
    
    --success: #10b981; /* Emerald */
    --success-glow: rgba(16, 185, 129, 0.1);
    
    --warning: #f59e0b; /* Amber */
    --warning-glow: rgba(245, 158, 11, 0.1);
    
    --danger: #ef4444; /* Rose */
    --danger-glow: rgba(239, 68, 68, 0.1);
    
    --sidebar-width: 280px;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Luxury Landing Theme (Rivora Inspired) */
    --gold-primary: #c5a880;
    --gold-hover: #b3946c;
    --gold-glow: rgba(197, 168, 128, 0.15);
    --landing-bg: #0f0f15;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-jost: 'Jost', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.04) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(239, 68, 68, 0.02) 0px, transparent 50%);
    background-attachment: fixed;
}

/* Layout */
#app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
aside {
    width: var(--sidebar-width);
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.brand {
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--success));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    padding: 1.5rem 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-group-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 1.15rem;
    margin-bottom: 0.25rem;
    padding-left: 0.75rem;
    opacity: 0.8;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

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

.nav-item.active {
    color: #ffffff;
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: inset 0 0 10px rgba(99, 102, 241, 0.05);
}

.nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Main Content Area */
main {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    padding: 2.5rem;
    min-width: 0; /* Prevents flex items from breaking grid layouts */
}

header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.subtitle {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* Dashboard Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.metric-icon.indigo { background: rgba(99, 102, 241, 0.1); color: #818cf8; }
.metric-icon.emerald { background: rgba(16, 185, 129, 0.1); color: #34d399; }
.metric-icon.amber { background: rgba(245, 158, 11, 0.1); color: #fbbf24; }
.metric-icon.rose { background: rgba(239, 68, 68, 0.1); color: #f87171; }

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.metric-change.positive { color: var(--success); }
.metric-change.negative { color: var(--danger); }
.metric-change.neutral { color: var(--color-text-muted); }

/* Dashboard Content Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Charts */
.chart-container {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom CSS Charts fallback */
.chart-donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
        var(--primary) 0% 35%, 
        var(--success) 35% 65%, 
        var(--warning) 65% 85%, 
        var(--danger) 85% 100%
    );
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-donut::after {
    content: '';
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #12121a;
    position: absolute;
}

/* Tabs and Views */
.view-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.view-section.active {
    display: block;
}

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

/* Forms & UI Controls */
.actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filters-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.input-control, .select-control {
    background-color: rgba(18, 18, 26, 0.8);
    border: 1px solid var(--border-color);
    color: var(--color-text-primary);
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.input-control:focus, .select-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-danger {
    background-color: var(--danger);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

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

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: #12121a;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

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

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Form layouts */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Tables */
.table-container {
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

th {
    padding: 1rem 1.25rem;
    background-color: rgba(18, 18, 26, 0.97);
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

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

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

.bk-col-guest {
    max-width: 200px !important;
    width: 200px !important;
    min-width: 150px !important;
}

/* Period Pill Filters (Year / Month) */
.period-pill {
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--color-text-secondary);
    transition: all 0.18s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.period-pill:hover {
    border-color: rgba(99,102,241,0.5);
    color: #a5b4fc;
    background: rgba(99,102,241,0.08);
}
.period-pill.active {
    background: rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.7);
    color: #a5b4fc;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.15);
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-propia { background-color: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.badge-sociedad { background-color: rgba(245, 158, 11, 0.15); color: #fde047; }
.badge-terceros { background-color: rgba(16, 185, 129, 0.15); color: #6ee7b7; }

.badge-owner { background-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-admin { background-color: rgba(99, 102, 241, 0.15); color: #818cf8; }

.badge-reconciled { background-color: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-pending { background-color: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-discrepancy { background-color: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Channel Badges */
.badge-airbnb {
    background-color: rgba(255, 90, 95, 0.15);
    color: #ff5a5f;
    border: 1px solid rgba(255, 90, 95, 0.3);
}
.badge-booking, .badge-booking_com {
    background-color: rgba(26, 86, 219, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}
.badge-direct {
    background-color: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

/* Distribution list inside wholesale purchases view */
.distribution-list {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: rgba(0,0,0,0.1);
}

.distribution-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-radius: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.distribution-item:last-child {
    border-bottom: none;
}

.distribution-item span {
    font-size: 0.85rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.distribution-input {
    width: 100px;
    text-align: right;
}

/* Reconciliation view layout */
.recon-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.recon-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recon-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.recon-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.recon-card:hover {
    border-color: rgba(255,255,255,0.15);
    background-color: var(--bg-hover);
}

.recon-card.selected {
    border-color: var(--primary);
    background-color: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.recon-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.recon-card-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.recon-card-amount {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.recon-card-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recon-card-details {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reconcile-action-panel {
    grid-column: span 2;
    background-color: rgba(99, 102, 241, 0.08);
    border: 1px dashed var(--primary);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% { border-color: rgba(99, 102, 241, 0.4); }
    50% { border-color: rgba(99, 102, 241, 0.8); }
    100% { border-color: rgba(99, 102, 241, 0.4); }
}

.suggested-badge {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Property Channels icons styling */
.channel-icons {
    display: flex;
    gap: 0.35rem;
}

.channel-icon {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.channel-airbnb { background-color: rgba(255, 90, 95, 0.15); color: #ff5a5f; }
.channel-vrbo { background-color: rgba(0, 43, 105, 0.4); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.channel-booking { background-color: rgba(0, 53, 128, 0.4); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }

/* Quick distribution selection */
.quick-dist {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.quick-dist-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-dist-btn:hover {
    background-color: var(--primary-glow);
    border-color: var(--primary);
    color: #fff;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: #1a1a26;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    font-size: 0.9rem;
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.toast-success { border-left-color: var(--success); }
.toast-danger { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }

/* responsive styling */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .recon-layout {
        grid-template-columns: 1fr;
    }
    .reconcile-action-panel {
        grid-column: span 1;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    #app-container {
        flex-direction: column;
    }
    aside {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.75rem;
    }
    .nav-item {
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
    }
    main {
        margin-left: 0;
        padding: 1.5rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   CLEANING CAlENDAR & PORTAL PREMIUM STYLING
   ───────────────────────────────────────────────────────────────────────────── */

/* Calendar Styles */
.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.calendar-grid-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(90px, 1fr);
    gap: 6px;
}

.calendar-day-cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.calendar-day-cell:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.calendar-day-cell.other-month {
    opacity: 0.25;
}

.calendar-day-cell.today {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: inset 0 0 8px rgba(99, 102, 241, 0.1);
}

.calendar-day-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    align-self: flex-end;
}

.calendar-day-events {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 0.25rem;
    flex-grow: 1;
}

.calendar-event-tag {
    font-size: 0.68rem;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.calendar-event-checkin {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-left: 3px solid var(--success);
}

.calendar-event-checkout {
    background: rgba(244, 63, 94, 0.15);
    color: #f43f5e;
    border-left: 3px solid var(--danger);
}

.calendar-day-unrented {
    background: rgba(16, 185, 129, 0.03) !important;
    border: 1px dashed rgba(16, 185, 129, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-unrented-label {
    align-self: center;
    margin: auto;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(16, 185, 129, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(16, 185, 129, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* File Preview Grid Styles */
.portal-preview-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.portal-preview-img-wrapper img, .portal-preview-img-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-preview-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}

.portal-preview-remove-btn:hover {
    background: #ef4444;
}

/* List elements style */
.crew-member-li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.85rem;
}

.crew-member-li button {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
}

.crew-member-li button:hover {
    color: #f87171;
}

/* Timeline Table Styles */
.timeline-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: rgba(18, 18, 26, 0.4);
}

.timeline-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.timeline-table th, .timeline-table td {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    text-align: center;
    min-width: 44px;
    height: 48px;
    vertical-align: middle;
}

.timeline-table th {
    background: rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.timeline-table td.timeline-prop-col {
    text-align: left;
    font-weight: 600;
    min-width: 200px;
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: sticky;
    left: 0;
    background: #161622;
    z-index: 5;
    border-right: 2px solid var(--border-color);
}

.timeline-cell-free {
    background: rgba(16, 185, 129, 0.08);
    cursor: pointer;
    transition: background 0.15s ease;
}

.timeline-cell-free:hover {
    background: rgba(16, 185, 129, 0.15);
}

.timeline-badge-free {
    color: #34d399;
    font-weight: 700;
    font-size: 0.65rem;
    display: inline-block;
    padding: 2px 4px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.timeline-cell-occupied {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-muted);
}

.landing-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: nowrap;
    width: max-content;
}

.landing-card {
    background: rgba(18, 18, 26, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: 350px;
    max-width: calc(100vw - 7rem);
    flex-shrink: 0;
}

#landing-properties-viewport::-webkit-scrollbar {
    display: none;
}

.landing-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: 0 12px 30px var(--gold-glow);
}

.landing-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.landing-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-card:hover .landing-card-img {
    transform: scale(1.06);
}

.landing-card-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(18, 18, 26, 0.95) 0%, rgba(18, 18, 26, 0) 100%);
}

.landing-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.75rem;
}

.landing-card-badge {
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(197, 168, 128, 0.12);
    color: var(--gold-primary);
    border: 1px solid rgba(197, 168, 128, 0.25);
    font-family: var(--font-jost);
}

.landing-card-title {
    font-size: 1.35rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.3;
    font-family: var(--font-serif);
    letter-spacing: 0.01em;
}

.landing-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.4rem 0;
    padding: 0;
    list-style: none;
}

.landing-card-amenity {
    font-size: 0.72rem;
    font-family: var(--font-jost);
    color: var(--color-text-secondary);
    background: rgba(197, 168, 128, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.08);
}

.landing-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.landing-card-price {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: var(--font-jost);
}

.landing-card-price strong {
    font-size: 1.35rem;
    color: var(--gold-primary);
    font-weight: 500;
}

.filter-landing-btn {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gold button overrides for guest landing */
#view-landing .btn-primary {
    background-color: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: #0f0f15 !important;
    font-family: var(--font-jost) !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

#view-landing .btn-primary:hover {
    background-color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

#view-landing .btn-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--color-text-primary) !important;
    background: transparent !important;
    font-family: var(--font-jost) !important;
    border-radius: 4px !important;
}

#view-landing .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#view-landing .filter-landing-btn.active {
    background-color: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: #0f0f15 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px var(--gold-glow) !important;
}

#view-landing .lang-btn.active {
    background-color: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    color: #0f0f15 !important;
}

/* Luxury Additional Sections */
.luxury-section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.02em;
    text-align: center;
}

.luxury-section-subtitle {
    font-family: var(--font-jost);
    font-size: 0.95rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 0.5rem;
}

.luxury-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.luxury-service-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.luxury-service-card:hover {
    border-color: var(--gold-primary);
    background: rgba(18, 18, 26, 0.8);
    transform: translateY(-5px);
}

.luxury-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    background: rgba(197, 168, 128, 0.05);
}

.luxury-service-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.luxury-service-desc {
    font-family: var(--font-jost);
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.luxury-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.luxury-testimonial-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid rgba(197, 168, 128, 0.1);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.star-rating {
    color: var(--gold-primary);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 0.2rem;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-jost);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.testimonial-meta {
    font-family: var(--font-jost);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Luxury Footer */
.luxury-footer {
    background: #0b0b0f;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
    border-radius: 24px 24px 0 0;
}

.luxury-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .luxury-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.luxury-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.luxury-footer-desc {
    font-family: var(--font-jost);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 320px;
}

.luxury-footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.luxury-footer-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.luxury-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.luxury-footer-link {
    font-family: var(--font-jost);
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.luxury-footer-link:hover {
    color: var(--gold-primary);
}

.luxury-footer-contact-item {
    font-family: var(--font-jost);
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.luxury-footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-jost);
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

/* ── OWNER PORTAL: AVAILABILITY CALENDAR ──────────────────────── */
.op-cal-month {
    padding: 0 0.5rem;
    border-right: 1px solid var(--border-color);
}
.op-cal-month:last-child { border-right: none; }

.op-cal-month-title {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border-color);
}

.op-cal-dow-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 3px;
}

.op-cal-dow {
    text-align: center;
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding: 2px 0;
    text-transform: uppercase;
}

.op-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.op-cal-day {
    position: relative;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 4px 2px;
    border-radius: 5px;
    cursor: default;
    min-height: 26px;
    line-height: 18px;
    transition: transform 0.1s ease;
}

.op-cal-day.empty { background: transparent; }

.op-cal-day.past {
    color: #374151;
    background: rgba(255,255,255,0.02);
}

.op-cal-day.available {
    color: #6ee7b7;
    background: rgba(110,231,183,0.08);
    border: 1px solid rgba(110,231,183,0.15);
}

.op-cal-day.today {
    color: #fff;
    background: rgba(99,102,241,0.35);
    border: 1px solid rgba(99,102,241,0.6);
    font-weight: 700;
}

.op-cal-day.booked-airbnb {
    color: #fff;
    background: rgba(255,90,95,0.55);
    border: 1px solid rgba(255,90,95,0.4);
    cursor: help;
}
.op-cal-day.booked-airbnb.start-night { border-radius: 5px 0 0 5px; }
.op-cal-day.booked-airbnb.mid-night   { border-radius: 0; }
.op-cal-day.booked-airbnb.end-night   { border-radius: 0 5px 5px 0; }

.op-cal-day.booked-booking {
    color: #fff;
    background: rgba(26,86,219,0.6);
    border: 1px solid rgba(26,86,219,0.4);
    cursor: help;
}
.op-cal-day.booked-booking.start-night { border-radius: 5px 0 0 5px; }
.op-cal-day.booked-booking.mid-night   { border-radius: 0; }
.op-cal-day.booked-booking.end-night   { border-radius: 0 5px 5px 0; }

.op-cal-day.booked-direct {
    color: #fff;
    background: rgba(167,139,250,0.55);
    border: 1px solid rgba(167,139,250,0.4);
    cursor: help;
}

.op-cal-day.booked-multi {
    color: #fff;
    background: linear-gradient(135deg, rgba(255,90,95,0.65) 0%, rgba(26,86,219,0.65) 100%);
    border: 1px solid rgba(139,92,246,0.5);
    cursor: help;
}

.op-cal-day:not(.empty):not(.past):hover { transform: scale(1.15); z-index: 2; }

.op-cal-day[data-tip]:hover::after,
.op-timeline-booking-bar[data-tip]:hover::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,15,25,0.97);
    color: #fff;
    font-size: 0.65rem;
    white-space: pre-line;
    text-align: left;
    min-width: 160px;
    max-width: 320px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Timeline Scheduler */
.op-timeline-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    background: #11131e;
    border-top: 1px solid var(--border-color);
}

.op-timeline-row {
    display: flex;
    height: 54px;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

.op-timeline-header-row {
    display: flex;
    height: 48px;
    background: #151825;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
}

.op-timeline-prop-col {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    background: #11131e;
    position: sticky;
    left: 0;
    z-index: 5;
    border-right: 1px solid var(--border-color);
    box-shadow: 4px 0 8px rgba(0,0,0,0.25);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.op-timeline-header-prop {
    background: #151825;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.op-timeline-track-col {
    position: relative;
    display: flex;
    flex-grow: 1;
}

.op-timeline-day-cell {
    width: 50px;
    min-width: 50px;
    border-right: 1px solid rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.op-timeline-day-cell.today-col {
    background: rgba(99,102,241,0.08);
    border-left: 1px dashed rgba(99,102,241,0.3);
    border-right: 1px dashed rgba(99,102,241,0.3);
}

.op-timeline-header-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.op-timeline-header-day.weekend {
    background: rgba(255,255,255,0.015);
}

.op-timeline-header-day.today-header {
    background: rgba(99,102,241,0.2);
    color: #fff;
    font-weight: 700;
}

.op-timeline-header-day .dow {
    font-size: 0.55rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2px;
}

.op-timeline-booking-bar {
    position: absolute;
    top: 9px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    cursor: help;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
    z-index: 2;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.op-timeline-booking-bar:hover {
    transform: translateY(-1px);
    filter: brightness(1.15);
}

.op-timeline-booking-bar.airbnb {
    background: rgba(255,90,95,0.85);
    border: 1px solid rgba(255,90,95,1);
}

.op-timeline-booking-bar.booking {
    background: rgba(26,86,219,0.85);
    border: 1px solid rgba(26,86,219,1);
}

.op-timeline-booking-bar.direct {
    background: rgba(167,139,250,0.85);
    border: 1px solid rgba(167,139,250,1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   VERTICAL TIMELINE FOR MISCELLANEOUS LOG & PURCHASES (OPTION A)
   ───────────────────────────────────────────────────────────────────────────── */
.misc-timeline {
    position: relative;
    padding: 1.5rem 0;
    margin-left: 20px;
    border-left: 2px dashed rgba(197, 168, 128, 0.3); /* gold dashed vertical line */
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 30px;
    animation: fadeIn 0.4s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: -9px; /* center it on the line */
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #0f0f15;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 8px var(--gold-glow);
    z-index: 10;
}

.timeline-card {
    background: rgba(30, 30, 45, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.timeline-card:hover {
    border-color: var(--gold-primary);
    background: rgba(30, 30, 45, 0.65);
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.08);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-date {
    font-family: var(--font-jost);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-primary);
    background: rgba(197, 168, 128, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.timeline-supplier {
    font-family: var(--font-jost);
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.timeline-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.timeline-value-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-jost);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.timeline-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #6ee7b7; /* light green for cost/value */
}

.timeline-value.empty-value {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.timeline-media-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.timeline-media-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.timeline-gallery {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-thumb:hover {
    transform: scale(1.08);
    border-color: var(--gold-primary);
}

.timeline-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.timeline-pdf-btn:hover {
    background: var(--gold-glow);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.timeline-action-bar {
    display: flex;
    gap: 0.5rem;
}

.timeline-upload-btn {
    background: transparent;
    border: 1px dashed rgba(197, 168, 128, 0.3);
    color: var(--gold-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.timeline-upload-btn:hover {
    background: rgba(197, 168, 128, 0.08);
    border-color: var(--gold-primary);
}

