/* ==========================================================================
   Fabulous Cleaning Concept — Deluxe Checklist Styles (Modal & Standalone)
   Palette: Dark Charcoal (#0e0d0c, #181614) & Metallic Gold (#C28726, #E1A93B, #F8CC61)
   ========================================================================== */

/* Button trigger styles */
.btn-checklist {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(24, 22, 20, 0.7);
    color: var(--color-champagne, #FAEBAB);
    border: 1.5px solid var(--color-gold-classic, #C28726);
    padding: 13px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.btn-checklist:hover {
    background: linear-gradient(135deg, #C28726 0%, #E1A93B 100%);
    color: #181614;
    border-color: #E1A93B;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 135, 38, 0.35);
}

.btn-checklist i,
.btn-checklist svg {
    width: 18px;
    height: 18px;
    color: currentColor;
    transition: transform 0.2s ease;
}

.btn-checklist:hover i,
.btn-checklist:hover svg {
    transform: scale(1.1);
}

/* Modal Overlay */
.checklist-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.checklist-modal-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

/* Modal Window */
.checklist-modal-window {
    background: linear-gradient(180deg, #1c1a17 0%, #12110f 100%);
    color: #f3ede4;
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    border-radius: 20px;
    border: 1px solid rgba(194, 135, 38, 0.35);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(194, 135, 38, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.checklist-modal-backdrop.is-active .checklist-modal-window {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.checklist-modal-header {
    padding: 24px 30px 18px;
    background: linear-gradient(180deg, #24211d 0%, #1c1a17 100%);
    border-bottom: 1px solid rgba(194, 135, 38, 0.25);
    position: relative;
    flex-shrink: 0;
}

.checklist-modal-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.checklist-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(194, 135, 38, 0.15);
    border: 1px solid rgba(248, 204, 97, 0.35);
    color: #F8CC61;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checklist-brand-badge i,
.checklist-brand-badge svg {
    width: 14px;
    height: 14px;
    color: #F8CC61;
}

.checklist-close-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e5dfd5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.checklist-close-btn:hover {
    background: #C28726;
    color: #181614;
    border-color: #E1A93B;
    transform: rotate(90deg);
}

.checklist-modal-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.25;
}

.checklist-modal-subtitle {
    font-size: 0.95rem;
    color: rgba(243, 237, 228, 0.75);
    margin: 0;
}

/* Category Tabs */
.checklist-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 12px 30px;
    background: #141311;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
}

.checklist-tabs-nav::-webkit-scrollbar {
    display: none;
}

.checklist-tab-btn {
    background: transparent;
    border: 1px solid rgba(194, 135, 38, 0.2);
    color: rgba(243, 237, 228, 0.8);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checklist-tab-btn:hover {
    border-color: rgba(248, 204, 97, 0.5);
    color: #ffffff;
    background: rgba(194, 135, 38, 0.1);
}

.checklist-tab-btn.is-active {
    background: linear-gradient(135deg, #C28726 0%, #E1A93B 50%, #F8CC61 100%);
    color: #181614;
    border-color: #F8CC61;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(194, 135, 38, 0.35);
}

/* Checklist Toolbar & Progress */
.checklist-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 30px;
    background: rgba(24, 22, 20, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.checklist-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 220px;
}

.checklist-progress-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.checklist-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #794408, #C28726, #F8CC61);
    border-radius: 10px;
    transition: width 0.35s ease;
}

.checklist-progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #F8CC61;
    white-space: nowrap;
}

.checklist-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checklist-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f3ede4;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.checklist-action-btn:hover {
    background: rgba(194, 135, 38, 0.2);
    border-color: #C28726;
    color: #F8CC61;
}

.checklist-action-btn i,
.checklist-action-btn svg {
    width: 14px;
    height: 14px;
}

/* Modal Body / Scrollable Content */
.checklist-modal-body {
    padding: 24px 30px;
    overflow-y: auto;
    flex: 1;
    scroll-behavior: smooth;
}

.checklist-modal-body::-webkit-scrollbar {
    width: 8px;
}

.checklist-modal-body::-webkit-scrollbar-track {
    background: #141311;
}

.checklist-modal-body::-webkit-scrollbar-thumb {
    background: rgba(194, 135, 38, 0.35);
    border-radius: 10px;
}

.checklist-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(194, 135, 38, 0.6);
}

/* Room Section */
.checklist-room-card {
    background: rgba(25, 23, 20, 0.7);
    border: 1px solid rgba(194, 135, 38, 0.18);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.checklist-room-card:hover {
    border-color: rgba(194, 135, 38, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.checklist-room-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.checklist-room-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(194, 135, 38, 0.2), rgba(121, 68, 8, 0.3));
    border: 1px solid rgba(248, 204, 97, 0.3);
    color: #F8CC61;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-room-icon i,
.checklist-room-icon svg {
    width: 18px;
    height: 18px;
}

.checklist-room-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0;
    flex: 1;
}

.checklist-room-count {
    font-size: 0.8rem;
    color: rgba(248, 204, 97, 0.85);
    background: rgba(194, 135, 38, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Items List */
.checklist-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .checklist-items-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    background: rgba(194, 135, 38, 0.07);
    border-color: rgba(194, 135, 38, 0.25);
    transform: translateX(2px);
}

.checklist-item.is-checked {
    background: rgba(194, 135, 38, 0.12);
    border-color: rgba(248, 204, 97, 0.35);
}

/* Custom Checkbox */
.checklist-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(248, 204, 97, 0.5);
    background: rgba(24, 22, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.checklist-item:hover .checklist-checkbox {
    border-color: #F8CC61;
    box-shadow: 0 0 10px rgba(248, 204, 97, 0.3);
}

.checklist-item.is-checked .checklist-checkbox {
    background: linear-gradient(135deg, #C28726 0%, #E1A93B 100%);
    border-color: #F8CC61;
    color: #181614;
}

.checklist-checkbox svg {
    width: 14px;
    height: 14px;
    stroke-width: 3.5;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.checklist-item.is-checked .checklist-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

.checklist-item-text {
    font-size: 0.92rem;
    line-height: 1.45;
    color: #e5dfd5;
    transition: color 0.2s ease;
}

.checklist-item.is-checked .checklist-item-text {
    color: #FAEBAB;
    font-weight: 500;
}

/* Extras Card */
.checklist-extras-card {
    background: linear-gradient(135deg, rgba(35, 30, 24, 0.7) 0%, rgba(20, 18, 16, 0.7) 100%);
    border: 1px solid rgba(248, 204, 97, 0.3);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
}

.checklist-extras-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #F8CC61;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-extras-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.checklist-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.checklist-extra-name {
    font-size: 0.92rem;
    color: #f3ede4;
}

.checklist-extra-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #F8CC61;
    background: rgba(194, 135, 38, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Exclusions / Notes Disclaimer */
.checklist-exclusions-card {
    background: rgba(121, 68, 8, 0.12);
    border: 1px solid rgba(194, 135, 38, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.checklist-exclusions-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #F8CC61;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checklist-exclusions-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(243, 237, 228, 0.8);
    margin: 0;
}

/* Modal Footer */
.checklist-modal-footer {
    padding: 18px 30px;
    background: #141311;
    border-top: 1px solid rgba(194, 135, 38, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.checklist-footer-note {
    font-size: 0.85rem;
    color: rgba(243, 237, 228, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.checklist-footer-note a {
    color: #F8CC61;
    text-decoration: none;
    font-weight: 600;
}

.checklist-footer-note a:hover {
    text-decoration: underline;
}

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

.checklist-btn-quote {
    background: linear-gradient(135deg, #C28726 0%, #E1A93B 50%, #F8CC61 100%);
    color: #181614 !important;
    border: none;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(194, 135, 38, 0.35);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checklist-btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 135, 38, 0.5);
    color: #0e0d0c !important;
}

/* Standalone Page Styles */
.checklist-page-hero {
    background: linear-gradient(180deg, #181614 0%, #0e0d0c 100%);
    border-bottom: 1px solid rgba(194, 135, 38, 0.3);
    padding: 110px 0 60px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.checklist-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(194, 135, 38, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.checklist-page-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

.checklist-standalone-card {
    background: linear-gradient(180deg, #1c1a17 0%, #12110f 100%);
    border: 1px solid rgba(194, 135, 38, 0.3);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

/* Printable Sheet Header (Hidden on Screen, Shown in Print) */
.checklist-print-header {
    display: none;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    /* Hide screen-only interactive elements */
    .checklist-modal-backdrop,
    #header,
    footer,
    nav,
    .btn,
    .mobile-menu-btn,
    .checklist-toolbar-actions,
    .checklist-close-btn {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #181614 !important;
    }

    .checklist-page-hero,
    .checklist-standalone-card {
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .checklist-page-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .checklist-room-card {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ded5c7 !important;
        background: #ffffff !important;
        color: #181614 !important;
        box-shadow: none !important;
        margin-bottom: 12px !important;
    }

    .checklist-room-title {
        color: #181614 !important;
    }

    .checklist-item {
        color: #24211d !important;
        border: none !important;
        background: none !important;
    }

    .checklist-item-text {
        color: #181614 !important;
    }

    .checklist-checkbox {
        border-color: #C28726 !important;
        background: #ffffff !important;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .checklist-modal-window {
        max-height: 94vh;
        border-radius: 16px;
    }

    .checklist-modal-header {
        padding: 18px 20px 14px;
    }

    .checklist-modal-title {
        font-size: 1.35rem;
    }

    .checklist-tabs-nav {
        padding: 10px 16px;
    }

    .checklist-toolbar {
        padding: 12px 16px;
    }

    .checklist-modal-body {
        padding: 16px;
    }

    .checklist-modal-footer {
        padding: 14px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .checklist-btn-quote {
        width: 100%;
        justify-content: center;
    }
}
