/* Ẩn thanh cuộn nhưng vẫn cuộn được */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hiệu ứng Glassmorphism (Kính mờ) */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hiệu ứng nền lấp lánh nhẹ */
.bg-sparkle {
    background-image: radial-gradient(#ffccd5 1px, transparent 1px), radial-gradient(#ffccd5 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Animation rung nhẹ cho nút CTA */
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 15px 20px -3px rgba(225, 29, 72, 0.4); }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Animation Delays cho Blobs nền */
.animation-delay-2000 {
    animation-delay: 2s;
}
.animation-delay-4000 {
    animation-delay: 4s;
}

/* Ẩn phần tử con trong stagger container trước khi animation chạy */
.stagger-container .stagger-item {
    opacity: 0;
    /* Giữ trạng thái cuối cùng của animation */
    animation-fill-mode: forwards; 
}

/* --- CUSTOM CALENDAR STYLES --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-day:hover:not(.selected):not(.disabled) {
    background-color: #fff0f3;
}

.calendar-day.selected {
    background-color: #b81f3d;
    color: white;
    box-shadow: 0 4px 10px rgba(184, 31, 61, 0.3);
    transform: scale(1.1);
}

.calendar-day.disabled {
    color: #e2e8f0;
    pointer-events: none;
    cursor: not-allowed;
}

/* Style cho ngày hôm nay */
.calendar-day.is-today {
    border: 2px solid #b81f3d;
    color: #b81f3d;
    font-weight: 800;
}
/* Nếu ngày hôm nay được chọn thì ưu tiên style selected */
.calendar-day.selected.is-today {
    background-color: #b81f3d;
    color: white;
}

/* --- TIME WHEEL PICKER STYLES --- */
.time-wheel-container {
    height: 120px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
}
.time-wheel-container::-webkit-scrollbar { 
    display: none; /* Chrome/Safari */
}
.wheel-item {
    height: 40px; /* Chiều cao cố định mỗi item */
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    font-weight: bold;
    color: #cbd5e1;
    transition: all 0.2s;
}
.wheel-item.active {
    color: #b81f3d;
    font-size: 1.2rem;
    transform: scale(1.1);
}
.wheel-item.disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Accordion transition */
.accordion-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}