: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;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    /* Slate-blue splash */
    border-radius: 10px;
    transition: all 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.6);
}

/* Firefox Support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.3) transparent;
}

* {
    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;
    opacity: 0.4;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #004d80;
    top: 30%;
    right: 15%;
    opacity: 0.15;
    animation-duration: 25s;
}

@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;
}

.layout-container {
    max-width: 98% !important;
    margin: 0 auto !important;
    padding: 1.5rem 0;
}

/* UNIFIED VIEW HEADER */
.app-view-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInDown 0.8s cubic-bezier(0.19, 1, 0.22, 1) backwards;
}

.view-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.view-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-align: left;
}

.view-subtitle {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
}

.view-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Consolidated Glass Panel - Base style for the dashboard cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    color: #1e293b;
    /* Ensure text is dark on the light panel */
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.glass-panel-flat {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

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

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

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    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(3, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    margin-top: 1rem;
    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 removed from here as it is redefined below */

.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(14, 165, 233, 0.2), rgba(0, 56, 91, 0.4));
    border: 1px solid rgba(14, 165, 233, 0.3);
}

/* NEW DASHBOARD STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    animation: fadeInUp 0.5s ease-out backwards;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(15px);
    animation: fadeInUp 0.8s cubic-bezier(0.19, 1, 0.22, 1) backwards;
}

.dashboard-card:nth-child(1) {
    animation-delay: 0.2s;
}

.dashboard-card:nth-child(2) {
    animation-delay: 0.3s;
}

.dashboard-card:nth-child(3) {
    animation-delay: 0.4s;
}

.dashboard-card:nth-child(4) {
    animation-delay: 0.5s;
}

.dashboard-card:nth-child(5) {
    animation-delay: 0.6s;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.dashboard-card h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card-icon-bg {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 4.5rem;
    opacity: 0.2;
    z-index: 1;
    transition: all 0.4s ease;
}

.dashboard-card:hover .card-icon-bg {
    opacity: 0.5;
    transform: scale(1.2) rotate(10deg);
}

.dashboard-card p {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 85%;
}

.area-big {
    grid-column: span 2;
    grid-row: span 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.area-big:hover {
    border-color: #38bdf8 !important;
}

.area-testlocaties {
    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-tickets {
    grid-column: span 1;
    grid-row: span 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

/* 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;
}

/* Removed redundant .glass-panel definition to avoid conflicts */

