/* ===== COUNTDOWN TIMER ===== */

.countdown-banner {
    background: linear-gradient(135deg, #27AE9C 0%, #5BC4B6 100%);
    color: #1a1410;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}

.countdown-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-family: 'Kanit', serif;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: rgba(26, 20, 16, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    min-width: 80px;
}

.countdown-label {
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 600;
    opacity: 0.9;
}

/* ===== PROGRESS INDICATOR ===== */

.booking-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.booking-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: rgba(212, 175, 55, 0.2);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    border: 3px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #999;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, #27AE9C, #5BC4B6);
    border-color: #5BC4B6;
    color: #1a1410;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.progress-step.completed .step-circle {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.progress-step.completed .step-circle::before {
    content: '\2713';
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-align: center;
}

.progress-step.active .step-label {
    color: #5BC4B6;
}

.progress-step.completed .step-label {
    color: #10b981;
}

/* ===== LIVE CHAT WIDGET ===== */

.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
}

.chat-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.chat-btn i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Chat Window (Hidden by default) */
.chat-window {
    position: fixed;
    bottom: 170px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9fafb;
}

.chat-message {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid #e5e7eb;
}

.chat-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-number {
        font-size: 1.8rem;
        min-width: 60px;
        padding: 8px 12px;
    }

    .countdown-text {
        font-size: 0.95rem;
    }

    .booking-progress {
        padding: 0 10px;
    }

    .step-circle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .chat-widget {
        bottom: 90px;
        right: 20px;
    }

    .chat-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .chat-window {
        width: 90%;
        height: 70%;
        right: 5%;
        bottom: 140px;
    }
}