:root {
    --bg-color: #001524;
    /* A very deep blue/black to match the brand */
    --text-color: #f8fafc;
    --primary-color: #CC1D1D;
    /* Brand Red */
    --secondary-color: #00385b;
    /* Brand Dark Blue */
    --accent-color: #ef4444;
    --glass-bg: #ffffff;
    /* Pure white for form panel */
    --glass-border: #e2e8f0;
    --input-bg: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, #072331 0%, #08344B 100%), url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    padding: 0;
    overflow-x: clip;
    /* Better than hidden for sticky */
    position: relative;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Dynamic Background - Hidden in favor of image */
.background-blobs {
    display: block;
    /* Show if they were hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    animation: drift 20s infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: #00385b;
    top: -200px;
    left: -100px;
    opacity: 0.3;
}

.blob-2 {
    width: 800px;
    height: 800px;
    background: #002845;
    bottom: -300px;
    right: -200px;
    animation-delay: -5s;
    opacity: 0.4;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #004e82;
    top: 30%;
    left: 70%;
    animation-delay: -10s;
    opacity: 0.2;
}

@keyframes drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.2);
    }
}

/* VIEW SYSTEM */
.view-section {
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.view-section.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LANDING PAGE STYLES */
.landing-container {
    max-width: 1400px;
    margin: 4vh auto 0;
    /* Center vertically roughly */
    text-align: center;
    position: relative;
    z-index: 100;
}

.landing-header {
    margin-bottom: 3rem;
}

.landing-logo {
    max-width: 350px;
    margin-bottom: 2rem;
}

.landing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-header p {
    color: #94a3b8;
    font-size: 1.2rem;
}

/* DASHBOARD BENTO GRID */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 240px;
    gap: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glassy default */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(10px);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    z-index: 2;
}

.dashboard-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    z-index: 2;
    margin-bottom: auto;
}

.card-icon-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    opacity: 0.05;
    z-index: 1;
    transition: transform 0.5s;
    user-select: none;
}

.dashboard-card:hover .card-icon-bg {
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.1;
}

.card-action {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

/* Specific Grid Areas */
.area-files {
    grid-column: span 1;
    grid-row: span 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.area-quote {
    grid-column: span 1;
    grid-row: span 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.area-projects {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(0, 56, 91, 0.6), rgba(0, 21, 36, 0.8));
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.area-clients {
    grid-column: span 2;
    grid-row: span 1;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .area-projects {
        grid-column: span 2;
        grid-row: auto;
        min-height: 300px;
    }

    .area-clients {
        grid-column: span 2;
    }
}

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

    .area-projects,
    .area-clients,
    .area-files,
    .area-quote {
        grid-column: span 1;
    }
}


/* Layout */
.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    overflow: visible;
    /* Ensure sticky works */
}

.app-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
    /* Prevent flex overflow */
}

.main-content form {
    margin-top: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    height: fit-content;
    /* Critical for sticky to work inside flex */
    /* overflow-y: auto; -- Removed to handle footer better, or keep it? */
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    /* Match form panel padding */
    align-self: flex-start;
    z-index: 20;
}

.sidebar .brief-history-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 1rem;
    max-height: 60vh;
    padding: 2px 8px 2px 2px;
    /* Slight padding to allow hover effects */
}

.sidebar h2 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* History List Styles */


.brief-history-list li {
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.brief-history-list li:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.brief-history-list li.active {
    background: #f1f5f9;
    border-color: var(--secondary-color);
    border-left-width: 4px;
}

.brief-history-list li strong {
    display: block;
    color: var(--secondary-color);
    font-size: 1rem;
}

.brief-history-list li small {
    color: #64748b;
    font-size: 0.8rem;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.author-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 6px;
    color: white;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.delete-btn:hover {
    color: var(--primary-color);
    background: #fee2e2;
}

.empty-state {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    padding: 1rem !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Author Selector */
.author-selector-popup {
    position: absolute;
    width: max-content;
    top: 30px;
    right: 10px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 6px 10px;
    display: flex;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.color-dot-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #cbd5e1;
    cursor: pointer;
    transition: transform 0.1s;
}

.color-dot-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--secondary-color);
}



.empty-state:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .app-wrapper {
        flex-direction: column-reverse;
        /* Sidebar below form on mobile, or above? Usually nav above, sidebar content below. Let's put it below main content or above? Below is better for focus. */
    }

    .sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
}




