:root {
    --wb-primary: #057388; /* Tern-like Teal */
    --wb-primary-dark: #045d6e;
    --wb-secondary: #4f46e5; /* Vibrant Purple/Indigo */
    --wb-secondary-dark: #4338ca;
    --wb-accent: #0ea5e9; /* Sky Blue - keeping as secondary accent */
    --wb-danger: #dc2626; /* Standard Red */
    --wb-danger-dark: #b91c1c;
    --wb-light: #F8F9FA; /* Light Gray Background */
    --wb-text: #1a202c;
    --wb-text-muted: #64748b;
    --wb-bg: #f8fafc;
    --wb-card-bg: #ffffff;
    --wb-border-color: rgba(0,0,0,0.08);
}

[data-bs-theme="dark"] {
    --wb-bg: #1a1b1e;
    --wb-card-bg: #25262b;
    --wb-text: #e9ecef;
    --wb-text-muted: #adb5bd;
    --wb-border-color: #373a40;
    --wb-primary: #4dabf7;
    --wb-primary-dark: #228be6;
    --wb-secondary: #909296;
    --wb-light: #1a1b1e;
    
    /* FullCalendar Overrides */
    --fc-border-color: #373a40;
    --fc-daygrid-event-dot-width: 8px;
    --fc-page-bg-color: #1a1b1e;
    --fc-neutral-bg-color: #25262b;
    --fc-list-event-hover-bg-color: #2c2e33;
    
    --bs-body-bg: var(--wb-bg);
    --bs-body-color: var(--wb-text);
    --bs-card-bg: var(--wb-card-bg);
    --bs-card-cap-bg: var(--wb-card-bg);
    --bs-border-color: var(--wb-border-color);
}

/* Global Placeholder Styling */
::placeholder {
    color: var(--wb-text-muted) !important;
    opacity: 0.7 !important;
}