.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: linear-gradient(135deg, var(--secondary-color) 0%, #0a4f7e 100%);
    /* 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 {

    /* GLOBAL PRINT RESET */
    body {
        background: white !important;
        color: black !important;
        overflow: visible !important;
    }

    /* HIDE EVERYTHING by default */
    body>* {
        display: none !important;
    }

    /* RESET ANIMATIONS */
    * {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
    }

    /* GLOBAL PRINT RESET */
    body,
    html {
        background: white !important;
        color: black !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }

    /* Restore Dashboard Wrapper but hide its direct grid/layout logic if needed */
    #dashboard-wrapper {
        display: block !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Hide Sidebar & Navigation explicitly */
    .app-sidebar,
    aside,
    nav,
    .sidebar,
    .app-header,
    .view-actions,
    .wizard-buttons,
    .action-buttons,
    #action-buttons,
    button,
    .cta-button,
    .btn-small,
    .refresh-btn,
    .formatting-toolbar,
    .landing-header-logo,
    .print-only-logo,
    .result-header {
        display: none !important;
    }

    /* Restore Main Content Area */
    .app-wrapper,
    .app-main,
    .main-content {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: none !important;
        position: static !important;
        overflow: visible !important;
        height: auto !important;
    }

    /* TARGET: QUOTE VIEW - Only if not hidden */
    #view-quote:not(.hidden) {
        display: block !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* We only want to show the Quote Result container */
    #view-quote>.layout-container {
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        height: auto !important;
    }

    #quoteResult {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide the form inputs in quote view when printing results */
    #quote-input-panel,
    #quoteFormDetails {
        display: none !important;
    }

    /* Ensure the quote area itself is visible and styled for print */
    .editable-quote-area {
        display: block !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 11pt !important;
        color: black !important;
        background: white !important;
        width: 100% !important;
    }

    /* TARGET: BRIEFING VIEW - Only if not hidden */
    #view-briefing:not(.hidden) {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    #view-briefing .layout-container {
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide Briefing Forms */
    #briefForm,
    .app-view-header,
    .step-indicator-container {
        display: none !important;
    }

    /* Show Briefing Results */
    #results {
        display: block !important;
        overflow: visible !important;
    }

    /* BRIEFING SPECIFIC ELEMENTS */
    .menu-variants-container {
        display: block !important;
        break-inside: avoid;
    }

    .menu-variant {
        display: block !important;
        border: none !important;
        background: none !important;
        padding: 0 !important;
        margin-bottom: 2rem !important;
    }

    /* If we only want the selected one, usually JS handles hiding others. 
       But if printing relies on CSS 'selected' class: */
    /* .menu-variant:not(.selected) { display: none !important; } */
    /* The user wants "THE WHOLE BRIEFING", which implies seeing the menu structure. 
       If multiple variants exist, maybe they want to see them? 
       Usually the briefing has one 'main' structure or the user selects one. 
       Let's ensure at least they are visible. */

    .section-card {
        border: none !important;
        border-bottom: none !important;
        /* Remove separator line to match quote style clean look */
        box-shadow: none !important;
        margin-bottom: 2rem !important;
        padding: 0 !important;
        background: transparent !important;
        /* Remove white background box look */
        page-break-inside: auto !important;
    }



    /* Remove box styling for quoted menu to allow nice breaking */
    .quote-menu-box {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .quote-menu-box ul {
        margin-left: 1.5rem;
    }

    /* General Typography Overrides */
    h1,
    h2,
    h3,
    h4,
    strong {
        color: #000 !important;
        /* Force black or keep brand color? User said 'what I copy', copy has no style usually or minimal. Let's keep minimal brand color for headers. */
        color: var(--secondary-color) !important;
    }

    p,
    li,
    span,
    div {
        color: #000 !important;
    }

    /* Force Break Logic */
    .page-break {
        page-break-before: always !important;
        break-before: page !important;
        display: block !important;
        height: 1px;
        width: 100%;
        clear: both;
        visibility: hidden;
    }

    h3[style*="page-break-before"] {
        page-break-before: always !important;
        break-before: page !important;
        display: block !important;
        clear: both !important;
    }

    .editable-hint {
        display: none !important;
    }

    /* Show Print Specifics */
    .print-only-logo {
        display: block !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;
    max-height: 90vh;
    border-radius: 16px;
    padding: 0;
    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;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 1.5rem 2rem;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f8fafc;
}

.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;
}

@media (max-width: 1200px) {
    .project-board-container {
        grid-template-columns: 1fr;
    }
}

/* 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;
    table-layout: fixed;
}

.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: 72px;
    background: rgba(15, 61, 90, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 2rem);
    position: sticky;
    top: 1rem;
    left: 1rem;
    margin: 1rem 0 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: 100;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.app-sidebar:hover {
    width: 260px;
    background: rgba(15, 61, 90, 0.5);
    box-shadow: 20px 0 40px rgba(0, 0, 0, 0.3);
}

.sidebar-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: center;
    height: 60px;
    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;
    transition: margin 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.brand-vanoo,
.brand-media {
    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-media {
    opacity: 1;
    width: auto;
}

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

.brand-media {
    color: #e42223;
}

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

/* SLEEK SIDEBAR SCROLLBAR */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-divider {
    margin: 0.5rem 0;
    height: 16px;
    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: 10px;
    right: 10px;
    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;
}

.sidebar-nav {
    padding: 1rem 0.75rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.6rem 0.75rem;
    /* Tighter vertical 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.6rem 1rem;
    gap: 0.75rem;
}

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

.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 700;
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 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: 0.75rem 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: 0rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    justify-content: center;
}

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

.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 when NOT hidden */
#view-login:not(.hidden) {
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* 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;
}







/* CLIENTS TABLE UNIFICATION */
.clients-table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
}

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

.clients-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.9rem;
    vertical-align: middle;
}

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

