/* ===========================
   GLOBAL STYLES FOR BOOKING
=========================== */
body {
    background-color: #f8f9fb;
    font-family: "Poppins", "Segoe UI", sans-serif;
    color: #343a40;
    overflow-x: hidden;
}

/* Container offset */
.AUX-content {
    padding-bottom: 4rem;
}

.AUX-content-offset {
    margin-top: -90px;
    padding-bottom: 4rem;
}

.newsletter-box {
    background: #f8fafc;
    border-radius: .75rem;
    border: 1px solid #e6e9ed;
    padding: 1.25rem;
    margin-top: 2rem;
}

/* ===========================
   CARD STYLING
=========================== */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    background: #fff;
}

.card-body {
    padding: 2.5rem;
}

h3, h4 {
    font-weight: 600;
    color: #5c6f82;
}

/* ===========================
   HERO (book2 only)
=========================== */
.hero {
    background: linear-gradient(rgba(25, 32, 40, 0.7), rgba(25, 32, 40, 0.7));
    height: 36vh;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: .3rem;
}

/* ===========================
   INPUTS & FORMS
=========================== */
label.small {
    font-weight: 500;
    color: #555;
}

input.form-control,
select.form-control,
textarea.form-control {
    border-radius: .5rem;
    border: 1px solid #cfd4da;
    font-size: .95rem;
    transition: all .2s ease;
}

input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
    border-color: #5c6f82;
    box-shadow: 0 0 0 .15rem rgba(92,111,130,.15);
}

textarea#remark {
    resize: vertical;
    min-height: 90px;
}

/* Two-column layout for form fields */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row .form-group {
    flex: 1 0 50%;
    padding: 0 10px;
}

@media (max-width: 768px) {
    .form-row .form-group {
        flex: 1 0 100%;
    }
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
    background-color: #5c6f82;
    border: none;
    border-radius: .5rem;
    font-weight: 500;
    transition: all .2s ease;
}

.btn-primary:hover {
    background-color: #4a5c6b;
    box-shadow: 0 3px 10px rgba(92,111,130,0.3);
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: #5c6f82;
    color: #5c6f82;
    border-radius: .5rem;
}

.btn-outline-primary:hover {
    background-color: #5c6f82;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    border-radius: .5rem;
    font-weight: 500;
    transition: all .2s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 3px 10px rgba(108,117,125,0.3);
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
    border-radius: .5rem;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: #fff;
}

.btn-success {
    background-color: #4caf50;
    border: none;
    border-radius: .5rem;
    font-weight: 500;
    transition: all .2s ease;
}

.btn-success:hover {
    background-color: #3d8b40;
    box-shadow: 0 3px 10px rgba(76,175,80,0.3);
    transform: translateY(-1px);
}

.btn-outline-success {
    border-color: #4caf50;
    color: #4caf50;
    border-radius: .5rem;
}

.btn-outline-success:hover {
    background-color: #4caf50;
    color: #fff;
}

/* ===========================
   RESERVATION DETAILS (bookcomplete)
=========================== */
.reservation-details {
    margin-top: 1.5rem;
}

.reservation-details .row {
    border-bottom: 1px solid #f1f1f1;
    padding: 6px 0;
    margin: 0;
}

.reservation-details .col-md-4 {
    font-weight: 600;
    color: #5c6f82;
    padding: 0;
}

.reservation-details .col-md-8 {
    padding: 0;
    color: #343a40;
}

@media (max-width: 768px) {
    .reservation-details .col-md-4 {
        margin-top: .3rem;
    }
}

/* ===========================
   SPINNER & TRANSITIONS
=========================== */
#spinner-div {
    display: none;
    text-align: center;
}

.spinner-loader {
    width: 3rem;
    height: 3rem;
}

#guestcontact, #notify-table, #reservationslots {
    animation: fadeIn .5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   FOOTER NOTE
=========================== */
.footer-note {
    font-size: 0.85rem;
    color: #6c757d;
}