/* Quill Editor Dark Mode Overrides */
.ql-toolbar.ql-snow {
    background-color: var(--wb-bg) !important;
    border-color: var(--wb-border-color) !important;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.ql-container.ql-snow {
    background-color: var(--wb-card-bg) !important;
    color: var(--wb-text) !important;
    border-color: var(--wb-border-color) !important;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.ql-snow .ql-stroke {
    stroke: var(--wb-text-muted) !important;
}

.ql-snow .ql-fill {
    fill: var(--wb-text-muted) !important;
}

.ql-snow .ql-picker {
    color: var(--wb-text-muted) !important;
}

[data-bs-theme="dark"] .ql-snow .ql-active .ql-stroke {
    stroke: var(--wb-primary) !important;
}

[data-bs-theme="dark"] .ql-snow .ql-active .ql-fill {
    fill: var(--wb-primary) !important;
}

/* Quill Placeholder */
.ql-editor.ql-blank::before {
    color: var(--wb-text-muted) !important;
    opacity: 0.6;
    font-style: normal;
}

/* Quill Editor Placeholder for Dark Mode */
[data-bs-theme="dark"] .ql-editor.ql-blank::before {
    color: var(--wb-text-muted) !important;
    font-style: italic;
    opacity: 0.7;
}

/* Global Overrides for Dark Mode */
[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .bg-light,
[data-bs-theme="dark"] .card-header.bg-white,
[data-bs-theme="dark"] .card-header.bg-light {
    background-color: var(--wb-card-bg) !important;
    color: var(--wb-text) !important;
}

[data-bs-theme="dark"] .text-dark {
    color: var(--wb-text) !important;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: var(--wb-card-bg);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
    color: var(--wb-text);
}

/* Sidebar Link Styling */
.sidebar {
    z-index: 100;
}

.sidebar .nav-link {
    color: var(--wb-text);
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    margin: 0.1rem 0.5rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(5, 115, 136, 0.08);
    color: var(--wb-primary);
}

.sidebar .nav-link.active {
    background-color: var(--wb-primary);
    color: #fff !important;
}

[data-bs-theme="dark"] .sidebar .nav-link {
    color: var(--wb-text-muted);
}

[data-bs-theme="dark"] .sidebar .nav-link:hover {
    background-color: rgba(14, 165, 233, 0.1);
    color: var(--wb-text);
}

[data-bs-theme="dark"] .sidebar .nav-link.active {
    background-color: var(--wb-primary);
    color: #fff !important;
}

/* Collapsible Sidebar */
.sidebar {
    transition: width 0.3s ease, min-width 0.3s ease;
    position: relative;
}

.sidebar .sidebar-link-text {
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.sidebar .nav-link i {
    min-width: 1.25rem;
    text-align: center;
}

/* Toggle Button */
.sidebar-toggle {
    position: absolute;
    top: 1rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--wb-bg);
    border: 1px solid var(--wb-border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.sidebar-toggle:hover {
    background-color: var(--wb-primary);
    color: #fff;
    border-color: var(--wb-primary);
}

.sidebar-toggle i {
    transition: transform 0.3s ease;
}

/* Collapsed State */
.sidebar.collapsed {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    flex: 0 0 60px !important;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.6rem 0.5rem;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0 !important;
}

.sidebar.collapsed .sidebar-link-text {
    display: none;
}

.sidebar.collapsed .sidebar-toggle {
    right: 50%;
    transform: translateX(50%);
    top: 1rem;
}

.sidebar.collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

/* Hide travel brief usage section when collapsed */
.sidebar.collapsed .sidebar-usage-section {
    display: none;
}

/* Main content adjustment when sidebar is collapsed */
.sidebar-collapsed-layout .col-md-9 {
    flex: 0 0 calc(100% - 60px);
    max-width: calc(100% - 60px);
}

.sidebar-collapsed-layout .col-lg-10 {
    flex: 0 0 calc(100% - 60px);
    max-width: calc(100% - 60px);
}

/* Dark mode adjustments for toggle button */
[data-bs-theme="dark"] .sidebar-toggle {
    background-color: var(--wb-card-bg);
    border-color: var(--wb-border-color);
    color: var(--wb-text-muted);
}

[data-bs-theme="dark"] .sidebar-toggle:hover {
    background-color: var(--wb-primary);
    color: #fff;
    border-color: var(--wb-primary);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--wb-text);
    background-color: var(--wb-bg);
    line-height: 1.6;
}

/* Utilities */
.text-primary { color: var(--wb-primary) !important; }
.bg-primary { background-color: var(--wb-primary) !important; }

/* Button Standardization */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: var(--wb-primary);
    border-color: var(--wb-primary);
    padding: 0.625rem 1.5rem;
    color: white;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--wb-primary-dark) !important;
    border-color: var(--wb-primary-dark) !important;
    color: white !important;
}

.btn-secondary {
    background-color: var(--wb-secondary);
    border-color: var(--wb-secondary);
    color: white;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: var(--wb-secondary-dark) !important;
    border-color: var(--wb-secondary-dark) !important;
    color: white !important;
}

.btn-outline-primary {
    color: var(--wb-primary);
    border-color: var(--wb-primary);
    padding: 0.625rem 1.5rem;
    background-color: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--wb-primary) !important;
    border-color: var(--wb-primary) !important;
    color: white !important;
}

.btn-outline-secondary {
    color: var(--wb-secondary);
    border-color: var(--wb-secondary);
    background-color: transparent;
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    background-color: var(--wb-secondary) !important;
    border-color: var(--wb-secondary) !important;
    color: white !important;
}

.btn-danger {
    background-color: var(--wb-danger);
    border-color: var(--wb-danger);
    color: white;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    background-color: var(--wb-danger-dark) !important;
    border-color: var(--wb-danger-dark) !important;
    color: white !important;
}

.btn-outline-danger {
    color: var(--wb-danger);
    border-color: var(--wb-danger);
    background-color: transparent;
}
.btn-outline-danger:hover, .btn-outline-danger:focus, .btn-outline-danger:active {
    background-color: var(--wb-danger) !important;
    border-color: var(--wb-danger) !important;
    color: white !important;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-xs {
    padding: 0.15rem 0.4rem;
    font-size: 0.7rem;
    line-height: 1.2;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background-color: rgba(79, 70, 229, 0.1); /* light purple bg */
    color: var(--wb-secondary);
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.bento-card {
    background: var(--wb-card-bg);
    border: 1px solid var(--wb-border-color);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.icon-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background-color: rgba(5, 115, 136, 0.1);
    color: var(--wb-primary);
    margin-bottom: 1rem;
}

/* Hero Badge Pill */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background-color: rgba(5, 115, 136, 0.08);
    color: var(--wb-primary);
    border-radius: 50rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 1px solid rgba(5, 115, 136, 0.15);
}

/* Hero Gradient Text */
.text-gradient-hero {
    background: linear-gradient(135deg, #057388, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .text-gradient-hero {
    background: linear-gradient(135deg, #4dabf7, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Composition Container */
.hero-composition {
    position: relative;
    max-width: 900px;
    margin-top: 1rem;
    padding: 60px 80px 80px;
}

/* Laptop Frame */
.hero-laptop-frame {
    position: relative;
    z-index: 1;
    border-radius: 12px 12px 0 0;
    overflow: visible;
}

.hero-laptop-bezel {
    background: #2d2d2d;
    border-radius: 12px 12px 0 0;
    padding: 8px 0 6px;
    text-align: center;
}

.hero-laptop-camera {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #555;
    margin: 0 auto;
}

.hero-laptop-screen {
    background: #f8f9fa;
    border-left: 3px solid #2d2d2d;
    border-right: 3px solid #2d2d2d;
    overflow: hidden;
}

.hero-laptop-screen .hero-mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-laptop-base {
    background: linear-gradient(to bottom, #c8c8c8, #d6d6d6);
    height: 14px;
    border-radius: 0 0 4px 4px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-laptop-notch {
    width: 80px;
    height: 4px;
    background: #b0b0b0;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Floating Cards Base */
.hero-floating-card {
    position: absolute;
    background: var(--wb-card-bg);
    border: 1px solid var(--wb-border-color);
    border-radius: 12px;
    padding: 10px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 2;
    font-size: 0.8rem;
    color: var(--wb-text);
    white-space: nowrap;
}

.hero-card-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--wb-text-muted);
    margin-bottom: 2px;
}

/* Card Positions */
.hero-card-approved {
    top: 15%;
    left: -5%;
    animation: heroFloat 4s ease-in-out infinite;
}

.hero-card-brief {
    top: 30%;
    left: -8%;
    white-space: normal;
    animation: heroFloat 5s ease-in-out 0.5s infinite;
}


.hero-card-plus {
    top: 22%;
    right: 8%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wb-primary);
    color: white;
    border: none;
    font-size: 0.9rem;
    animation: heroFloat 3.5s ease-in-out 1s infinite;
}

.hero-card-flight {
    top: 38%;
    right: -8%;
    animation: heroFloat 4.5s ease-in-out 0.8s infinite;
}

.hero-card-ai {
    bottom: 18%;
    left: -4%;
    animation: heroFloat 5s ease-in-out 1.2s infinite;
}

.hero-ai-circle {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
}

.hero-card-budget {
    bottom: 12%;
    right: -2%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    border: none;
    animation: heroFloat 4s ease-in-out 1.5s infinite;
}

.hero-card-hotel {
    bottom: -2%;
    left: 50%;
    transform: translateX(-50%);
    animation: heroFloat 4.5s ease-in-out 0.3s infinite;
}

/* Float Animation */
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Preserve translateX for hotel card during float */
.hero-card-hotel {
    animation-name: heroFloatCentered;
}

@keyframes heroFloatCentered {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* Dark Mode Support */
[data-bs-theme="dark"] .hero-badge-pill {
    background-color: rgba(77, 171, 247, 0.1);
    border-color: rgba(77, 171, 247, 0.2);
}

[data-bs-theme="dark"] .hero-laptop-bezel {
    background: #1a1a1a;
}

[data-bs-theme="dark"] .hero-laptop-screen {
    background: var(--wb-bg);
    border-color: #1a1a1a;
}

[data-bs-theme="dark"] .hero-laptop-base {
    background: linear-gradient(to bottom, #3a3a3a, #444);
}

[data-bs-theme="dark"] .hero-laptop-notch {
    background: #555;
}

[data-bs-theme="dark"] .hero-floating-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .hero-laptop-camera {
    background: #444;
}

/* Responsive: Hide floating cards on small screens */
@media (max-width: 991px) {
    .hero-composition {
        padding: 20px 10px 40px;
    }
    
    .hero-floating-card {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-composition {
        padding: 10px 0 20px;
    }
}

.navbar {
    background-color: var(--wb-card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--wb-border-color);
}

.navbar-brand {
    font-weight: 700;
    color: var(--wb-primary) !important;
}

.topnav-link {
    position: relative;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    color: var(--wb-text-muted) !important;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.topnav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--wb-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.topnav-link:hover,
.topnav-link:focus {
    color: var(--wb-primary) !important;
    background: rgba(5, 115, 136, 0.08);
}

.topnav-link:hover::after,
.topnav-link:focus::after,
.topnav-link.active::after {
    transform: scaleX(1);
}

.topnav-link.active {
    color: var(--wb-primary) !important;
    background: rgba(5, 115, 136, 0.1);
}

[data-bs-theme="dark"] .topnav-link:hover,
[data-bs-theme="dark"] .topnav-link:focus,
[data-bs-theme="dark"] .topnav-link.active {
    background: rgba(77, 171, 247, 0.12);
}

.hero-section {
    background-color: var(--wb-primary);
    color: white;
    padding: 4rem 0;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-card {
    max-width: 400px;
    margin: 2rem auto;
}

.audience-card {
    position: relative;
}

.audience-card-agency {
    border-color: rgba(5, 115, 136, 0.2);
    background: linear-gradient(180deg, rgba(5, 115, 136, 0.04), rgba(255, 255, 255, 0));
}

.audience-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: var(--wb-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(5, 115, 136, 0.08);
    color: var(--wb-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.agency-stat-card,
.mini-proof-card,
.faq-card {
    background: var(--wb-card-bg);
    border: 1px solid var(--wb-border-color);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.agency-stat-card {
    background: linear-gradient(180deg, rgba(5, 115, 136, 0.08), rgba(5, 115, 136, 0.02));
}

.agency-stat-label,
.mini-proof-title {
    color: var(--wb-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.faq-stack {
    display: grid;
    gap: 1rem;
}

.feature-checklist li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

.feature-checklist i {
    color: var(--wb-primary);
}
/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--wb-primary-dark); /* Updated to match theme */
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    display: none; /* Hidden by default, shown via JS */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
}

#cookie-consent-banner p {
    margin: 0;
    font-size: 0.95rem;
}

#cookie-consent-banner a {
    color: #fff; /* White link for better contrast on dark teal */
    text-decoration: underline;
}

#cookie-consent-banner a:hover {
    text-decoration: none;
    opacity: 0.9;
}

#cookie-consent-banner .btn-accept {
    background-color: #fff;
    color: var(--wb-primary-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 1rem;
}

#cookie-consent-banner .btn-accept:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    #cookie-consent-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    #cookie-consent-banner .btn-accept {
        margin-left: 0;
        width: 100%;
    }
}

/* Itinerary and Article Content Formatting */
.field-body-content p, 
.article-content p,
.ql-editor p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Ensure no double margin from adjacent paragraphs */
.field-body-content p + p,
.article-content p + p,
.ql-editor p + p {
    margin-top: 0;
}

/* Handle blank paragraphs (often used in editors for spacing) */
/* Only target truly empty paragraphs or those with ONLY whitespace/br and no text */
.field-body-content p:empty,
.article-content p:empty,
.ql-editor p:empty {
    min-height: 1rem;
    margin-bottom: 0;
}

/* Quill List Rendering Fix
   Quill 2.0 renders ALL lists as <ol> elements with data-list attributes.
   This CSS ensures bullet lists display correctly outside the editor. */
.field-body-content li[data-list="bullet"],
.article-content li[data-list="bullet"],
.page-content li[data-list="bullet"],
.page-body-content li[data-list="bullet"],
.content-body li[data-list="bullet"] {
    list-style-type: disc;
}

.field-body-content li[data-list="bullet"]::before,
.article-content li[data-list="bullet"]::before,
.page-content li[data-list="bullet"]::before,
.page-body-content li[data-list="bullet"]::before,
.content-body li[data-list="bullet"]::before {
    content: none; /* Override any ::before content from Quill */
}

/* Sidebar Chat Integration */
#chat-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--chat-width, 400px);
    height: 100vh;
    background: white;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.1s ease-out;
    display: flex;
    flex-direction: column;
}

/* Resize Handle */
#chat-resize-handle {
    position: absolute;
    left: -4px;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: col-resize;
    z-index: 2001;
    transition: background-color 0.2s;
}

#chat-resize-handle:hover,
#chat-sidebar.resizing #chat-resize-handle {
    background-color: var(--wb-primary);
    opacity: 0.3;
}

#chat-sidebar.active {
    transform: translateX(0);
}

.travel-brief-phone-shell {
    width: min(320px, 100%);
    padding: 14px;
    border-radius: 36px;
    background: linear-gradient(180deg, #0f172a, #1e293b);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.travel-brief-preview-title {
    margin-bottom: 0.9rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.travel-brief-carousel {
    padding-bottom: 2.2rem;
}

.travel-brief-carousel .carousel-inner {
    display: flex;
    align-items: flex-start;
}

.travel-brief-carousel .carousel-item {
    transition: transform 0.45s ease;
}

.travel-brief-carousel-indicators {
    bottom: -0.35rem;
    gap: 0.45rem;
}

.travel-brief-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border: 0;
    margin: 0;
    border-radius: 999px;
    background: rgba(5, 115, 136, 0.24);
    opacity: 1;
}

.travel-brief-carousel-indicators .active {
    background: var(--wb-primary);
}

.travel-brief-phone-screen {
    min-height: 640px;
    border-radius: 26px;
    padding: 1rem;
    background:
        radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.12), transparent 35%),
        linear-gradient(180deg, #f4f4f8, #efeff4);
    color: #0f172a;
    position: relative;
    overflow: hidden;
}

.travel-brief-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.15rem 0.3rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
}

.travel-brief-status-icons {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.travel-brief-device-notch {
    position: absolute;
    top: 0.55rem;
    left: 50%;
    transform: translateX(-50%);
    width: 44%;
    height: 28px;
    border-radius: 18px;
    background: #050505;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.travel-brief-screen-body {
    padding: 4.2rem 0.35rem 0;
}

.travel-brief-screen-body-compact .travel-brief-screen-title {
    font-size: 1.8rem;
    margin-bottom: 0.65rem;
}

.travel-brief-screen-body-compact {
    padding-top: 2.2rem;
}

.travel-brief-screen-body-compact .travel-brief-section-label {
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
}

.travel-brief-screen-body-compact .travel-brief-steps-card,
.travel-brief-screen-body-compact .travel-brief-faq-card {
    padding: 0.8rem 0.9rem;
    border-radius: 22px;
}

.travel-brief-screen-body-compact .travel-brief-step {
    grid-template-columns: 44px 1fr;
    gap: 0.65rem;
    padding: 0.42rem 0;
}

.travel-brief-screen-body-compact .travel-brief-step strong {
    font-size: 0.86rem;
    margin-bottom: 0.12rem;
}

.travel-brief-screen-body-compact .travel-brief-step span {
    font-size: 0.76rem;
    line-height: 1.35;
}

.travel-brief-screen-body-compact .travel-brief-step-icon {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.travel-brief-screen-body-compact .travel-brief-faq-row {
    padding: 0.72rem 0.05rem;
    font-size: 0.84rem;
}

.travel-brief-screen-body-settings {
    padding-top: 2.4rem;
}

.travel-brief-settings-header {
    margin-bottom: 0.8rem;
}

.travel-brief-settings-ghost {
    display: block;
    margin-bottom: 0.25rem;
    color: rgba(107, 114, 128, 0.18);
    font-size: 0.76rem;
    font-weight: 700;
}

.travel-brief-settings-title {
    text-align: center;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: -0.35rem;
    margin-bottom: 0.35rem;
}

.travel-brief-settings-card {
    padding: 0.85rem 0.95rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 0.8rem;
}

.travel-brief-settings-card-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.travel-brief-settings-card-plan strong,
.travel-brief-plan-row strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.18rem;
}

.travel-brief-settings-card-plan span,
.travel-brief-plan-row span,
.travel-brief-settings-card small {
    color: #7b7b86;
    font-size: 0.76rem;
    line-height: 1.35;
}

.travel-brief-settings-usage-line {
    color: #7b7b86;
    font-size: 0.82rem;
    margin-bottom: 0.55rem;
}

.travel-brief-settings-usage-line strong {
    color: #1f7ae8;
    font-size: 1.25rem;
    margin-right: 0.2rem;
}

.travel-brief-settings-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.travel-brief-settings-progress span {
    display: block;
    width: 12%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, #1f8fff, #47a8ff);
}

.travel-brief-plan-row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.travel-brief-price-pill {
    flex-shrink: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #1f8fff;
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
}

.travel-brief-settings-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.2rem 0 0.8rem;
}

.travel-brief-settings-links a {
    color: #1f7ae8;
    font-size: 0.72rem;
    text-decoration: none;
}

.travel-brief-restore-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #1f7ae8;
    font-weight: 500;
}

.travel-brief-restore-card i {
    font-size: 1.25rem;
}

.travel-brief-screen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.travel-brief-screen-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.8rem;
}

.travel-brief-add-btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.78);
    color: #2081f2;
    font-size: 1.35rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.travel-brief-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.travel-brief-free-count,
