/* ===============================
   GLOBAL BACKGROUND
=================================*/
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('background.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===============================
   BOOKING CONTAINER
=================================*/
.booking-wrapper {
    background: #ffffff;
    width: 95%;
    max-width: 600px;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   HEADING
=================================*/
.booking-wrapper h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* ===============================
   FORM
=================================*/
form {
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 8px rgba(255,122,0,0.3);
    outline: none;
}

textarea {
    resize: none;
    height: 90px;
}

/* ===============================
   BUTTON
=================================*/
button {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

button:hover {
    background: #e96d00;
    transform: translateY(-2px);
}

/* ===============================
   LOADING SPINNER
=================================*/
button.loading {
    pointer-events: none;
    opacity: 0.9;
}

button.loading::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-top: 3px solid transparent;
    border-radius: 50%;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* ===============================
   POPUP OVERLAY
=================================*/
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
    z-index: 999;
}

.popup.active {
    visibility: visible;
    opacity: 1;
}

/* ===============================
   POPUP BOX
=================================*/
.popup-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    animation: popupScale 0.3s ease;
}

@keyframes popupScale {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* SUCCESS ICON */
.checkmark {
    font-size: 50px;
    color: #28a745;
    margin-bottom: 15px;
}

/* ERROR ICON */
.error-icon {
    font-size: 50px;
    color: #dc3545;
    margin-bottom: 15px;
}

.popup-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.popup-content p {
    font-size: 14px;
    color: #666;
}

.popup-content button {
    margin-top: 20px;
    background: #ff7a00;
    padding: 10px 25px;
}

/* ===============================
   RESPONSIVE
=================================*/
@media (max-width: 480px) {
    .booking-wrapper {
        padding: 25px;
    }
}