.app-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.header-logo {
    max-height: 80px;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.form-header-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    /* Gradient White/Blue - wait, inside the white card the text needs to be dark, not white gradient! */
    /* The form is .glass-panel which has off-white background and dark text. */
    /* So we should use the dark blue color directly. */
    color: var(--secondary-color);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

.form-header-content p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Form Styles */
.glass-panel {
    background: var(--glass-bg);
    /* Off-white */
    border: none;
    /* Subtle shadow */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    padding: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    color: #1e293b;
    /* Dark text */
    position: relative;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #475569;
    /* Dark grey label */
    text-shadow: none;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    /* White input */
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    /* Dark Text */
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    /* Red focus border */
    box-shadow: 0 0 0 4px rgba(0, 56, 91, 0.5);
    /* Blue glow */
}

.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    padding: 0;
    height: 1.2rem;
    width: 1.2rem;
    cursor: pointer;
    vertical-align: middle;
    accent-color: var(--secondary-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.inspiration-link {
    margin-bottom: 0;
}

#inspirationContainer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Button */
/* Modern Button Styles */
.cta-button {
    width: 100%;
    padding: 0.8rem 1.5rem;
    margin-top: 1rem;
    background: var(--secondary-color);
    /* Default Blue */
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* Subtle shadow */
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    filter: brightness(110%);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Specific overrides for the Generate button (primary action) */
#generateBtn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0a4f7e 100%);
    font-size: 1.1rem;
    padding: 1rem;
}

/* Results */
.results-container {
    margin-top: 3rem;
    animation: fadeInUp 0.5s ease-out;
}

.section-card {
    background: #ffffff;
    /* White bg */
    border: 1px solid #e2e8f0;
    /* Red Accent Border on the left */
    border-left: 4px solid var(--primary-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: #1e293b;
    /* Dark text */
}

.section-card h2 {
    color: var(--secondary-color);
    /* Dark Blue text */
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    /* Red Border */
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #334155;
    /* Dark grey */
}

.section-card p,
.section-card li {
    color: #475569;
    /* Slate grey */
    line-height: 1.6;
}

.section-card ul {
    list-style-position: inside;
    margin-left: 0.5rem;
}

.color-swatch-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Animations + Utils */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none !important;
}

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Menu Variants */
.menu-variants-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.menu-variant {
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    opacity: 0.7;
}

.menu-variant:hover {
    background: #e2e8f0;
    opacity: 1;
}

.menu-variant.selected {
    background: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.menu-variant.selected::after {
    content: '✔ Gekozen';
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: bold;
}

.menu-variant h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 0.5rem;
}

.menu-variant ul {
    margin: 0;
    padding-left: 1rem;
}

/* Color Editor */
.color-editor-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    background: #f8fafc;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.color-input-visual {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.color-input-hex,
.color-input-name {
    padding: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    color: #334155;
    font-family: monospace;
}

.color-input-hex {
    width: 100px;
}

.color-input-name {
    flex-grow: 1;
}

.btn-icon-only {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #94a3b8;
    transition: color 0.2s;
    padding: 0.4rem;
}

.btn-icon-only:hover {
    color: var(--primary-color);
}

.btn-small {
    padding: 0.5rem 1rem;
    background: #e2e8f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    margin-top: 0.5rem;
}

.btn-small:hover {
    background: #cbd5e1;
}

/* Print/Export States */
body.exporting .menu-variant:not(.selected) {
    display: none !important;
}

body.exporting .menu-variants-container {
    display: block;
    /* Stack instead of grid */
}

body.exporting .btn-icon-only,
body.exporting .btn-small,
body.exporting .color-editor-controls {
    display: none !important;
}

body.exporting .color-input-hex,
body.exporting .color-input-name {
    border: none;
    background: transparent;
    padding: 0;
}

@media print {
    body {
        background: white !important;
        color: black !important;
        padding: 0;
        font-size: 12pt;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Hide Global UI & Editors */
    .app-header,
    #briefForm,
    #action-buttons,
    .background-blobs,
    .glass-panel,
    .sidebar,
    .btn-small,
    .btn-icon-only,
    .delete-btn,
    .add-cta-btn,
    .loader,
    .editable-hint,
    .landing-container,
    .menu-editor-area,
    .menu-name-input,
    .cta-editor-container,
    .cta-input,
    .color-input-visual,
    .color-editor-item button,
    .back-link,
    #view-landing,
    #view-briefing.hidden,
    /* Ensure hidden views stay hidden */
    #view-quote.hidden {
        display: none !important;
    }

    /* Layout Reset */
    .layout-container,
    .app-wrapper,
    .main-content,
    .container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        position: static !important;
    }

    /* Show Results / Quote Content */
    .results-container,
    #quoteResult {
        display: block !important;
        position: static !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        animation: none !important;
    }

    /* Show Print-Specific Elements of Briefing */
    .menu-preview-print,
    .cta-print-list,
    .print-only-logo {
        display: block !important;
    }

    .result-header {
        display: block !important;
    }

    /* Briefing Specific Styling */
    .section-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ddd !important;
        border-left: 4px solid var(--secondary-color) !important;
        box-shadow: none !important;
        margin-bottom: 2rem !important;
        background: white !important;
    }

    .menu-variant {
        border: none !important;
        background: none !important;
        padding: 0 !important;
    }

    .menu-variant:not(.selected) {
        display: none !important;
    }

    /* CTA Print Styling */
    .cta-print-list {
        list-style: none;
        padding: 0;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
    }

    .cta-print-list li {
        margin-bottom: 0;
        padding: 0.6rem 1.2rem;
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px;
        color: #0f172a !important;
        font-weight: 500;
        font-size: 0.95rem;
    }

    /* Remove old bullet */
    .cta-print-list li::before {
        display: none;
    }

    /* Color Palette Optimization */
    .color-editor-item {
        background: none !important;
        border: none !important;
        border-bottom: 1px solid #eee !important;
        padding: 10px 0 !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }

    .color-input-hex,
    .color-input-name {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
        font-weight: 500;
        display: inline-block;
        margin-right: 1rem;
    }

    /* Quote Specific Styling */
    .editable-quote-area {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        outline: none !important;
    }

    /* Typography */
    h1,
    h2,
    h3 {
        color: var(--secondary-color) !important;
        page-break-after: avoid;
    }

    p,
    li {
        color: black !important;
    }
}