.travel-brief-section-label {
    margin: 0 0 1rem;
    color: #8b8b95;
    font-size: 0.95rem;
    font-weight: 700;
}

.travel-brief-list-card,
.travel-brief-steps-card,
.travel-brief-faq-card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.travel-brief-brief-row {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
}

.travel-brief-brief-row strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.travel-brief-brief-row span,
.travel-brief-brief-row small {
    display: block;
    color: #7b7b86;
    font-size: 0.78rem;
}

.travel-brief-brief-row small {
    margin-top: 0.25rem;
}

.travel-brief-list-card hr,
.travel-brief-steps-card hr,
.travel-brief-faq-card hr {
    margin: 0.9rem 0;
    opacity: 0.12;
}

.travel-brief-pill {
    flex-shrink: 0;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #d9e8f7;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
}

.travel-brief-tabbar {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.travel-brief-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.55rem 0.25rem;
    border-radius: 999px;
    color: #22232b;
    font-size: 0.78rem;
    font-weight: 700;
}

.travel-brief-tab-active {
    background: #e6e6eb;
    color: #1f7ae8;
}

.travel-brief-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.55rem 0;
}

.travel-brief-step + .travel-brief-step,
.travel-brief-faq-row + .travel-brief-faq-row {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.travel-brief-step strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.travel-brief-step span {
    color: #7b7b86;
    font-size: 0.82rem;
}

.travel-brief-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: white;
    font-size: 1.05rem;
}

