:root {
    --primary: #00403f;
    --accent: #e6f4f3;
    --text-dark: #1f2937;
    --bg-light: #f9fafb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", "Inter", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

/* ================= APP LAYOUT ================= */
.app-container,
.app-row {
    height: 100vh;
}

/* ================= LEFT BANNER ================= */
.banner-wrapper {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: fill;     /* NOT cover */
    object-position: center top;
    background-color: #000; /* avoids empty gaps */
}

.banner-overlay {
    position: absolute;
    inset: 1;
    background: linear-gradient(
        135deg,
        rgba(0,64,63,0.75),
        rgba(0,0,0,0.1)
    );
}

.banner-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #fff;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ================= RIGHT FORM ================= */
.form-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;

    padding: 40px 20px;
    background: var(--bg-light);
}

/* ================= CARD ================= */
.booking-card {
    width: 100%;
    max-width: 460px;
    margin: auto 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding: 42px;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.form-title {
    text-align: center;
    font-weight: 700;
    color: var(--primary);
}

.form-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 32px;
}

/* ================= FLOATING INPUTS ================= */
.form-group {
    position: relative;
    margin-bottom: 22px;
}

.form-group input,
.form-group select {
    width: 100%;
    height: 52px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    padding: 14px 16px;
    font-size: 0.95rem;
    background: transparent;
    outline: none;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    background: #fff;
    padding: 0 6px;
    font-size: 0.85rem;
    color: #6b7280;
    pointer-events: none;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,64,63,0.2);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -6px;
    font-size: 0.72rem;
    color: var(--primary);
}

/* ================= BUTTON ================= */
.btn-submit {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00403f, #0b5f5c);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    margin-top: 10px;
    transition: 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0,64,63,0.35);
}

.already-text {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.already-text a {
    color: #00403f;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* SweetAlert Input Styling */
.custom-swal-input {
    border-radius: 10px !important;
    border: 1.5px solid #27ae60 !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.2) !important;
    transition: all 0.25s ease;
}

.custom-swal-input:focus {
    border-color: #1e8449 !important;
    box-shadow: 0 6px 18px rgba(39, 174, 96, 0.35) !important;
    outline: none !important;
}

/* Popup rounding */
.custom-swal-popup {
    border-radius: 16px !important;
}

/* Buttons */
.custom-swal-confirm {
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 600;
}

.custom-swal-cancel {
    border-radius: 8px !important;
    padding: 10px 18px !important;
}

/* ==================Bottom fab button =================== */

/* ===== Floating Right Arrow Button ===== */
.fab-arrow {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #00403f, #0b5f5c);
    color: #fff;
    font-size: 26px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 12px 25px rgba(0, 64, 63, 0.45);
    z-index: 999;
    transition: all 0.3s ease;
}

/* Hover / Tap effect */
.fab-arrow:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 35px rgba(0, 64, 63, 0.55);
    color: #fff;
}

/* Mobile adjustment */
@media (max-width: 576px) {
    .fab-arrow {
        width: 50px;
        height: 50px;
        font-size: 22px;
        right: 16px;
        bottom: 16px;
    }
}



/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .app-container,
    .app-row {
        height: auto;
    }

    .banner-wrapper {
        height: 280px;  
    }

    .banner-content {
        bottom: 20px;
        left: 20px;
    }

    .banner-content h1 {
        font-size: 1.6rem;
    }

    .form-wrapper {
        height: auto;
        padding: 30px 16px;
    }

    .booking-card {
        padding: 32px 26px;
    }
}
/* ================= LOADER & ALERTS ================= */

/* Fullscreen loader */
#loader {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9999;

    /* CENTER ALWAYS */
    display: flex;
    justify-content: center;
    align-items: center;

    /* HIDDEN BY DEFAULT */
    visibility: hidden;
    opacity: 0;
}

/* Show loader */
#loader.active {
    visibility: visible;
    opacity: 1;
}

/* Spinner size & color */
.custom-spinner {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--primary);
}

/* sweet alert */

.swal2-small-popup {
    font-size: 0.85rem !important;
    width: 300px !important;
}








