/* ========================================
   BOOKING POPUP STYLES
   ======================================== */

/* Floating Booking Button */
#booking-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00d4ff 0%, #ff006e 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

#booking-button:hover {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

#booking-button i {
    font-size: 16px;
}

/* Popup Overlay */
#booking-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    animation: popupFadeIn 0.3s ease;
}

#booking-popup.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Popup Content Box */
.booking-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    max-width: 450px;
    width: calc(100% - 30px);
    padding: 35px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.2);
    animation: contentSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
#booking-close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 28px;
    cursor: pointer;
    color: #00d4ff;
    line-height: 1;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#booking-close:hover {
    color: #ff006e;
    transform: rotate(90deg);
}

/* Header */
.booking-header {
    margin-bottom: 25px;
    text-align: center;
}

.booking-header h3 {
    color: #00d4ff;
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 700;
}

.booking-header p {
    color: #b0b0b0;
    font-size: 14px;
}

/* Form Group */
.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-group label {
    display: block;
    color: #00d4ff;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Fields */
.booking-content input,
.booking-content select,
.booking-content textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 0;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background: rgba(20, 20, 40, 0.5);
    color: #e0e0e0;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.booking-content input::placeholder,
.booking-content textarea::placeholder {
    color: #666;
}

.booking-content input:focus,
.booking-content select:focus,
.booking-content textarea:focus {
    border-color: #00d4ff;
    background: rgba(20, 20, 40, 0.7);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

/* Select Styling */
.booking-content select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* Textarea */
.booking-content textarea {
    resize: vertical;
    min-height: 100px;
}

/* Error Message */
.error-msg {
    display: none;
    color: #ff006e;
    font-size: 12px;
    margin-top: 4px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ff006e;
}

.form-group.error .error-msg {
    display: block;
}

/* Submit Button */
.booking-submit-btn {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: linear-gradient(135deg, #00d4ff 0%, #8338ec 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-submit-btn:hover {
    background: linear-gradient(135deg, #8338ec 0%, #ff006e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.booking-submit-btn:active {
    transform: translateY(0);
}

/* Success Message */
.booking-success {
    text-align: center;
    animation: successSlideIn 0.5s ease;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff 0%, #8338ec 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 15px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.booking-success h4 {
    color: #00d4ff;
    font-size: 20px;
    margin-bottom: 10px;
}

.booking-success p {
    color: #b0b0b0;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #booking-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
    }

    .booking-content {
        max-width: 100%;
        width: calc(100% - 20px);
        padding: 25px;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    #booking-button {
        bottom: 15px;
        right: 15px;
        padding: 11px 16px;
        font-size: 12px;
        gap: 6px;
    }

    #booking-button i {
        font-size: 14px;
    }

    .booking-content {
        padding: 20px;
        width: calc(100% - 20px);
        margin: 30% auto;
        border-radius: 12px;
    }

    .booking-header h3 {
        font-size: 20px;
    }

    .booking-content input,
    .booking-content select,
    .booking-content textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .booking-submit-btn {
        padding: 12px;
        font-size: 14px;
    }
}
