/* --- Schedule Premium Redesign --- */

.schedule-group {
    background: var(--white);
    padding: 0;
    margin-bottom: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 2px 10px rgba(var(--primary-rgb), 0.05);
    border: 1px solid rgba(var(--primary-rgb), 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.schedule-group:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.12);
}

/* Header with Elegant Gradient */
.schedule-group .day-header {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #db2777 100%);
    padding: 24px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    text-align: center;
}

.schedule-group h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: capitalize;
    letter-spacing: -0.01em;
}

.schedule-group .slots-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-group .location-selector {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.location-chip {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.location-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.location-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2);
}

.schedule-group .location-indicator {
    background: #f8fafc;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.schedule-group .location-indicator svg {
    width: 14px;
    height: 14px;
    fill: #ef4444;
    /* Pin Red */
}

/* Button Grid and Body */
.schedule-grid {
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    flex-grow: 1;
}

/* Premium Time Slot Button */
.time-slot-btn {
    background: #ffffff;
    border: 2px solid #edeff2;
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.time-slot-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.25);
}

.time-slot-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Swiper Bullets - Larger Touch Targets (a11y) */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    background: #cbd5e1 !important;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary) !important;
    transform: scale(1.25);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
}

/* Fix Swiper Button Touch Targets */
.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Schedule Day Title - maintains visual size after h4 -> h3 change */
.schedule-day-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}