.clients-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Fix for gap between search and table */
#clientSearchInput {
    transition: all 0.2s;
}

#clientSearchInput:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(204, 29, 29, 0.1);
}

/* 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;
}

.ticket-column {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    min-height: 700px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(10px);
}

.ticket-column-header {
    color: var(--secondary-color) !important;
    font-size: 1.15rem;
    font-weight: 800;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    padding: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 20px 20px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space for expand btn */
    gap: 0.75rem;
}

.ticket-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.ticket-column-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.expand-col-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: #64748b;
}

.expand-col-btn:hover {
    background: #f1f5f9;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.expand-col-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: rotate(180deg);
}

/* Expanded Board Logic */
#ticketsBoard {
    transition: grid-template-columns 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#ticketsBoard.expanded-teksten {
    grid-template-columns: 2.5fr 0.8fr 0.8fr !important;
}

#ticketsBoard.expanded-landings {
    grid-template-columns: 0.8fr 2.5fr 0.8fr !important;
}

#ticketsBoard.expanded-overig {
    grid-template-columns: 0.8fr 0.8fr 2.5fr !important;
}

.ticket-column {
    transition: all 0.4s ease;
    overflow: hidden;
}

.ticket-column.minimized {
    padding: 1rem;
    opacity: 0.7;
}

.ticket-column.minimized .ticket-column-header {
    margin: -1rem -1rem 1rem -1rem;
    padding: 1rem;
    font-size: 0.9rem;
}

.ticket-column.minimized .add-ticket-btn {
    font-size: 0.75rem;
    padding: 0.4rem;
}

/* Sorting UI */
.ticket-sort-controls {
    display: none;
    background: #f1f5f9;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #475569;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.3s ease;
}

.ticket-column.expanded .ticket-sort-controls {
    display: flex;
}

.sort-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.sort-toggle:hover {
    background: white;
}

.sort-toggle.active {
    background: var(--secondary-color);
    color: white;
}

.sort-toggle .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
}

.sort-toggle.active .dot {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

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

.ticket-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    cursor: grab;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, border-color 0.2s ease, margin 0.2s ease;
    border-left: 4px solid var(--secondary-color);
}

.ticket-card:active {
    cursor: grabbing;
}

.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 {
    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: 1300px !important;
    width: 95% !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: 4px;
    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: #fff;
}

/* Purple */
.tag-melissa,
.dot-melissa {
    background-color: #9333ea;
    color: #fff;
}

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

/* Pink */
.tag-niet-starten,
.dot-niet-starten {
    background-color: #ef4444;
    color: #fff;
}

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

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

/* LABEL SETTINGS MODAL */
.label-settings-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.label-settings-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.label-color-picker {
    width: 40px;
    height: 40px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.label-color-picker:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.label-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.label-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.label-name-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

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

.label-remove-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.label-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* HOURS REGISTRATION MODAL */
.hours-input-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.hours-input-row:hover {
    border-color: var(--secondary-color);
}

.hours-person-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hours-person-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hours-person-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.hours-input-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hours-number-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    text-align: center;
    color: #1e293b;
    transition: all 0.2s ease;
}

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

.hours-number-input::-webkit-inner-spin-button,
.hours-number-input::-webkit-outer-spin-button {
    opacity: 1;
}

.hours-unit {
    color: #64748b;
    font-size: 0.9rem;
}

/* Month Overview */
.month-overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.month-overview-row:last-child {
    border-bottom: none;
}

.month-overview-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.month-total-hours {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
}

.month-days-worked {
    color: #94a3b8;
    font-size: 0.85rem;
}

