﻿/* ============================================================
   PLANS & PRICING – LIGHT THEME
   File: /css/plansandpricing.light.css
   ============================================================ */

/* Base body – works even if you later add body.lightmode */
body,
body.lightmode {
    background-color: #f3f4f6; /* soft gray background */
    color: #111827;
}
    /* Light mode – highlight those small badges */
    body.lightmode .badge.text-bg-light,
    body:not(.darkmode) .badge.text-bg-light {
        background-color: #f8f9fa !important; /* soft light bg */
        color: #1f2933 !important; /* dark readable text */
        border: 1px solid #e5e7eb;
        box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    }


    /* ============================================================
   GLOBAL LIGHT MODE – NAVBAR
   ============================================================ */

    body.lightmode .navbar {
        background-color: #f8f9fa !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    body.lightmode .nav-link {
        color: #1e293b !important;
    }

        body.lightmode .nav-link:hover {
            color: #0d6efd !important;
        }

    body.lightmode .navbar-brand img {
        background-color: #ffffff !important;
    }

/* Override Bootstrap muted colors slightly */
.text-muted {
    color: #6b7280 !important;
}

/* ----------------- Page layout ----------------- */

.pricing-cards-section {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #ffffff;
    color: #0f172a;
    border-radius: 1rem;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
}

    .pricing-cards-section h2 {
        font-size: 2rem;
        margin-bottom: 0.4rem;
        color: #0f172a;
    }

.pricing-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* ----------------- Cards grid ----------------- */

.pricing-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Single card */

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem 1.25rem 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

    .pricing-card.highlighted {
        border-color: #0f766e;
        box-shadow: 0 14px 35px rgba(15, 118, 110, 0.25);
    }

/* Card header */

.pricing-card-header h3 {
    font-size: 1.3rem;
    margin: 0;
    color: #0f172a;
}

.plan-tagline {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0.35rem 0 0.75rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
}

.price-period {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Popular badge */

.badge-popular {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    background: #0f766e;
    color: #ecfeff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ----------------- Feature list ----------------- */

.feature-list {
    list-style: none;
    margin: 0.5rem 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.86rem;
}

    .feature-list li {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.35rem 0.25rem;
        border-radius: 8px;
    }

        /* Included vs excluded */

        .feature-list li.included {
            background: #f0fdf4;
        }

        .feature-list li.excluded {
            background: #f9fafb;
            opacity: 0.95;
        }

.feature-main {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 70%;
}

.feature-label {
    font-weight: 500;
    color: #111827;
}

/* Right side note */

.feature-note {
    font-size: 0.78rem;
    color: #4b5563;
    white-space: nowrap;
}

.feature-list li.included .feature-note {
    color: #166534;
    font-weight: 600;
}

.feature-list li.excluded .feature-note {
    color: #b91c1c;
    font-weight: 500;
}

/* ----------------- Info icon + tooltip ----------------- */

.feature-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #374151;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

    .feature-info.demo {
        background: #0f766e;
        color: #ecfeff;
    }

    /* Tooltip bubble */

    .feature-info::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 50%;
        top: 130%;
        transform: translateX(-50%);
        background: #111827;
        color: #f9fafb;
        padding: 0.45rem 0.6rem;
        border-radius: 6px;
        font-size: 0.72rem;
        line-height: 1.2;
        width: 230px;
        max-width: 70vw;
        opacity: 0;
        pointer-events: none;
        white-space: normal;
        box-shadow: 0 2px 8px rgba(0,0,0,0.25);
        z-index: 10;
    }

    .feature-info::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 120%;
        transform: translateX(-50%);
        border-width: 5px;
        border-style: solid;
        border-color: #111827 transparent transparent transparent;
        opacity: 0;
        z-index: 10;
    }

    .feature-info:hover::after,
    .feature-info:hover::before {
        opacity: 1;
    }

/* ----------------- Card footer / CTA ----------------- */

.pricing-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
}

.plan-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #0f766e;
    color: #0f766e;
    background: #ecfeff;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

    .plan-cta.primary {
        background: #0f766e;
        color: #ecfeff;
    }

    .plan-cta:hover {
        filter: brightness(0.95);
        transform: translateY(-1px);
    }

/* ----------------- Responsive tweaks ----------------- */

@media (max-width: 640px) {
    .pricing-cards-section {
        padding: 1rem;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    }

    .pricing-card-grid {
        grid-template-columns: 1fr;
    }

    .feature-main {
        max-width: 100%;
    }

    .feature-note {
        white-space: normal;
        text-align: right;
    }
}
/* Light mode background for venue images */
body.lightmode .venue-image-frame,
body:not(.darkmode) .venue-image-frame {
    background-color: #ffffff;
}
/* Light mode background for rental unit images */
body.lightmode .rentalunit-image-frame,
body:not(.darkmode) .rentalunit-image-frame {
    background-color: #ffffff;
}
/* ========== UNIT DETAILS – LIGHT MODE ========== */

/* Page text */
body.lightmode h1,
body.lightmode h4,
body.lightmode h5 {
    color: #0f172a;
}

body.lightmode p.text-muted {
    color: #6b7280 !important;
}

/* Amenity badges */
body.lightmode .list-inline .badge.bg-light.text-dark.border {
    background-color: #f9fafb;
    color: #111827;
    border-color: #e5e7eb;
}

/* Add-ons list group */
body.lightmode .list-group-item {
    background-color: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
}

    body.lightmode .list-group-item .text-muted {
        color: #6b7280 !important;
    }

/* ========== BOOKING CALENDAR – LIGHT MODE ========== */

body.lightmode .calendar-month h5 {
    color: #0f172a;
}

body.lightmode .calendar-month .table {
    background-color: #ffffff;
    border-color: #e5e7eb;
}

    body.lightmode .calendar-month .table th {
        background-color: #f9fafb;
        color: #4b5563;
    }

/* Unavailable days (bg-light text-muted from Razor) */
body.lightmode .calendar-month td.bg-light.text-muted {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
}

/* Available days (bg-white selectable-date) */
body.lightmode .calendar-month td.bg-white.selectable-date {
    background-color: #ffffff;
    color: #111827;
    cursor: pointer;
}

/* Hover effect on selectable days */
body.lightmode .calendar-month td.selectable-date:hover {
    background-color: #e0f2fe;
}

/* Selected range styles – used by JS classes */
body.lightmode .calendar-month td.ts-checkin,
body.lightmode .calendar-month td.ts-checkout {
    background-color: #0f766e !important;
    color: #ecfeff !important;
    font-weight: 600;
}

body.lightmode .calendar-month td.ts-inrange {
    background-color: #ccfbf1 !important;
    color: #115e59 !important;
}
