/* Booking Timer Styles */
.booking-timer-container {
    position: fixed;
    bottom: 1rem;
    right: 20px;
    z-index: 9998;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Arial', sans-serif;
    min-width: 180px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.8;
    pointer-events: none;
}

.booking-timer-container.warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    animation: pulse 1s infinite;
}

.booking-timer-container.critical {
    background: linear-gradient(135deg, #993300 0%, #800000 100%);
    animation: shake 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.timer-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
}

.timer-display i {
    font-size: 20px;
}

.timer-label {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
}

#timer-minutes, #timer-seconds {
    font-family: 'Courier New', monospace;
    font-size: 22px;
}

/* Timeout modal styling */
#timeout-modal .modal-dialog {
    max-width: 600px;
}

#timeout-modal .modal-header {
    border-bottom: none;
}

#timeout-modal .modal-body {
    padding: 30px;
    font-size: 16px;
    text-align: center;
}

#timeout-modal .modal-footer {
    border-top: none;
    justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .booking-timer-container {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        min-width: 150px;
    }

    .timer-display {
        font-size: 16px;
    }

    #timer-minutes, #timer-seconds {
        font-size: 18px;
    }
}
