/* ===================================
   CALENDAR LUXURY STYLES
   =================================== */

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://img5.pic.in.th/file/secure-sv1/6e1d1c95-01ca-4935-af28-23665eeac9a0_1749355478000.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: blur(8px);
    transform: scale(1.1);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(26 26 46 / 17%), rgb(176 226 249 / 16%));
    
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

/* Calendar Section */
.calendar-section {
    padding: 80px 0;
    background: #f9fafb;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-color: #d4af37;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.pricing-details {
    flex: 1;
}

.pricing-label {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.pricing-value {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.pricing-desc {
    font-size: 14px;
    color: #6c757d;
}

/* Calendar Luxury Card */
.calendar-luxury-card {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.calendar-luxury-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
}

.calendar-month-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.btn-calendar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-calendar-nav:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: white;
    transform: translateX(0);
}

.btn-calendar-nav:first-child:hover {
    transform: translateX(-3px);
}

.btn-calendar-nav:last-child:hover {
    transform: translateX(3px);
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #1a1a2e;
    font-weight: 500;
}

.legend-color {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 2px solid;
}

.legend-color.available {
    background: white;
    border-color: #d4af37;
}

.legend-color.pending {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
}

.legend-color.booked {
    background: rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.legend-icon {
    font-size: 24px;
    color: #d4af37;
}

/* Calendar Body */
.calendar-luxury-body {
    margin-top: 30px;
}

/* Main Layout with Cart */
.calendar-main-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin-top: 30px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 10px 8px;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
    border: 2px solid #d4af37;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 15px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.calendar-day.empty {
    opacity: 0;
    pointer-events: none;
    border: none;
}

.calendar-day:not(.empty):hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.calendar-day.available {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03), rgba(240, 199, 94, 0.05));
}

.calendar-day.available:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(240, 199, 94, 0.15));
    border-color: #d4af37;
}

.calendar-day.pending {
    background: rgba(245, 158, 11, 0.08);
    border-color: #f59e0b;
}

.calendar-day.booked {
    background: rgba(220, 38, 38, 0.08);
    border-color: #dc2626;
    cursor: not-allowed;
}

.day-number {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.day-special {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #d4af37;
    font-size: 16px;
    animation: fire-pulse 1.5s infinite;
}

.day-festival {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #d4af37;
    font-size: 16px;
    animation: star-pulse 2s infinite;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.5));
}

@keyframes fire-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.8;
    }
}

.day-price {
    font-size: 14px;
    font-weight: 700;
    color: #d4af37;
    margin: 6px 0;
}

.day-status {
    font-size: 11px;
    font-weight: 600;
    padding: 0.5px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: -7px;
}