.travel-brief-step-green {
    background: linear-gradient(135deg, #37c759, #69d98c);
}

.travel-brief-step-blue {
    background: linear-gradient(135deg, #1f8fff, #47a8ff);
}

.travel-brief-step-purple {
    background: linear-gradient(135deg, #bf5af2, #d27cff);
}

.travel-brief-step-orange {
    background: linear-gradient(135deg, #ff9f2d, #ffb35f);
}

.travel-brief-faq-card {
    padding-top: 0.4rem;
}

.travel-brief-faq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 0.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b3b45;
}

.travel-brief-store-cta {
    margin-top: 1.25rem;
}

@media (max-width: 991px) {
    .travel-brief-phone-shell {
        margin: 0 auto;
    }
}

#chat-sidebar iframe {
    flex: 1;
    border: none;
    width: 100%;
}

/* Floating Chat Bubble */
#chat-bubble-launcher {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--wb-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s, opacity 0.3s;
    z-index: 1050;
    font-size: 24px;
    border: none;
}

#chat-bubble-launcher:hover {
    transform: scale(1.1);
}

#chat-bubble-launcher.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Layout Shift for Main Content */
body.chat-sidebar-open {
    overflow-x: hidden;
}

@media (min-width: 1200px) {
    body.chat-sidebar-open {
        padding-right: var(--chat-width, 400px);
        transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

@media (max-width: 768px) {
    #chat-sidebar {
        width: 100%;
    }
}

/* Chat Sidebar Dark Mode */
[data-bs-theme="dark"] #chat-sidebar {
    background: var(--wb-card-bg);
    box-shadow: -4px 0 20px rgba(0,0,0,0.4);
}
/* View/Edit Mode Toggling */
.edit-mode { display: none !important; }
.editing-mode .edit-mode { display: block !important; }
.editing-mode div.edit-mode, 
.editing-mode form.edit-mode,
.editing-mode .d-grid.edit-mode,
.editing-mode input.edit-mode,
.editing-mode select.edit-mode,
.editing-mode textarea.edit-mode { display: block !important; }
.editing-mode span.edit-mode, 
.editing-mode a.edit-mode,
.editing-mode i.edit-mode,
.editing-mode button.edit-mode { display: inline-block !important; }
.editing-mode .view-mode { display: none !important; }