/* Helper Class for JS-triggered state (mirrors print options) */
body.exporting {
    background: white !important;
}

body.exporting .menu-preview-print,
body.exporting .cta-print-list,
body.exporting .print-only-logo,
body.exporting .result-header {
    display: block !important;
}

body.exporting .menu-editor-area,
body.exporting .menu-name-input,
body.exporting .cta-editor-container,
body.exporting .cta-input,
body.exporting .app-header {
    display: none !important;
}

/* Base definitions for print elements (hidden normally) */
.menu-preview-print,
.cta-print-list,
.print-only-logo,
.result-header {
    display: none;
}

/* CTA Editor Styles (Restored & Improved) */
.cta-editor-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    align-items: center;
}

.cta-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: #f8fafc;
}

.cta-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 56, 91, 0.1);
}

.add-cta-btn {
    background: #e2e8f0;
    color: #475569;
    border: 1px dashed #94a3b8;
    width: 100%;
}

.add-cta-btn:hover {
    background: #cbd5e1;
    border-style: solid;
}

/* Menu Editor Styles (Restored) */
.menu-name-input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.menu-editor-area {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    resize: vertical;
    background: #fcfcfc;
    white-space: pre;
}

.menu-editor-area:focus,
.menu-name-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 56, 91, 0.1);
}

