/* Booking calendar (monthly) styles */
.booking-months-wrapper {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px;
}

.booking-month {
    min-width: 260px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.booking-month-header {
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: #333;
}

.booking-weekdays {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.booking-weekday {
    width: calc(100% / 7);
    text-align: center;
    font-size: 12px;
    color: #666;
}

.booking-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.booking-day {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.booking-day.blank {
    background: transparent;
    cursor: default;
}

.booking-day.disabled {
    background: #f5f5f5;
    color: #aaa;
    cursor: default;
}

.booking-day.available {
    background: #e9f7ee;
    border: 1px solid #bfeccf;
    color: #1b5e20;
}

.booking-day.available:hover {
    background: #7AB730;
    color: #fff;
}

.booking-day.unavailable {
    background: #fff5f5;
    border: 1px solid #f3c0c0;
    color: #8a1f1f;
    cursor: not-allowed;
}

.booking-day.selected {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

#bookingCalendar {
    max-width: 100%;
}

@media (max-width:576px) {
    .booking-month {
        min-width: 200px;
    }
    
    .booking-weekday {
        font-size: 11px;
    }
}


/* Navbar brand small logo */
.navbar-brand.d-flex .brand-logo {
    height: 36px;
    width: auto;
    margin-right: 10px;
    display: inline-block;
}

@media (max-width: 576px) {
        .navbar-brand.d-flex .brand-logo {
            height: 28px;
            margin-right: 8px;
    }
}

/* Scoped styles for square icon cards */

/* Card shell */
.service-icons-grid .icon-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 10px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Perfect square */
.service-icons-grid .icon-card::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.service-icons-grid .icon-card .icon-card-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

/* Icon styling to match original green + hover */
.service-icons-grid .icon-card .icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #7AB730;
    /* theme primary green */
    background: #FFFFFF;
    color: #7AB730;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 26px;
    transition: .5s;
}

.service-icons-grid .icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px #CCCCCC;
}

.service-icons-grid .icon-card:hover .icon {
    background: #7AB730;
    color: #FFFFFF;
}

/* Excluded set uses danger red with same hover behavior */
.service-icons-grid .icon-card.excluded .icon {
    border-color: #dc3545;
    color: #dc3545;
}

.service-icons-grid .icon-card.excluded:hover .icon {
    background: #dc3545;
    color: #FFFFFF;
}

.service-icons-grid .icon-card .title {
    font-weight: 600;
    font-size: .95rem;
}

@media (max-width: 576px) {
    .service-icons-grid .icon-card .icon {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
    
    .service-icons-grid .icon-card .title {
        font-size: .9rem;
    }
}