/* Expandable Modals */
.modal-resizable .modal-dialog {
    max-width: 95vw;
    width: 90vw; /* Force a wide default so editors don't start squeezed */
    min-width: 800px;
    margin: 1.75rem auto;
}

.modal-header {
    background-color: rgba(5, 115, 136, 0.05); /* Light branded teal */
    border-bottom: 1px solid var(--wb-border-color);
    padding: 1.25rem 1.5rem;
}

/* Fix flatpickr wrapper alignment in forms
   Flatpickr's default inline-block causes labels to appear beside inputs.
   This ensures proper block-level stacking consistent with other Bootstrap form inputs. */
.flatpickr-wrapper {
    display: block !important;
    width: 100%;
}

/* Add calendar icon to datepicker inputs */
.flatpickr-alt-input,
input.flatpickr-input + input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 16px;
    padding-right: 2.5rem !important;
}

/* Ensure Flatpickr year input is editable and visible - hide spinner arrows */
.flatpickr-calendar .numInputWrapper {
    width: auto !important;
    min-width: 65px;
    overflow: visible !important;
}

.flatpickr-calendar .numInputWrapper .numInput.cur-year {
    pointer-events: auto !important;
    cursor: text !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    padding: 0 5px;
    font-weight: 600;
    width: 58px !important;
    text-align: center;
}