.menu-preview-container {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

.menu-preview-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Subitem Styling (Restored) */
li.subitem {
    margin-left: 1.5rem;
    list-style-type: circle;
    color: #475569;
}

/* === AUTH / LOGIN STYLES === */
#view-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 56, 91, 0.15);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.auth-title {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-form .form-group {
    text-align: left;
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    background: white;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 56, 91, 0.1);
}

.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-link {
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* === USER PROFILE MENU === */
.user-profile-widget {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 1000;
}

.user-avatar-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 56, 91, 0.15);
    border: 2px solid white;
    transition: transform 0.2s ease;
}

.user-avatar-btn:hover {
    transform: scale(1.05);
}

.user-dropdown {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 10px;
    right: 10px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 0.5rem;
    animation: slideUp 0.2s ease;
    z-index: 1000;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown.visible {
    display: flex;
}

.user-info-header {
    padding: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.5rem;
}

.user-email {
    font-size: 0.85rem;
    color: #64748b;
    word-break: break-all;
}

.dropdown-item {
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    color: #e2e8f0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.1s;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dropdown-item.danger {
    color: #ef4444;
}

.dropdown-item.danger:hover {
    background: #fef2f2;
}

/* Ensure login view is covered even when printing if needed, though usually handled by js */
@media print {
    #view-login {
        display: none !important;
    }
}

/* Client Table Styles */
.client-row {
    transition: background 0.15s;
    cursor: pointer;
}

.client-row:hover {
    background-color: #f1f5f9;
    /* Darker hover for better visibility */
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.staff-select {
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: white;
    font-family: inherit;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    min-width: 100px;
}

.staff-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

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

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.modal-header h2 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
}

.close-modal:hover {
    color: #475569;
}

/* PROJECT BOARD STYLES */
/* PROJECT BOARD STYLES */
.project-board-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /* Reduced gap */
    padding: 0;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}

/* Styled Table Wrapper like glass panel */
.project-section-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
    /* Reduced margin */
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.project-column h3 {
    /* Modern Header */
    background: transparent;
    color: white;
    /* White text for contrast on dark/glass bg */
    padding: 0 0 0.5rem 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    /* Slightly smaller */
    letter-spacing: 0.05em;
    margin: 1rem 0 0.75rem 0;
    /* Tighter margins */
    border-bottom: 2px solid var(--glass-border);
    /* More subtle border */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* FINANCE BOARD STYLES */
.finance-board-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0;
    text-align: left;
    font-family: 'Outfit', sans-serif;
}

.amount-cell {
    display: flex;
    align-items: center;
    gap: 4px;
}

.amount-cell span {
    color: #94a3b8;
    pointer-events: auto;
    /* Allow clicking */
    user-select: none;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s;
}

.amount-cell span:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Status Backgrounds for Amounts */
.status-bg-green {
    background: #dcfce7 !important;
    color: #166534 !important;
    border-color: #86efac !important;
}

.status-bg-blue {
    background: #dbeafe !important;
    color: #1e40af !important;
    border-color: #93c5fd !important;
}

.amount-cell div {
    flex: 1;
    min-width: 20px;
}

.finance-header {
    background: #f1f5f9;
    color: var(--secondary-color);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
}

/* Fix for gap between finance header and table */
.project-section-wrapper .finance-header+.project-table {
    margin-top: 0;
}

.project-section-wrapper .finance-header+.project-table th {
    border-top: none;
}

.project-card-header {
    background: #f1f5f9;
    color: var(--secondary-color);
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
}

/* Ensure table inside wrapper respects rounded corners of subheader */
.project-section-wrapper .project-card-header+.project-table th {
    background: #fff;
    border-top: none;
}

.project-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.85rem;
    /* Smaller global font for table */
}

.drag-handle {
    cursor: grab;
    color: #cbd5e1;
    font-size: 1.2rem;
    padding-right: 8px;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
    color: var(--secondary-color);
}

