/* =========================================================
   CEYLON ACTIVITIES - CLEAN MODERN STYLE.CSS
   Green / Navy theme | Full site + dashboard + tours + activities
   Generated clean replacement: removed duplicate header/footer/card/detail blocks.
========================================================= */

:root {
    --ca-primary: #059669;
    --ca-primary-dark: #047857;
    --ca-primary-light: #10b981;
    --ca-primary-soft: #ecfdf5;
    --ca-primary-border: #bbf7d0;
    --ca-navy: #0f172a;
    --ca-navy-2: #1e293b;
    --ca-text: #0f172a;
    --ca-muted: #64748b;
    --ca-light-muted: #94a3b8;
    --ca-bg: #f6f8fb;
    --ca-card: #ffffff;
    --ca-border: #e5edf5;
    --ca-border-2: #dbe3ef;
    --ca-danger: #dc2626;
    --ca-danger-soft: #fee2e2;
    --ca-warning: #f59e0b;
    --ca-warning-soft: #fff7ed;
    --ca-radius-sm: 12px;
    --ca-radius: 18px;
    --ca-radius-lg: 26px;
    --ca-radius-xl: 34px;
    --ca-shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.06);
    --ca-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    --ca-shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.13);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--ca-bg);
    color: var(--ca-text);
    font-size: 15px;
    line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* =========================================================
   COMMON FORM / BUTTONS / ALERTS
========================================================= */

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 850;
    margin-bottom: 8px;
    color: #334155;
}

.form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--ca-border-2);
    border-radius: 15px;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--ca-text);
    background: #fff;
    outline: none;
    transition: 0.18s ease;
}

.form-control:hover { border-color: #a7f3d0; }

.form-control:focus {
    border-color: var(--ca-primary-light);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.13);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ca-primary) 50%),
        linear-gradient(135deg, var(--ca-primary) 50%, transparent 50%);
    background-position: calc(100% - 22px) 21px, calc(100% - 15px) 21px;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
    padding-right: 42px;
}

.textarea { min-height: 120px; resize: vertical; }
.large-textarea { min-height: 220px; }
.form-modern { margin-top: 20px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.btn-primary {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, var(--ca-primary), #0f766e);
    color: white;
    padding: 14px 18px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    box-shadow: 0 12px 24px rgba(5, 150, 105, 0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(5, 150, 105, 0.28);
}

.btn-primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-small,
.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--ca-primary);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-small:hover,
.mini-btn:hover { background: var(--ca-primary-dark); }

.form-btn { max-width: 220px; }

.alert {
    padding: 13px 15px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 800;
}

.alert-error { background: var(--ca-danger-soft); color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }

.help-text,
.muted-text {
    display: block;
    color: var(--ca-muted);
    font-size: 13px;
    margin-top: 7px;
}

.danger-text {
    color: var(--ca-danger) !important;
    font-weight: 850;
    text-decoration: none;
}

.btn-link {
    display: inline-flex;
    text-align: center;
    text-decoration: none;
}


/* =========================================================
   PUBLIC HEADER
========================================================= */

.site-header.modern-header,
.modern-header,
.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e8eef5;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    height: 82px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-mark,
.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ca-primary), #0f766e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(5,150,105,0.22);
}

.site-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.header-main-logo {
    height: 55px;
    width: auto;
    margin-right: 20px;
}

.site-logo h2 {
    font-size: 20px;
    color: #064e3b;
    line-height: 1.1;
}

.site-logo span {
    color: var(--ca-muted);
    font-size: 12px;
    font-weight: 800;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    color: var(--ca-text);
    text-decoration: none;
    font-weight: 850;
    font-size: 14px;
    padding: 11px 12px;
    border-radius: 14px;
    margin-left: 0;
    transition: 0.2s ease;
}

.site-nav a:hover {
    background: var(--ca-primary-soft);
    color: var(--ca-primary-dark);
}