/* Hide spinner arrows on year input */
.flatpickr-calendar .numInputWrapper .numInput.cur-year::-webkit-outer-spin-button,
.flatpickr-calendar .numInputWrapper .numInput.cur-year::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide the up/down arrows container */
.flatpickr-calendar .numInputWrapper span.arrowUp,
.flatpickr-calendar .numInputWrapper span.arrowDown {
    display: none !important;
}

/* Ensure Flatpickr calendar appears above Bootstrap modals (modal z-index is 1055) */
.flatpickr-calendar {
    z-index: 1060 !important;
}

.modal-title {
    color: var(--wb-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

[data-bs-theme="dark"] .modal-header {
    background-color: rgba(77, 171, 247, 0.08); /* Light blue for dark mode */
}

.btn-close {
    transition: transform 0.2s ease;
}

.btn-close:hover {
    transform: rotate(90deg);
}


/* Resizable Quill Wrapper */
.quill-resizable-wrapper {
    display: flex !important; /* Make the wrapper itself the flex container */
    flex-direction: column !important;
    resize: vertical; /* vertical only to prevent horizontal collapse in flex modals */
    overflow: hidden; /* Hide wrapper overflow to let internal elements manage space */
    min-height: 200px;
    width: 100%;
    border: 1px solid var(--wb-border-color);
    border-radius: 0.375rem;
    background-color: var(--wb-card-bg);
    margin-bottom: 0.5rem;
    position: relative;
    box-sizing: border-box;
}



.quill-resizable-wrapper .ql-toolbar.ql-snow {
    flex-shrink: 0;
    border: none !important;
    border-bottom: 1px solid var(--wb-border-color) !important;
    width: 100% !important;
    display: flex !important; /* Use flex to allow wrapping and avoid vertical clipping */
    flex-wrap: wrap !important;
    overflow: visible !important; /* Must be visible on BOTH axes to allow dropdowns and avoid scrollbars */
    padding: 8px 12px !important;
}

/* Ensure format groups stay inline and don't wrap or shrink */
.quill-resizable-wrapper .ql-toolbar.ql-snow .ql-formats {
    display: inline-block !important;
    vertical-align: middle !important;
    float: none !important;
    margin-right: 15px !important;
    white-space: nowrap !important;
}

.quill-resizable-wrapper .ql-container.ql-snow {
    flex-grow: 1;
    border: none !important;
    height: auto !important; /* Allow flexbox to control height */
    overflow: hidden; /* Ensure content stays within the resized container */
    width: 100% !important;
}

.quill-resizable-wrapper .ql-editor {
    height: 100%;
}

/* Expandable Modals */
.modal-resizable .modal-dialog {
    max-width: 95vw;
    width: fit-content;
    min-width: 800px;
}

@media (max-width: 992px) {
    .modal-resizable .modal-dialog {
        width: 95vw;
        min-width: auto;
    }
}

/* Tighten paragraph spacing inside the editor to prevent "double spacing" visual issues */
.ql-editor p {
    margin-bottom: 0.5rem !important;
}
.ql-editor p:last-child {
    margin-bottom: 0 !important;
}

/* Development Watermark */
.dev-watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Ctext x='50%25' y='50%25' font-size='30' fill='%2364748b' font-family='sans-serif' font-weight='bold' text-anchor='middle' alignment-baseline='middle' transform='rotate(-45 75 75)'%3EDEV%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

[data-bs-theme="dark"] .dev-watermark {
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Ctext x='50%25' y='50%25' font-size='30' fill='%23adb5bd' font-family='sans-serif' font-weight='bold' text-anchor='middle' alignment-baseline='middle' transform='rotate(-45 75 75)'%3EDEV%3C/text%3E%3C/svg%3E");
}

/* Local Development Watermark */
.local-watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ctext x='50%25' y='50%25' font-size='24' fill='%2364748b' font-family='sans-serif' font-weight='bold' text-anchor='middle' alignment-baseline='middle' transform='rotate(-45 100 100)'%3ELOCAL DEV%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

[data-bs-theme="dark"] .local-watermark {
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Ctext x='50%25' y='50%25' font-size='24' fill='%23adb5bd' font-family='sans-serif' font-weight='bold' text-anchor='middle' alignment-baseline='middle' transform='rotate(-45 100 100)'%3ELOCAL DEV%3C/text%3E%3C/svg%3E");
}

/* ========================================
   PROPOSALS REDESIGN (Stitch Mockup)
   ======================================== */

/* Light teal background container wrapper */
.proposals-container {
    background-color: #F5F9FA;
    border-radius: 12px;
    padding: 1.25rem;
}

[data-bs-theme="dark"] .proposals-container {
    background-color: var(--wb-card-bg);
}

/* Proposal card refinements */
.proposal-card-item {
    border-radius: 12px !important;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s ease;
}

.proposal-card-item:hover {
    transform: none; /* Override global card hover */
}

.proposal-card-item .card-header {
    border-radius: 12px 12px 0 0 !important;
    padding: 1rem 1.25rem;
}

/* Page section styling with teal accent */
.proposal-page-item {
    background-color: var(--wb-card-bg);
    border-radius: 8px;
    overflow: hidden;
}

.proposal-page-item .accordion-header {
    padding: 0;
}

.proposal-page-item .accordion-button {
    background-color: var(--wb-card-bg);
    border: none;
    padding: 0.875rem 1rem;
}

.proposal-page-item .accordion-button:not(.collapsed) {
    background-color: var(--wb-card-bg);
    box-shadow: none;
}

/* Page icon indicator */
.proposal-page-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: rgba(5, 115, 136, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wb-primary);
    font-size: 1rem;
}

[data-bs-theme="dark"] .proposal-page-icon {
    background-color: rgba(77, 171, 247, 0.15);
}

/* Category card with dashed border */
.proposal-category-item {
    background-color: transparent !important;
    border: 2px dashed var(--wb-border-color) !important;
    border-radius: 8px !important;
    padding: 0.75rem;
}

.proposal-category-item .card-header {
    padding: 0.5rem 0.25rem !important;
}

/* Item type tag */
.proposal-item-type-tag {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    background-color: rgba(5, 115, 136, 0.08);
    color: var(--wb-text-muted);
    border-radius: 4px;
    font-weight: 500;
    text-transform: lowercase;
}

/* Proposal item rows */
.proposal-item {
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid var(--wb-border-color) !important;
    background-color: transparent !important;
}

.proposal-item:last-child {
    border-bottom: none !important;
}

.proposal-item:hover {
    background-color: rgba(5, 115, 136, 0.03) !important;
}

/* Cost badges - cleaner pill style */
.proposal-cost-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.proposal-cost-primary {
    background-color: rgba(5, 115, 136, 0.1);
    color: var(--wb-primary);
}

.proposal-cost-estimated {
    color: var(--wb-text-muted);
    font-size: 0.7rem;
    font-weight: 400;
}

/* Strikethrough for estimated when actual exists */
.proposal-cost-strikethrough {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Compact icon-only action buttons */
.proposal-action-btn {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.proposal-action-btn i {
    font-size: 0.75rem;
}

/* Footer cost summary */
.proposal-footer-cost {
    background-color: var(--wb-bg);
    border-radius: 0 0 12px 12px;
    padding: 1rem 1.25rem;
}

.proposal-footer-cost .cost-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wb-text-muted);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.proposal-footer-cost .cost-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wb-text);
}