.month-overview-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Weekly Hours Grid Table */
.week-nav-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.week-nav-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Hours Tabs */
.hours-tab {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.hours-tab:hover {
    color: var(--secondary-color);
}

.hours-tab.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.weekly-hours-grid {
    min-height: 460px;
    transition: opacity 0.2s ease;
}

#hoursWeekView,
#hoursMonthView {
    min-height: 520px;
    animation: fadeIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

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

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

.weekly-hours-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.weekly-hours-table thead {
    background: #f8fafc;
}

.weekly-hours-table th {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.weekly-hours-table th.person-column {
    text-align: left;
    padding-left: 1rem;
    width: 200px;
}

.weekly-hours-table th.total-column {
    background: #f1f5f9;
    color: var(--secondary-color);
    font-weight: 700;
    width: 80px;
}

.weekly-hours-table th.day-column {
    width: 90px;
}

.weekly-hours-table th.day-column.today {
    background: var(--secondary-color);
    color: white;
}

.weekly-hours-table th.day-column.weekend {
    background: #e8edf2;
    color: #475569;
}

.weekly-hours-table th.day-column.today.weekend {
    background: var(--secondary-color);
    color: white;
}

.day-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.day-date {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.weekly-hours-table td {
    padding: 2rem 0.5rem;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.weekly-hours-table td.person-cell {
    text-align: left;
    padding-left: 1rem;
}

.weekly-hours-table td.input-cell {
    padding: 0.4rem;
}

.weekly-hours-table td.input-cell.today {
    background: rgba(0, 56, 91, 0.05);
}

.weekly-hours-table td.input-cell.weekend {
    background: #f4f7fa;
}

.weekly-hours-table td.total-cell {
    font-weight: 700;
    color: var(--secondary-color);
    background: #f8fafc;
}

.weekly-hours-table tr.person-row:hover td {
    background: #f8fafc;
}

.weekly-hours-table tr.person-row:hover td.input-cell.today {
    background: rgba(0, 56, 91, 0.08);
}

.weekly-hours-table tr.person-row:hover td.input-cell.weekend {
    background: #e8edf2;
}

.weekly-hours-input {
    width: 100%;
    max-width: 60px;
    padding: 0.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    color: #1e293b;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
    appearance: textfield;
}

.weekly-hours-input::-webkit-outer-spin-button,
.weekly-hours-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.weekly-hours-input::placeholder {
    color: #cbd5e1;
}

/* Location Toggle Button Styling */
.location-toggle-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-left: 4px;
    padding: 0;
}

.location-toggle-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: scale(1.05);
}

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

/* Footer Row Totals */
.footer-row {
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
}

.footer-row td {
    padding: 1rem 0.5rem;
    color: #1e293b;
}

.day-total-cell {
    font-weight: 700;
    color: #64748b;
}

.grand-total-cell {
    font-weight: 800;
    color: var(--secondary-color);
    background: #f1f5f9;
}

/* Monthly Overview Premium Styles */
.month-overview-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.month-overview-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
    animation: slideDown 0.3s ease-out;
}

.month-overview-row:hover {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.month-overview-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.month-total-hours {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.month-days-worked {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.month-overview-total {
    background: var(--secondary-color);
    color: white;
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 15px -3px rgba(0, 56, 91, 0.2);
}

.month-overview-total strong:last-child {
    font-size: 1.4rem;
    color: white !important;
}

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

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

/* FORMATTING TOOLBAR */
.formatting-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.formatting-toolbar button {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
}

.formatting-toolbar button:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}

.formatting-toolbar button:active {
    background: #cbd5e1;
}

.rich-editor {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    border: 1px solid #e2e8f0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: white;
    color: #0f172a;
    overflow-y: auto;
    line-height: 1.6;
}

.rich-editor:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.rich-editor ul,
.rich-editor ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rich-editor li {
    margin-bottom: 0.25rem;
}

/* TICKETS ARCHIVE & DRAG */
.ticket-card.completed {
    opacity: 0.6;
    filter: grayscale(0.8);
    border-left-color: #94a3b8;
}

.ticket-card.in-progress {
    border-left-color: #22c55e;
    /* Green for active work */
    background-color: #f0fdf4;
}

.ticket-card.completed .ticket-card-title {
    text-decoration: line-through;
    color: #64748b;
}

.ticket-card.dragging {
    opacity: 0.5;
    transform: scale(0.95);
    border: 2px dashed var(--secondary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.ticket-card-complete {
    position: absolute;
    top: 0.75rem;
    right: 2.5rem;
    /* Left of the delete button */
    color: #cbd5e1;
    transition: color 0.2s;
    font-size: 1.1rem;
    line-height: 1;
}

.ticket-card-complete:hover {
    color: #22c55e;
}

.ticket-card.completed .ticket-card-complete {
    color: #22c55e;
}

.ticket-drop-zone {
    margin-top: 3rem !important;
}

.ticket-drop-zone::before {
    content: 'Plaats hier';
    position: absolute;
    top: -2.2rem;
    left: 0;
    right: 0;
    height: 1.8rem;
    background: rgba(56, 189, 248, 0.05);
    /* Light sky blue bg */
    border: 2px dashed #38bdf8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 800;
    text-transform: uppercase;
    animation: pulseDrop 1.5s infinite;
}

@keyframes pulseDrop {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.ticket-list.drop-active {
    background: rgba(0, 56, 91, 0.02);
    border-radius: 8px;
    padding-bottom: 2rem;
    /* Make room for the bottom indicator */
    transition: padding 0.2s ease;
}

.ticket-list.drop-at-end::after {
    content: 'Plaats onderaan';
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.8rem;
    background: rgba(56, 189, 248, 0.05);
    /* Light sky blue bg */
    border: 2px dashed #38bdf8;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 800;
    text-transform: uppercase;
    animation: pulseDrop 1.5s infinite;
    margin-top: 1rem;
}

/* PAGESPEED STYLES */
.ps-tab {
    background: transparent;
    border: none;
    color: #64748b;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 8px;
    font-weight: 500;
}

.ps-tab:hover {
    color: var(--secondary-color);
    background: #f1f5f9;
}

.ps-tab.active {
    color: var(--secondary-color);
    background: #e2e8f0;
    font-weight: 600;
}

.score-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.score-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 6px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    background: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.score-label {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 700;
}

/* PageSpeed Score Colors */
.score-green {
    border-color: #22c55e !important;
    color: #22c55e;
}

.score-orange {
    border-color: #f59e0b !important;
    color: #f59e0b;
}

.score-red {
    border-color: #ef4444 !important;
    color: #ef4444;
}

.metrics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.metric-name {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-value {
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* VANOO SEO MONITOR STYLES */
.seo-monitor-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seo-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.seo-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
}

.seo-row:hover {
    border-color: var(--secondary-color);
}

.seo-row-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.seo-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.seo-url {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seo-row-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-details {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: white;
}

.seo-audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.seo-audit-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audit-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audit-value {
    font-size: 0.9rem;
    color: #334155;
    word-break: break-all;
}

.seo-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-warning {
    background: #fef9c3;
    color: #a16207;
}

.badge-error {
    background: #fee2e2;
    color: #b91c1c;
}

.ai-suggestion-btn {
    background: #f5f3ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.v-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.v-modal {
    background: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.v-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.v-modal-text {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

.v-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.v-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.v-btn-cancel:hover {
    background: #e2e8f0;
}

.v-btn-confirm {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.2s;
}

.v-btn-confirm:hover {
    filter: brightness(110%);
}

.v-btn-confirm.danger {
    background: var(--secondary-color);
}

/* CUSTOM NOTIFICATIONS & MODALS */
.v-notification-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

.v-notification {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
    color: #1e293b;
    font-weight: 500;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    align-items: center;
    gap: 1rem;
    pointer-events: auto;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s ease;
}

.v-notification.error {
    border-left-color: var(--primary-color);
}

.v-notification.success {
    border-left-color: #22c55e;
}

.v-notification.closing {
    opacity: 0;
    transform: translateX(20px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.v-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 1.5rem;
}

.search-suggestions {
    position: absolute;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 220px;
}

.search-item {
    padding: 8px 12px;
    cursor: pointer;
    color: black;
    font-size: 0.8rem;
    border-bottom: 1px solid #eee;
}

.search-item:hover {
    background: #f0f0f0;
}

.search-item strong {
    color: #00385b;
}

/* GLOBAL SEARCH STYLES */
.global-search-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.search-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 56, 91, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 10;
}

.search-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 56, 91, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-fab.active {
    background: #1e293b;
    transform: rotate(90deg);
}

.search-input-wrapper {
    position: absolute;
    bottom: 0px;
    right: 70px;
    width: 0;
    height: 60px;
    background: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
}

.global-search-container.active .search-input-wrapper {
    width: 380px;
    opacity: 1;
    pointer-events: all;
    padding-left: 20px;
    padding-right: 20px;
}

.search-input-wrapper input {
    width: 100%;
    border: none;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    background: transparent;
    color: #1e293b;
}

.search-results-dropdown {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 450px;
    max-height: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* SEARCH HIGHLIGHT ANIMATION */
@keyframes search-highlight-pulse {
    0% {
        background-color: transparent;
    }

    30% {
        background-color: rgba(255, 255, 0, 0.3);
    }

    100% {
        background-color: transparent;
    }
}

.search-highlight {
    animation: search-highlight-pulse 1s ease-in-out 3;
    border-radius: 8px;
    transition: all 0.3s;
}

#testlocatiesBoard .search-highlight,
#view-projects .search-highlight {
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

.global-search-container.active .search-results-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-results-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
}

.search-category {
    padding: 12px 20px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.1em;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.search-category:first-child {
    border-top: none;
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.search-result-item:hover {
    background: rgba(0, 56, 91, 0.05);
    padding-left: 25px;
}

.search-result-item.selected {
    background: rgba(0, 56, 91, 0.1);
    padding-left: 25px;
    border-left: 3px solid var(--secondary-color);
}

.search-result-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.search-result-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

.empty-search-state {
    padding: 3rem 2rem;
    text-align: center;
    color: #94a3b8;
}

.empty-search-state span {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {

    .global-search-container.active .search-input-wrapper,
    .search-results-dropdown {
        width: calc(100vw - 4rem);
    }
}

/* NOTIFICATION SECTION (HOME) */
.notification-area {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    animation: fadeInDown 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.notification-banner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f59e0b;
    /* Amber accent */
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.notification-banner:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.notification-icon {
    font-size: 1.8rem;
    background: rgba(245, 158, 11, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #f59e0b;
}

.notification-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: left;
}

.notification-text p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: #94a3b8;
}

.notification-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-notif-done {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(204, 29, 29, 0.2);
}

background-color: transparent;
}
}

.search-highlight {
    animation: search-highlight-pulse 1s ease-in-out 3;
    border-radius: 8px;
    transition: all 0.3s;
}

#testlocatiesBoard .search-highlight,
#view-projects .search-highlight {
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

.global-search-container.active .search-results-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.search-results-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
}

.search-category {
    padding: 12px 20px 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.1em;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.search-category:first-child {
    border-top: none;
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.search-result-item:hover {
    background: rgba(0, 56, 91, 0.05);
    padding-left: 25px;
}

.search-result-item.selected {
    background: rgba(0, 56, 91, 0.1);
    padding-left: 25px;
    border-left: 3px solid var(--secondary-color);
}

.search-result-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.search-result-subtitle {
    font-size: 0.8rem;
    color: #64748b;
}

.empty-search-state {
    padding: 3rem 2rem;
    text-align: center;
    color: #94a3b8;
}

.empty-search-state span {
    display: block;
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {

    .global-search-container.active .search-input-wrapper,
    .search-results-dropdown {
        width: calc(100vw - 4rem);
    }
}

/* NOTIFICATION SECTION (HOME) */
.notification-area {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    animation: fadeInDown 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.notification-banner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #f59e0b;
    /* Amber accent */
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.notification-banner:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.notification-icon {
    font-size: 1.8rem;
    background: rgba(245, 158, 11, 0.15);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: #f59e0b;
}

.notification-text h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: left;
}

.notification-text p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: #94a3b8;
}

.notification-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-notif-done {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(204, 29, 29, 0.2);
}

.btn-notif-done:hover {
    background: #e11d48;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(204, 29, 29, 0.3);
}

/* LOGIN INFO STYLING */
.btn-copy-small {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    padding: 0 8px;
    height: 34px;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-copy-small:hover {
    background: #f8fafc;
    border-color: var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 56, 91, 0.1);
    transform: translateY(-1px);
}

.btn-copy-small:active {
    transform: translateY(0);
    box-shadow: none;
}