.project-table th {
    text-align: left;
    padding: 0.5rem 0.75rem;
    /* Tighter padding */
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.project-table td {
    padding: 0.6rem 0.75rem;
    /* Tighter padding */
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
    /* height: 32px; REMOVED to prevent conflict */
}

.project-table tr {
    height: 48px;
    vertical-align: middle;
}

.project-table thead tr {
    height: 40px;
    /* Header might be slightly shorter */
}

.editable-cell {
    padding: 4px 8px;
    min-height: 24px;
    border-radius: 4px;
    transition: background 0.2s;
    outline: none;
}

.editable-cell:focus {
    background: #f1f5f9;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

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

/* Status Dots - Modern Badges */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 0 0 2px white, 0 0 0 3px transparent;
    transition: transform 0.2s, box-shadow 0.2s;
}

.status-dot:hover {
    transform: scale(1.2);
}

.status-black {
    background-color: #334155;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #cbd5e1;
}

.status-green {
    background-color: #22c55e;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #86efac;
}

/* Category Selection Buttons in Modal */
.cat-select-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.2s;
    font-family: inherit;
}

.cat-select-btn:hover {
    background: #f1f5f9;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    transform: translateX(4px);
}

.status-yellow {
    background-color: #eab308;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #fde047;
}

.status-red {
    background-color: #ef4444;
    box-shadow: 0 0 0 2px white, 0 0 0 3px #fca5a5;
}

/* Editable Cells */
.editable-cell {
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.editable-cell:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.editable-cell:focus {
    background: white;
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.add-project-btn {
    background: white;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 1rem 0;
    padding: 0.75rem;
    border-radius: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.add-project-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: #f0f9ff;
}

/* =========================================
   DASHBOARD LAYOUT (New Layout V2)
   ========================================= */

/* Wrapper for the sidebar + content */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: transparent;
    position: relative;
    overflow-x: hidden;
}

/* SIDEBAR STYLES */
/* SIDEBAR STYLES - Collapsible on Hover */
.app-sidebar {
    width: 68px;
    background: rgba(15, 61, 90, 0.4);
    /* Lighter blue, matches page background better */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    flex-shrink: 0;
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    white-space: nowrap;
}

.app-sidebar:hover {
    width: 260px;
    background: rgba(15, 61, 90, 0.6);
    box-shadow: 15px 0 35px rgba(0, 0, 0, 0.2);
}

.sidebar-header {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: center;
    height: 80px;
    transition: all 0.3s;
}

.app-sidebar:hover .sidebar-header {
    justify-content: flex-start;
    padding: 1.5rem;
}

.sidebar-brand-text {
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    display: flex;
    align-items: center;
}

.brand-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    min-width: 24px;
    margin-right: 0.5rem;
}