.calendar-day.available .day-status {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.calendar-day.pending .day-status {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.calendar-day.booked .day-status {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

/* Selected Date Style */
.calendar-day.selected {
    border-color: #d4af37;
    background: linear-gradient(135deg, #fff8e7 0%, #fffbf0 100%);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.day-selected-icon {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #d4af37;
    font-size: 18px;
    animation: checkPulse 0.3s ease;
}

@keyframes checkPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* Booking Cart */
.booking-cart {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 90px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.cart-header i {
    font-size: 24px;
    color: #d4af37;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.cart-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.cart-empty p {
    font-size: 14px;
    margin: 0;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f3f4f6;
}

.cart-item-date {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.cart-item-date i {
    color: #d4af37;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #d4af37;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: rgba(220, 38, 38, 0.1);
}

.cart-item-remove i {
    font-size: 18px;
}

.cart-summary {
    padding-top: 15px;
    border-top: 2px solid #f3f4f6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    color: #6c757d;
}

.summary-row.total {
    font-size: 18px;
    color: #1a1a2e;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.summary-row strong {
    font-weight: 700;
}

.summary-row.total strong {
    color: #d4af37;
    font-size: 22px;
}

.btn-booking-confirm {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #d4af37 0%, #f0c75e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-booking-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-clear-cart {
    width: 100%;
    padding: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

/* Booking Instructions */
.booking-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.instruction-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instruction-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.instruction-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.instruction-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Quick Contact */
.quick-contact {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 60px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quick-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

.quick-contact-header {
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.quick-contact-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
}

.quick-contact-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
}

.quick-contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 18px 35px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #d4af37;
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.contact-btn i {
    font-size: 22px;
}

/* Modal Luxury */
.luxury-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

.luxury-modal.active {
    display: flex;
}

.luxury-modal-content {
    background: white;
    border-radius: 25px;
    padding: 25px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-luxury {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.modal-close-luxury:hover {
    background: #dc2626;
    color: white;
    transform: rotate(90deg);
}

.modal-header-luxury {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f3f4f6;
}

.modal-header-luxury i {
    font-size: 32px;
    color: #d4af37;
}

.modal-header-luxury h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #1a1a2e;
    margin: 0;
}

.booking-detail-luxury {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 15px;
}

.detail-value {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 17px;
}

.detail-value.price-highlight {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #d4af37;
}

.detail-value.status-available {
    color: #059669;
}

.detail-value.status-pending {
    color: #f59e0b;
}

.detail-value.status-booked {
    color: #dc2626;
}

.special-day-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(240, 199, 94, 0.15));
    padding: 12px 20px;
    border-radius: 12px;
    color: #d4af37;
    font-weight: 600;
    border: 2px solid #d4af37;
}

.booking-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.action-btn.secondary {
    background: white;
    border: 2px solid #e5e7eb;
    color: #1a1a2e;
}

.action-btn.secondary:hover {
    background: #f9fafb;
    border-color: #d4af37;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .calendar-luxury-card {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
        margin-top: 60px;
    }

    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .calendar-section {
        padding: 40px 0;
    }
    
    /* Pricing Cards - Stack vertically on mobile */
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .pricing-card {
        padding: 20px;
        gap: 15px;
    }
    
    .pricing-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .pricing-label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .pricing-value {
        font-size: 24px;
    }
    
    .pricing-desc {
        font-size: 12px;
    }
    
    /* Calendar Card */
    .calendar-luxury-card {
        padding: 20px 15px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .calendar-luxury-header {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }
    
    .calendar-month-title {
        font-size: 24px;
    }
    
    .btn-calendar-nav {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    /* Calendar Legend */
    .calendar-legend {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .legend-item {
        font-size: 12px;
    }
    
    .legend-color {
        width: 16px;
        height: 16px;
    }
    
    /* Weekdays */
    .calendar-weekdays {
        gap: 5px;
        margin-bottom: 10px;
    }
    
    .weekday {
        font-size: 11px;
        padding: 4px 5px;
        border-radius: 8px;
        line-height: 1;
    }
    
    /* Calendar Days */
    .calendar-days {
        gap: 5px;
    }
    
    .calendar-day {
        padding: 8px 5px;
        min-height: 85px;
        border-radius: 12px;
        border-width: 1.5px;
    }
    
    .calendar-day.empty {
        min-height: 85px;
    }
    
    .day-number {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .day-price {
        font-size: 11px;
    }
    
    .day-status {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .day-special {
        font-size: 14px;
        top: 3px;
        right: 3px;
    }
    
    .day-festival 
    {
        font-size: 11px;
        top: 3px;
        right: 3px;
    }
    /* Booking Instructions */
    .booking-instructions {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .instruction-card {
        padding: 20px 15px;
    }
    
    .instruction-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .instruction-content h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .instruction-content p {
        font-size: 12px;
    }
    
    /* Quick Contact */
    .quick-contact {
        padding: 25px 20px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .quick-contact-header h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .quick-contact-header p {
        font-size: 13px;
    }
    
    .quick-contact-methods {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-btn {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    /* Modal */
    .luxury-modal-content {
        padding: 25px 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-header-luxury h3 {
        font-size: 20px;
    }
    
    .detail-label {
        font-size: 13px;
    }
    
    .detail-value {
        font-size: 14px;
    }
    
    .booking-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    /* Booking Cart Mobile */
    .calendar-main-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-cart {
        position: relative;
        top: 0;
        margin-top: 20px;
        max-height: none;
    }
    
    .cart-header h3 {
        font-size: 18px;
    }
    
    .cart-item {
        padding: 10px;
    }
    
    .cart-item-date {
        font-size: 12px;
    }
    
    .cart-item-price {
        font-size: 13px;
    }
    
    .summary-row {
        font-size: 13px;
    }
    
    .summary-row.total {
        font-size: 16px;
    }
    
    .summary-row.total strong {
        font-size: 20px;
    }
    
    .btn-booking-confirm {
        padding: 12px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 26px;
    }
    
    .calendar-month-title {
        font-size: 16px;
    }
    
    .pricing-value {
        font-size: 18px;
    }
    
    /* Minimal gaps */
    .calendar-weekdays {
        gap: 1px;
        margin-bottom: 4px;
    }
    
    .calendar-days {
        gap: 6px;
    }
    
    .calendar-day {
        min-height: 52px;
        padding: 3px 0;
        border-radius: 6px;
        border-width: 0.5px;
    }
    
    .calendar-day.empty {
        min-height: 52px;
    }
    
    .day-number {
        font-size: 13px;
        margin-bottom: 1px;
        /*font-weight: 600;*/
    }
    
    .day-price {
        font-size: 9px;
        margin-top: -3px;
    }
    
    .day-status {
        font-size: 8px;
        padding: 1px 10px;
        margin-top: -5px;
    }
    
    .day-special {
        font-size: 13px;
        top: 2px;
        right: 2px;
    }
    
    .weekday {
        font-size: 10px;
        padding: 2px 0;
        border-radius: 4px;
        font-weight: 700;
    }
    
    /* Minimal container padding */
    .container {
        padding: 0 3px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .calendar-luxury-card {
        padding: 8px 3px;
        border-radius: 10px;
    }
    
    .calendar-section {
        padding: 15px 0;
    }
    
    .calendar-luxury-body {
        margin-top: 10px;
    }
}

/* Extra small phones (375px and below) */
@media (max-width: 375px) {
    .calendar-month-title {
        font-size: 14px;
    }
    
    .calendar-weekdays {
        gap: 0px;
        margin-bottom: 3px;
    }
    
    .calendar-days {
        gap: 0px;
    }
    
    .calendar-day {
        min-height: 48px;
        padding: 2px 0;
        border-radius: 5px;
        border-width: 0.5px;
    }
    
    .calendar-day.empty {
        min-height: 48px;
    }
    
    .day-number {
        font-size: 10px;
        margin-bottom: 0px;
    }
    
    .day-price {
        font-size: 6px;
        margin-top: 0px;
    }
    
    .day-status {
        font-size: 4px;
        padding: 0px 1px;
        margin-top: 0px;
    }
    
    .weekday {
        font-size: 6px;
        padding: 4px 0;
        border-radius: 3px;
    }
    
    .container {
        padding: 0 2px;
    }
    
    .calendar-luxury-card {
        padding: 6px 2px;
        border-radius: 8px;
    }
    
    .pricing-card {
        padding: 10px;
    }
    
    .pricing-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Very small phones (360px and below) */
@media (max-width: 360px) {
    .calendar-month-title {
        font-size: 13px;
    }
    
    .calendar-weekdays {
        gap: 0px;
        margin-bottom: 2px;
    }
    
    .calendar-days {
        gap: 0px;
    }
    
    .calendar-day {
        min-height: 45px;
        padding: 2px 0;
        border-radius: 4px;
        border-width: 0.5px;
    }
    
    .calendar-day.empty {
        min-height: 45px;
    }
    
    .day-number {
        font-size: 9px;
        margin-bottom: 0;
    }
    
    .day-price {
        font-size: 5px;
        margin-top: 0;
    }
    
    .day-status {
        font-size: 4px;
        padding: 0px;
    }
    
    .weekday {
        font-size: 5px;
        padding: 3px 0;
        border-radius: 3px;
    }
    
    .container {
        padding: 0 1px;
    }
    
    .calendar-luxury-card {
        padding: 5px 1px;
        border-radius: 6px;
    }
}

/* Form Styling for Booking Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group label i {
    color: #d4af37;
    font-size: 18px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Thai', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.modal-footer-luxury {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f3f4f6;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Thai', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d775 100%);
    color: #1a1a2e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #1a1a2e;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-footer-luxury {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Button Styles for Table Actions */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 3px;
}

.btn-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

.info-group {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.text-muted {
    color: #6b7280;
    font-size: 14px;
}

.text-muted i {
    margin-right: 5px;
}

/* ===================================
   PAYMENT MODAL STYLES
   =================================== */

/* Payment Summary */
.payment-summary .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.payment-summary .summary-row:last-child {
    border-bottom: 2px solid #d4af37;
}

.payment-summary .summary-row span {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-summary .summary-row strong {
    color: #1a1a2e;
    font-size: 16px;
}

/* Payment Type Cards - แนวนอน */
.payment-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.payment-type-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.payment-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-card-content {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 12px;
    padding: 1px 1px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.payment-type-card:hover .payment-card-content {
    border-color: #d4af37;
    background: #fffbf0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.payment-type-card input:checked + .payment-card-content {
    border-color: #d4af37;
    border-width: 4px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(240, 199, 94, 0.12));
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.payment-card-content i {
    font-size: 36px;
    color: #d4af37;
    margin-bottom: 8px;
    display: block;
}

.payment-card-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.payment-card-content p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 15px;
}

.payment-amount {
    display: block;
    font-size: 22px;
    font-weight: 550;
    color: #d4af37;
    font-family: 'Poppins';
    margin-top: -10px;
}

.payment-card-content small {
    display: block;
    margin-top: -5px;
    font-size: 13px;
    color: #9ca3af;
}

/* Bank Accounts List */
.bank-account-card {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.bank-account-card:hover {
    border-color: #d4af37;
    background: #fffbf0;
}

.bank-account-card h5 {
    color: #1a1a2e;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-account-card h5 i {
    color: #d4af37;
    font-size: 18px;
}

.bank-account-card p {
    margin: 5px 0;
    font-size: 13px;
    color: #6b7280;
}

.bank-account-card .account-number {
    font-size: 18px;
    font-weight: 700;
    color: #d4af37;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ปุ่มคัดลอกเลขบัญชี */
.btn-copy-account {
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.btn-copy-account:hover {
    background: #b8941f;
    transform: scale(1.05);
}

.btn-copy-account:active {
    transform: scale(0.95);
}

.btn-copy-account i {
    transition: all 0.3s ease;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #d1d5db;
    border-radius: 15px;
    padding: 3px 8px;
    text-align: center;
    background: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.upload-area:hover {
    border-color: #d4af37;
    background: #fffbf0;
}

.upload-area.dragover {
    border-color: #10b981;
    background: #ecfdf5;
}

.upload-placeholder i {
    font-size: 60px;
    color: #d4af37;
    margin-bottom: 15px;
    display: block;
}

.upload-placeholder p {
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
    font-weight: 600;
}

.upload-placeholder small {
    font-size: 13px;
    color: #9ca3af;
}

.upload-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.btn-remove-slip {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-remove-slip:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

/* Contact Form */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #d4af37;
    font-size: 18px;
}

.required {
    color: #dc2626;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans Thai', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #d4af37;
    background: #fffbf0;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-control.error {
    border-color: #dc2626;
}

.error-message {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-notice i {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Success Modal */
.success-icon {
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn {
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans Thai', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f0c75e);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #f3f4f6;
    color: #1a1a2e;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #1a1a2e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Payment Modals */
@media (max-width: 768px) {
    .luxury-modal-content {
        padding: 2px 15px;
        max-width: 95%;
        border-radius: 15px;
        max-height: 95vh;
        overflow-y: auto;
    }

    .modal-header-luxury {
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .modal-header-luxury i {
        font-size: 22px;
    }

    .modal-header-luxury h3 {
        font-size: 18px;
    }

    /* สำหรับ payment modal ให้เป็นแนวตั้งบนมือถือ */
    .modal-body-luxury > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* ลด spacing ทั้งหมดบนมือถือ */
    .modal-body-luxury {
        padding: 10px 15px !important;
    }

    .payment-summary h4,
    #bankAccountsSection h4,
    .modal-body-luxury h4 {
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    .payment-summary > div {
        padding: 10px !important;
        margin-bottom: 12px !important;
    }

    .payment-types {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 15px !important;
    }

    .payment-card-content {
        padding: 12px 10px;
    }

    .payment-card-content i {
        font-size: 24px;
        margin-bottom: -10px;
    }

    .payment-card-content h5 {
        font-size: 14px;
        margin: 6px 0 3px 0;
    }

    .payment-card-content p {
        font-size: 11px;
        margin: 0 0 6px 0;
    }

    .payment-amount {
        font-size: 20px;
        margin-top: -5px;
        font-family: math;
    }
    
    .payment-card-content small {
        font-size: 10px;
    }

    .bank-account-card {
        padding: 12px;
        margin-bottom: 8px !important;
    }

    .bank-account-card h5 {
        font-size: 14px !important;
    }

    .bank-account-card p {
        font-size: 12px !important;
    }

    .bank-account-card .account-number {
        font-size: 16px;
    }

    .upload-area {
        padding: 20px 12px;
    }

    .upload-preview img {
        max-height: 180px !important;
    }

    .upload-placeholder i {
        font-size: 36px;
    }

    .upload-placeholder p {
        font-size: 14px;
    }

    .upload-placeholder small {
        font-size: 11px;
    }

    .modal-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 14px;
    }

    .summary-row {
        font-size: 13px;
    }
}

/* สำหรับแท็บเล็ตขนาดกลาง */
@media (max-width: 992px) and (min-width: 769px) {
    #paymentModal .luxury-modal-content {
        max-width: 90%;
    }
}