/* Manual total override badge */
.proposal-manual-override {
    font-size: 0.6rem;
    text-transform: uppercase;
    background-color: rgba(5, 115, 136, 0.1);
    color: var(--wb-primary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Accept & Book CTA */
.proposal-cta-btn {
    background-color: var(--wb-primary);
    border-color: var(--wb-primary);
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
}

.proposal-cta-btn:hover {
    background-color: var(--wb-primary-dark);
    border-color: var(--wb-primary-dark);
}

/* Header action buttons row */
.proposal-header-actions .btn {
    border-radius: 6px;
}

.proposal-header-actions .btn-group-sm > .btn {
    padding: 0.35rem 0.65rem;
}

/* Introduction/Important info blocks */
.proposal-info-block {
    background-color: var(--wb-bg);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
}

.proposal-info-block .info-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--wb-text-muted);
    font-weight: 700;
    margin-bottom: 0.35rem;
}
/* Underline Tabs styling */
.nav-wb-underline {
    border-bottom: 1px solid var(--wb-border-color);
    gap: 1.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.nav-wb-underline .nav-item {
    margin-bottom: -1px;
}

.nav-wb-underline .nav-link {
    background: none !important;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 0.75rem 0.25rem;
    color: var(--wb-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.nav-wb-underline .nav-link i {
    font-size: 1.1rem;
}

.nav-wb-underline .nav-link:hover {
    color: var(--wb-primary);
}

.nav-wb-underline .nav-link.active {
    color: var(--wb-primary) !important;
    border-bottom-color: var(--wb-primary) !important;
}

[data-bs-theme="dark"] .nav-wb-underline .nav-link.active {
    color: var(--wb-primary) !important;
    border-bottom-color: var(--wb-primary) !important;
}

/* Confirmation Modal Icon */
.confirm-modal-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