.brand-vanoo,
.brand-one {
    opacity: 0;
    width: 0;
    display: inline-block;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-sidebar:hover .brand-vanoo,
.app-sidebar:hover .brand-one {
    opacity: 1;
    width: auto;
}

.brand-one {
    color: #e42223;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0.5rem;
    /* Reduced horizontal padding */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-divider {
    margin: 1.5rem 0;
    height: 20px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-divider::before {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-divider-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-left: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.app-sidebar:hover .nav-divider::before {
    opacity: 0;
    transform: scaleX(0);
}

.app-sidebar:hover .nav-divider-text {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.1s;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    /* Uniform padding */
    background: transparent;
    border: none;
    color: #94a3b8;
    text-align: left;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    justify-content: center;
    /* Center icon collapsed */
}

.app-sidebar:hover .nav-item {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.nav-item.active {
    background: linear-gradient(90deg, var(--primary-color) 0%, #ff4b4b 100%);
    color: white;
    box-shadow: 0 8px 16px rgba(204, 29, 29, 0.4);
    font-weight: 600;
}

/* Hide text in nav items collapsed */
.nav-item {
    font-size: 0;
    /* Hide text mainly */
}

.nav-item .nav-icon {
    font-size: 1.2rem;
    min-width: 24px;
    /* Ensure icon size */
    text-align: center;
    margin-right: 0;
}

.app-sidebar:hover .nav-item {
    font-size: 0.95rem;
}

.app-sidebar:hover .nav-item .nav-icon {
    margin-right: 0.5rem;
}

.sidebar-footer-user {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    position: relative;
    margin-top: auto;
}

.user-mini-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    justify-content: center;
}

.app-sidebar:hover .user-mini-profile {
    justify-content: flex-start;
}

.user-mini-profile:hover {
    background: rgba(255, 255, 255, 0.05);
}

.avatar-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    /* Fixed size */
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.2s;
}

.app-sidebar:hover .user-details {
    opacity: 1;
    width: auto;
}

.user-details span {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.user-details small {
    color: #64748b;
    font-size: 0.75rem;
    white-space: nowrap;
}

/* MAIN CONTENT AREA */
.app-main {
    flex: 1;
    padding: 2rem;
    height: 100vh;
    overflow-y: auto;
    position: relative;
    background: transparent;
}

/* Force Views to NOT be Fixed/Absolute overlays anymore */
.view-section {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    display: none;
    /* Controlled by JS */
    padding: 0 !important;
    background: transparent !important;
    z-index: 1 !important;
}

.view-section:not(.hidden) {
    display: block !important;
    animation: fadeIn 0.3s ease-out;
}

/* Fix Login View to STAY fixed */
#view-login.view-section,
#view-login {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
}

/* Hide Old Back Buttons in Headers */
.app-header a[onclick*="switchView('landing')"] {
    display: none !important;
}

/* Adjust Layout Containers inside views */
.layout-container {
    max-width: 100% !important;
    margin: 0 !important;
}

/* Remove 'Terug naar Home' elements broadly */
.cta-button.secondary[onclick*='landing'] {
    display: none !important;
}




/* Center Content in Login View */
#view-login {
    display: flex !important;
    justify-content: center;
    align-items: center;
}


/* Ensure hidden login view is ACTUALLY hidden */
#view-login.hidden {
    display: none !important;
}

/* CONTACT FORMS LIST STYLES */
.form-entry-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}

.form-entry-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-entry-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
}

.form-entry-main {
    display: flex;
    flex-direction: column;
}

.form-entry-name {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.form-entry-email {
    color: #64748b;
    font-size: 0.85rem;
}

.form-entry-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.form-entry-date {
    color: #94a3b8;
    font-size: 0.85rem;
}

.form-entry-chevron {
    color: #cbd5e1;
    transition: transform 0.3s;
}

.form-entry-detail {
    padding: 1.5rem;
    border-top: 1px solid #f1f5f9;
    background: white;
    animation: slideDown 0.3s ease-out;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.detail-col {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #334155;
}

.detail-col strong {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 2px;
}

.detail-message {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.detail-message strong {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.btn-danger-small {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #fecaca;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

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

/* TICKETS STYLES */
.ticket-column {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ticket-column-header {
    color: var(--secondary-color) !important;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

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

.ticket-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 4px solid var(--secondary-color);
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: white;
}

.ticket-card-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-right: 25px;
    font-size: 0.95rem;
}

.ticket-card-delete {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: #cbd5e1;
    transition: color 0.2s;
    font-size: 1.2rem;
    line-height: 1;
}

.ticket-card-delete:hover {
    color: #ef4444;
}

.add-ticket-btn {
    margin-top: 1.5rem;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    color: #64748b;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.85rem;
}

.add-ticket-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-style: solid;
    border-color: var(--secondary-color);
}

.broad-modal {
    max-width: 900px !important;
    width: 90% !important;
}

.ticket-labels-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.ticket-label-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.label-picker {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.label-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    border: 2px solid transparent;
    color: #334155;
    font-weight: 500;
}

.label-option:hover {
    background: white;
}

.label-option.active {
    background: white;
    border-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: var(--secondary-color);
}

.label-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

/* Specific Label Colors */
.tag-jill,
.dot-jill {
    background-color: #40E0D0;
    color: #000;
}

/* Turquoise */
.tag-melissa,
.dot-melissa {
    background-color: #22c55e;
    color: #fff;
}

/* Green */
.tag-hannah,
.dot-hannah {
    background-color: #ec4899;
    color: #fff;
}

/* Pink */
.tag-none,
.dot-none {
    background-color: #cbd5e1;
}

.tag-none {
    color: #64748b;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}