.site-nav .nav-btn,
.nav-btn {
    background: var(--ca-primary);
    color: white !important;
    padding: 12px 18px;
    border-radius: 16px;
    margin-left: 6px;
    box-shadow: 0 12px 24px rgba(5,150,105,0.20);
}

.site-nav .nav-btn:hover,
.nav-btn:hover {
    background: var(--ca-primary-dark);
    color: white !important;
}

.user-greeting {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    margin-left: 8px;
}

.logout-btn {
    background: #fff1f2 !important;
    color: #be123c !important;
    border: 1px solid #ffe4e6;
    padding: 11px 16px !important;
    border-radius: 16px !important;
}

.logout-btn:hover {
    background: #ffe4e6 !important;
    color: #9f1239 !important;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: var(--ca-primary-soft);
    color: var(--ca-primary-dark);
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 24px;
    cursor: pointer;
    font-weight: 900;
}


/* =========================================================
   FOOTER
========================================================= */

.modern-footer,
.site-footer {
    background:
        radial-gradient(circle at top left, rgba(16,185,129,0.18), transparent 34%),
        linear-gradient(135deg, #06131f, var(--ca-navy) 55%, #022c22);
    color: white;
    padding: 0;
    display: block;
}

.footer-top {
    max-width: 1600px;
    margin: 0 auto;
    padding: 64px 28px 38px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 38px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: white;
    margin-bottom: 20px;
}

.footer-logo h2 { font-size: 22px; margin-bottom: 2px; }
.footer-logo span { font-size: 12px; color: #94a3b8; font-weight: 700; }

.footer-brand p {
    color: #cbd5e1;
    line-height: 1.75;
    max-width: 470px;
    font-size: 15px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.footer-badges span {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #d1fae5;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.footer-column h4 {
    font-size: 15px;
    margin-bottom: 18px;
    color: white;
}

.footer-column a,
.site-footer a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.footer-column a:hover,
.site-footer a:hover {
    color: #6ee7b7;
    transform: translateX(4px);
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 18px 0;
}

.footer-operator-cta {
    max-width: 1600px;
    margin: 0 auto 34px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 30px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    backdrop-filter: blur(10px);
}

.footer-operator-cta span { color: #6ee7b7; font-size: 13px; font-weight: 900; }
.footer-operator-cta h3 { font-size: 25px; margin: 7px 0; }
.footer-operator-cta p { color: #cbd5e1; }

.footer-operator-cta a {
    background: var(--ca-primary-light);
    color: white;
    text-decoration: none;
    padding: 14px 19px;
    border-radius: 16px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(16,185,129,0.22);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    max-width: 1600px;
    margin: 0 auto;
    padding: 22px 28px 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 13px;
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    margin-left: 18px;
}


/* =========================================================
   AUTH PAGES / MODALS
========================================================= */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: var(--ca-bg);
}

.auth-left {
    background: linear-gradient(135deg, #064e3b, var(--ca-navy));
    color: white;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-left h1 {
    font-size: 46px;
    line-height: 1.08;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.auth-left p {
    font-size: 17px;
    color: #d1fae5;
    max-width: 520px;
}

.auth-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 25px;
    width: fit-content;
    font-weight: 800;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: white;
    padding: 36px;
    border-radius: 28px;
    box-shadow: var(--ca-shadow-lg);
    border: 1px solid var(--ca-border);
}

.auth-card h2 { font-size: 28px; margin-bottom: 8px; letter-spacing: -0.4px; }
.subtitle, .auth-link { color: var(--ca-muted); }
.subtitle { margin-bottom: 25px; }
.auth-link { margin-top: 18px; text-align: center; font-size: 14px; }

.auth-link a {
    color: var(--ca-primary);
    font-weight: 900;
    text-decoration: none;
}

.login-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.login-modal.show,
.login-modal.active { display: block; }

.login-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.login-modal-card {
    position: relative;
    max-width: 430px;
    width: calc(100% - 30px);
    margin: 80px auto;
    background: white;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    animation: modalUp 0.25s ease;
}

@keyframes modalUp {
    from { opacity: 0; transform: translateY(25px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 16px;
    border: none;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.modal-brand {
    text-align: center;
    margin-bottom: 24px;
}

.modal-brand .logo-mark { margin: 0 auto 14px; }
.modal-brand h2 { font-size: 28px; margin-bottom: 6px; }
.modal-brand p { color: var(--ca-muted); }


/* =========================================================
   TABLES / STATUS
========================================================= */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
}

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

.modern-table th {
    text-align: left;
    font-size: 12px;
    color: var(--ca-muted);
    padding: 14px;
    background: #f8fafc;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modern-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
    font-size: 14px;
}

.modern-table small { color: var(--ca-muted); }

.status-badge,
.role-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status-approved,
.status-active,
.status-available,
.status-paid,
.status-confirmed,
.status-completed,
.status-released,
.status-guaranteed {
    background: #dcfce7;
    color: #166534;
}

.status-pending,
.status-unpaid,
.status-scheduled,
.status-on_request {
    background: #fef3c7;
    color: #92400e;
}

.status-blocked,
.status-cancelled,
.status-failed,
.status-closed {
    background: #fee2e2;
    color: #991b1b;
}

.status-draft {
    background: #e0f2fe;
    color: #075985;
}

.status-inactive {
    background: #f1f5f9;
    color: #475569;
}

.status-refunded,
.role-pill {
    background: #e0e7ff;
    color: #3730a3;
}

.action-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-links a {
    color: var(--ca-primary);
    font-weight: 850;
    text-decoration: none;
    font-size: 13px;
}


/* =========================================================
   HOME PAGE
========================================================= */

.modern-home-hero,
.home-hero {
    min-height: 650px;
    background:
        linear-gradient(90deg, rgba(2,44,34,0.92), rgba(15,23,42,0.55)),
        url('/ceylon-activities/assets/images/home-banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    padding: 80px 28px;
}

.modern-home-hero-inner,
.hero-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.hero-content { max-width: 850px; margin: 0; }

.hero-badge,
.activity-badge,
.detail-hero span {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 15px;
    border-radius: 999px;
    margin-bottom: 22px;
    font-weight: 900;
}

.modern-home-hero h1,
.hero-content h1 {
    max-width: 850px;
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.modern-home-hero p,
.hero-content p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: #d1fae5;
    margin-bottom: 30px;
}

.home-search-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 28px;
    padding: 14px;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr 150px;
    gap: 10px;
    box-shadow: 0 24px 60px rgba(15,23,42,0.22);
    backdrop-filter: blur(12px);
}

.home-search-field {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 10px 14px;
}

.home-search-field label {
    display: block;
    color: var(--ca-muted);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

.home-search-field input,
.home-search-field select {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    color: var(--ca-text);
    font-size: 14px;
    font-weight: 850;
}

.home-search-field select {
    appearance: none;
    cursor: pointer;
}

.custom-select-wrap { position: relative; }

.custom-select-wrap::after {
    content: "⌄";
    position: absolute;
    right: 14px;
    bottom: 13px;
    color: var(--ca-primary-dark);
    font-weight: 900;
    pointer-events: none;
}

.home-search-card button {
    border: none;
    border-radius: 20px;
    background: var(--ca-primary-light);
    color: white;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(16,185,129,0.25);
}

.home-modern-section,
.why-book-section,
.popular-destination-section,
.home-section,
.listing-grid-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 70px 28px;
    background: transparent;
}

.home-modern-section.light-section,
.light-section {
    max-width: none;
    background: #f8fafc;
}

.home-modern-section.light-section > .home-section-head,
.home-modern-section.light-section > .activity-card-grid,
.light-section > .section-title,
.light-section > .listing-grid {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.home-section-head,
.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.home-section-head span,
.section-title span {
    color: var(--ca-primary);
    font-weight: 950;
    font-size: 13px;
}

.home-section-head h2,
.section-title h2 {
    font-size: 34px;
    letter-spacing: -0.7px;
    margin-top: 6px;
}

.home-section-head a,
.section-title a {
    background: var(--ca-primary-soft);
    color: var(--ca-primary-dark);
    border: 1px solid var(--ca-primary-border);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 16px;
    font-weight: 950;
}

.center-head {
    justify-content: center;
    text-align: center;
}

.why-book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.why-book-grid div {
    background: white;
    border: 1px solid var(--ca-border);
    border-radius: 28px;
    padding: 26px;
    box-shadow: var(--ca-shadow);
}

.why-book-grid strong {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dcfce7;
    color: var(--ca-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-book-grid h3 { font-size: 19px; margin-bottom: 8px; }
.why-book-grid p { color: var(--ca-muted); line-height: 1.6; }

.destination-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.destination-grid a {
    min-height: 130px;
    background: linear-gradient(135deg, #064e3b, var(--ca-navy));
    color: white;
    border-radius: 28px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: end;
    box-shadow: var(--ca-shadow);
}

.destination-grid span { font-size: 22px; font-weight: 950; }
.destination-grid small { color: #d1fae5; margin-top: 6px; font-weight: 800; }

.support-section {
    max-width: 1540px;
    margin: 30px auto;
    background:
        radial-gradient(circle at top left, rgba(16,185,129,0.22), transparent 35%),
        linear-gradient(135deg, var(--ca-navy), #022c22);
    color: white;
    border-radius: 34px;
    padding: 46px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.support-section span { color: #6ee7b7; font-weight: 950; }
.support-section h2 { font-size: 32px; margin: 8px 0; }
.support-section p { color: #cbd5e1; }

.support-section a {
    background: var(--ca-primary-light);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 18px;
    font-weight: 950;
    white-space: nowrap;
}

.operator-card-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px;
}

.operator-small-card {
    background: white;
    border: 1px solid var(--ca-border);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--ca-shadow-sm);
}

.operator-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--ca-primary), #0f766e);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    margin: 0 auto 12px;
}

.operator-small-card h3 { font-size: 15px; margin-bottom: 6px; }
.operator-small-card p { color: var(--ca-muted); font-size: 12px; font-weight: 800; }


/* =========================================================
   LISTING PAGES + CARDS
========================================================= */

.hero-section,
.detail-hero,
.activity-list-hero {
    background: linear-gradient(135deg, #022c22, #064e3b 48%, var(--ca-navy));
    color: white;
    padding: 70px 60px;
}

.hero-section h1,
.detail-hero h1,
.activity-list-hero h1 {
    font-size: 48px;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.hero-section p,
.detail-hero p,
.activity-list-hero p {
    color: #d1fae5;
    font-size: 17px;
}

.activity-list-hero > div,
.activity-top-search,
.activity-list-section {
    max-width: 1600px;
    margin: 0 auto;
}

.activity-list-hero span {
    display: inline-block;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 900;
    margin-bottom: 16px;
}

.public-search,
.activity-top-search {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 140px 120px;
    gap: 12px;
}

.public-search {
    grid-template-columns: 1fr 260px 140px;
    max-width: 900px;
}

.public-search input,
.public-search select,
.public-search button,
.activity-top-search input,
.activity-top-search button {
    border: none;
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 15px;
    outline: none;
}

.public-search button,
.activity-top-search button[type="submit"] {
    background: var(--ca-primary-light);
    color: white;
    font-weight: 900;
    cursor: pointer;
}

.filter-open-btn {
    background: white !important;
    color: #064e3b !important;
}

.activity-list-section {
    padding: 46px 24px 70px;
}

.activity-list-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 26px;
}

.activity-list-head h2 {
    font-size: 32px;
    letter-spacing: -0.6px;
}

.activity-list-head p {
    color: var(--ca-muted);
    margin-top: 6px;
}

.activity-card-grid,
.listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.activity-list-card,
.public-card {
    background: white;
    border: 1px solid var(--ca-border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15,23,42,0.07);
    transition: 0.25s ease;
}

.activity-list-card:hover,
.public-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ca-shadow-lg);
}

.activity-card-image,
.public-card > img {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    object-fit: cover;
}

.activity-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.activity-list-card:hover .activity-card-image img {
    transform: scale(1.06);
}

.activity-card-content,
.public-card-body {
    padding: 20px;
}

.activity-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.activity-card-tags span,
.category-tag {
    background: var(--ca-primary-soft);
    color: var(--ca-primary-dark) !important;
    border: 1px solid var(--ca-primary-border);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px !important;
    font-weight: 900;
}

.public-card-body > span {
    color: var(--ca-primary);
    font-size: 13px;
    font-weight: 900;
}

.activity-card-content h3,
.public-card-body h3 {
    font-size: 19px;
    line-height: 1.35;
    margin: 9px 0;
}

.activity-card-content h3 a {
    color: var(--ca-text);
    text-decoration: none;
}

.activity-card-content p,
.public-card-body p {
    color: var(--ca-muted);
    font-size: 14px;
    line-height: 1.55;
    min-height: 64px;
}

.activity-card-meta,
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.activity-card-meta span,
.card-meta span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}

.activity-card-bottom,
.card-bottom {
    border-top: 1px solid #eef2f7;
    padding-top: 15px;
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.activity-card-bottom small,
.card-price small {
    display: block;
    color: var(--ca-light-muted);
    font-size: 12px;
    font-weight: 800;
}

.activity-card-bottom strong,
.card-price strong {
    color: var(--ca-primary-dark);
    font-size: 18px;
}

.activity-card-bottom a,
.card-bottom a {
    background: var(--ca-primary);
    color: white;
    padding: 11px 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.empty-result-card {
    grid-column: 1 / -1;
    background: white;
    border-radius: 26px;
    padding: 40px;
    border: 1px solid var(--ca-border);
    text-align: center;
}

.empty-result-card p { color: var(--ca-muted); margin-top: 8px; }

.pagination-wrap {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.pagination-wrap a {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--ca-text);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
}

.pagination-wrap a.active,
.pagination-wrap a:hover {
    background: var(--ca-primary);
    color: white;
    border-color: var(--ca-primary);
}

.filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.filter-modal.active { display: block; }

.filter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.68);
    backdrop-filter: blur(6px);
}

.filter-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 420px;
    max-width: 92%;
    height: 100%;
    background: white;
    padding: 34px;
    box-shadow: -20px 0 60px rgba(15,23,42,0.22);
    overflow-y: auto;
}

.filter-panel h2 { font-size: 28px; margin-bottom: 6px; }
.filter-panel > p { color: var(--ca-muted); margin-bottom: 24px; }

.filter-close {
    position: absolute;
    right: 22px;
    top: 20px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 24px;
    cursor: pointer;
}

.clear-filter-btn {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: var(--ca-muted);
    font-weight: 900;
    text-decoration: none;
}


/* =========================================================
   FLATPICKR
========================================================= */

.flatpickr-calendar {
    border-radius: 18px !important;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18) !important;
    border: 1px solid var(--ca-border) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
    background: var(--ca-primary) !important;
    border-color: var(--ca-primary) !important;
}

.flatpickr-day.inRange {
    background: #dcfce7 !important;
    border-color: #dcfce7 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .activity-card-grid,
    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home-search-card {
        grid-template-columns: 1fr 1fr;
    }

    .home-search-card button { min-height: 56px; }

    .why-book-grid,
    .destination-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .operator-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .activity-detail-wrapper,
    .tour-detail-wrapper,
    .message-layout,
    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .activity-booking-box,
    .tour-booking-box {
        position: relative;
        top: 0;
    }

    .activity-info-grid,
    .activity-two-col,
    .price-card-grid,
    .availability-card-grid,
    .price-range,
    .price-fields,
    .availability-fields,
    .availability-stats,
    .bulk-action-panel,
    .tour-location-grid,
    .tour-property-grid,
    .tour-room-public-grid,
    .tour-price-grid,
    .departure-bulk-price-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {
    .header-inner {
        height: auto;
        min-height: 78px;
        padding: 16px 22px;
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        display: none;
        width: 100%;
        background: white;
        border: 1px solid var(--ca-border);
        border-radius: 22px;
        padding: 14px;
        margin-top: 14px;
        box-shadow: var(--ca-shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.active { display: flex; }

    .site-nav a,
    .site-nav .nav-btn,
    .logout-btn {
        margin-left: 0 !important;
        text-align: center;
    }

    .user-greeting {
        margin-left: 0;
        text-align: center;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .dashboard-layout { flex-direction: column; }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .thread-list { height: auto; }
    .chat-message { max-width: 100%; }
}

@media (max-width: 900px) {
    .activity-card-grid,
    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-top-search,
    .public-search {
        grid-template-columns: 1fr;
    }

    .activity-top-search button,
    .public-search button {
        padding: 15px;
    }

    .hero-section,
    .detail-hero,
    .activity-list-hero,
    .activity-hero,
    .tour-detail-hero {
        padding: 50px 24px;
    }

    .hero-section h1,
    .detail-hero h1,
    .activity-list-hero h1,
    .activity-hero h1,
    .tour-detail-hero h1 {
        font-size: 34px;
    }

    .home-section-head,
    .section-title,
    .support-section {
        display: block;
    }

    .home-section-head a,
    .section-title a,
    .support-section a {
        display: inline-block;
        margin-top: 16px;
    }

    .activity-detail-wrapper,
    .tour-detail-wrapper {
        padding: 24px 18px 50px;
    }

    .activity-modern-gallery {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .gallery-main img { height: 290px; }
    .gallery-landscape,
    .gallery-portrait,
    .gallery-side img { height: 180px; }

    .gallery-modal { padding: 70px 20px; }
    .gallery-modal-grid { grid-template-columns: 1fr; }

    .rating-select-grid {
        grid-template-columns: 1fr;
    }

    .footer-top { grid-template-columns: 1fr 1fr; }

    .footer-operator-cta {
        margin-left: 24px;
        margin-right: 24px;
        display: block;
    }

    .footer-operator-cta a {
        display: inline-block;
        margin-top: 18px;
    }
}

@media (max-width: 650px) {
    .footer-top {
        grid-template-columns: 1fr;
        padding: 46px 24px 28px;
    }

    .footer-bottom { display: block; }

    .footer-bottom div { margin-top: 12px; }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 14px;
        display: inline-block;
        margin-bottom: 8px;
    }
}

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

    .auth-left,
    .auth-right {
        padding: 34px 24px;
    }

    .auth-left h1 { font-size: 34px; }

    .main-content { padding: 20px; }

    .content-card,
    .topbar,
    .booking-confirm-box,
    .activity-booking-box,
    .tour-booking-box {
        padding: 20px;
        border-radius: 22px;
    }

    .activity-card-grid,
    .listing-grid,
    .home-search-card,
    .why-book-grid,
    .destination-grid,
    .operator-card-grid,
    .gallery-grid,
    .tour-gallery-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .modern-home-hero,
    .home-hero {
        padding: 55px 20px;
    }

    .modern-home-hero h1,
    .hero-content h1 {
        font-size: 36px;
    }
}
.main-content {
    overflow-x: hidden;
}

.content-card {
    max-width: 100%;
}

.form-modern {
    width: 100%;
}

.form-row {
    align-items: start;
}

/* =========================================================
   TOUR ADD / EDIT WIZARD FINAL FIX
   Keep these rules at bottom. Do not duplicate tour step CSS above.
========================================================= */

.tour-step-wrap.tour-step-inline {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(115px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.tour-step-wrap.tour-step-inline .tour-step {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 13px 10px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04) !important;
}

.tour-step-wrap.tour-step-inline .tour-step.active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #10b981 !important;
}

.tour-step-wrap.tour-step-inline .tour-step.done {
    background: #f0fdf4 !important;
    color: #047857 !important;
    border-color: #bbf7d0 !important;
}

.tour-step-wrap.tour-step-inline .disabled-step {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

.form-actions-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 22px;
}

.form-actions-row .form-btn,
.form-actions-row .btn-primary,
.form-actions-row .btn-secondary-action {
    width: auto;
    min-width: 180px;
}

.btn-secondary-action {
    border: 1px solid #dbe3ef;
    background: #ffffff;
    color: #0f172a;
    padding: 14px 18px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.btn-secondary-action:hover {
    background: #f8fafc;
    border-color: #10b981;
    color: #047857;
}

.rating-select-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.rating-option {
    display: block;
}

.rating-option input {
    display: none;
}

.rating-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 10px;
    border-radius: 16px;
    text-align: center;
    font-weight: 900;
    color: #475569;
    cursor: pointer;
}

.rating-option input:checked + span {
    background: #ecfdf5;
    color: #047857;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16,185,129,0.10);
}

@media (max-width: 1100px) {
    .tour-step-wrap.tour-step-inline {
        display: flex !important;
        overflow-x: auto !important;
        padding-bottom: 6px !important;
    }

    .tour-step-wrap.tour-step-inline .tour-step {
        flex: 0 0 150px !important;
    }

    .rating-select-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .rating-select-grid {
        grid-template-columns: 1fr !important;
    }

    .form-actions-row .form-btn,
    .form-actions-row .btn-primary,
    .form-actions-row .btn-secondary-action {
        width: 100%;
        min-width: 0;
    }
}
.tour-step-wrap {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(120px, 1fr)) !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
}

.tour-step {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    width: auto !important;
    padding: 12px 10px !important;
    border-radius: 16px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}

.tour-step.active {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #10b981 !important;
}

.tour-step.done {
    background: #f0fdf4 !important;
    color: #047857 !important;
    border-color: #bbf7d0 !important;
}

.form-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.form-actions-row button {
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    border-radius: 14px;
    padding: 14px 24px;
    transition: all 0.25s ease;
}

.btn-primary.form-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(16,185,129,0.25);
}

.btn-primary.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16,185,129,0.35);
}

.btn-secondary-action {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1 !important;
    min-width: 160px;
}

.btn-secondary-action:hover {
    background: #f8fafc;
    border-color: #94a3b8 !important;
    transform: translateY(-2px);
}

.btn-secondary-action:before {
    content: "💾";
    margin-right: 8px;
}

.btn-primary.form-btn:before {
    content: "✓";
    margin-right: 8px;
}

.large-modal-card {
    max-width: 980px;
    max-height: 90vh;
    overflow-y: auto;
}

.table-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.table-actions-right {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.danger-btn {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border: 1px solid #fecaca !important;
}

.departure-view-content {
    display: grid;
    gap: 18px;
}

.view-price-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 18px;
}

.view-price-group-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.view-price-group-head h3 {
    margin: 0 0 5px;
    font-size: 18px;
}

.view-price-group-head p {
    color: #64748b;
    font-weight: 800;
    margin: 0;
}

.view-price-group-head span {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 7px 11px;
    height: fit-content;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.view-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.view-mini-grid div {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
}

.view-mini-grid span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

.price-summary-list {
    display: grid;
    gap: 9px;
}

.price-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 12px;
}

.price-summary-row strong,
.price-summary-row b {
    color: #0f172a;
}

.price-summary-row span,
.price-summary-row small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

@media (max-width: 900px) {
    .table-title-row {
        display: block;
    }

    .table-actions-right {
        margin-top: 12px;
    }

    .view-price-group-head,
    .price-summary-row {
        display: block;
    }

    .view-price-group-head span {
        display: inline-block;
        margin-top: 10px;
    }

    .view-mini-grid {
        grid-template-columns: 1fr;
    }
}
.month-picker-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.custom-calendar-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.custom-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.calendar-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
}

.calendar-month-title {
    flex: 1;
    border: none;
    background: #ecfdf5;
    color: #047857;
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 900;
}

.calendar-month-title small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
}

.calendar-weekdays,
.custom-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekdays {
    margin-bottom: 8px;
}

.calendar-weekdays button {
    border: none;
    background: #f1f5f9;
    color: #334155;
    border-radius: 12px;
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
}

.calendar-weekdays button:hover {
    background: #dcfce7;
    color: #047857;
}

.calendar-day,
.calendar-empty {
    height: 44px;
    border-radius: 13px;
}

.calendar-day {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
    cursor: pointer;
}

/* Tour departures calendar slider */
.calendar-slider-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.custom-calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.calendar-nav-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.calendar-nav-btn:hover {
    background: #ecfdf5;
    color: #047857;
    border-color: #10b981;
}

.calendar-slider-title {
    flex: 1;
    background: #ecfdf5;
    color: #047857;
    border-radius: 16px;
    padding: 12px 14px;
    text-align: center;
}

.calendar-slider-title strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
}

.calendar-slider-title small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
    font-weight: 800;
}

.calendar-months-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.calendar-month-card {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 18px;
    padding: 10px;
}

.calendar-month-name {
    width: 100%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    border-radius: 14px;
    padding: 10px 8px;
    cursor: pointer;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 9px;
}

.calendar-month-name:hover,
.calendar-month-name.selected {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.calendar-weekdays,
.custom-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.compact-weekdays {
    margin-bottom: 6px;
}

.compact-weekdays button {
    border: none;
    background: #e2e8f0;
    color: #334155;
    border-radius: 9px;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.compact-weekdays button:hover,
.compact-weekdays button.selected {
    background: #dcfce7;
    color: #047857;
}

.compact-calendar-grid .calendar-day,
.compact-calendar-grid .calendar-empty {
    height: 30px;
    border-radius: 9px;
}

.calendar-day {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.calendar-day:hover {
    border-color: #10b981;
    background: #ecfdf5;
    color: #047857;
}

.calendar-day.selected {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.calendar-day.disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.calendar-actions {
    margin-top: 14px;
}

.light-btn {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

.selected-count-chip {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border-color: #10b981 !important;
}

@media (max-width: 1300px) {
    .calendar-months-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .calendar-months-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .calendar-months-grid {
        grid-template-columns: 1fr;
    }

    .custom-calendar-head {
        gap: 8px;
    }

    .calendar-slider-title small {
        display: none;
    }
}

/* =========================================================
   GLOBAL CARD RESTORE FIX
   Required after splitting CSS into separate files.
   Do not remove: public pages, tour pages, booking pages and dashboards use .content-card.
========================================================= */

.content-card,
.topbar,
.stat-card,
.thread-list,
.chat-messages,
.chat-form,
.review-box,
.existing-review,
.availability-edit-card,
.price-edit-card,
.pricing-group-box,
.availability-date-box {
    background: #ffffff;
    border: 1px solid var(--ca-border);
    box-shadow: var(--ca-shadow-sm);
}

.content-card {
    padding: 26px;
    border-radius: 26px;
    margin-bottom: 20px;
    max-width: 100%;
}

.content-card h2 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--ca-text);
    letter-spacing: -0.3px;
}

.content-card p {
    color: var(--ca-muted);
    line-height: 1.65;
}

@media (max-width: 600px) {
    .content-card {
        padding: 20px;
        border-radius: 22px;
    }
}
