/* ==================== */
/* CHECK AVAILABILITY STYLES */
/* ==================== */

.book {
    padding: 40px 0;
    background: #282834;
    color: #fff;
}

.book .grid {
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
    grid-gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.book h1 {
    font-family: serif;
    font-size: 28px;
    margin-top: 35px
}

.book span {
    color: #7fc142;
}

.book input {
    padding: 20px;
    outline: none;
    border: none;
    width: 100%;
}

.book input[type="submit"], .book .btn-success {
    background: #7fc142;
    color: #fff;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.book input[type="submit"]:hover, .book .btn-success:hover {
    background: #6ba635;
    transform: translateY(-2px);
}

.book input[type="submit"]:active, .book .btn-success:active {
    background: #5a8f2a;
    transform: translateY(0);
}
.book .grid > input[type="submit"] {
    width: auto;            /* shrink to fit text */
    padding: 12px 20px;     /* smaller button padding */
    justify-self: center;   /* center within the grid (use start/end if you prefer) */
    /* optional tweaks */
    font-size: 14px;
    border-radius: 6px;
    margin-top: 20px;
  }
/* Bootstrap form customization */
.book .form-control {
    padding: 12px 15px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: auto;
}

.book .form-control:focus {
    border-color: #7fc142;
    box-shadow: 0 0 0 0.25rem rgba(127, 193, 66, 0.25);
}

.book .form-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
}
/* Flatpickr styling has been moved to flatpickr.css */

/* Fix date input appearance on mobile */
.book input[type="date"].form-control {
    min-height: 48px;
}
/* Flatpickr writes to the same input — just style the input */


/* Enhanced booking form styles for mobile */
/* Enhanced booking form styles for mobile */
@media screen and (max-width: 844px) {
    .book {
        padding: 25px 0;
        background: #282834;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        z-index: 10;
    }
 
    .book .container {
        padding: 0 20px;
        max-width: 100%;
        width: 100%;
    }
 
 
    .book .form {
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
 
    .book .grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 8px;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
 
 
    .book h1 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 22px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
 
 
    .book h1 span {
        color: #7fc142;
        position: relative;
    }
 
 
    .book h1 span::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #7fc142;
        opacity: 0.7;
    }
 
 
    .book input {
        width: 100%;
        padding: 15px 15px 15px 45px;
        border-radius: 8px;
        background: white;
        font-size: 16px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        position: relative;
    }
 
 
    /* Add icons to inputs with pseudo-elements */
    .book input#arrivalDate,
    .book #arrivalDate + .flatpickr-input {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%237fc142" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
        background-repeat: no-repeat;
        background-position: 15px center;
    }
 
 
    .book input#departureDate,
    .book #departureDate + .flatpickr-input {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%237fc142" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
        background-repeat: no-repeat;
        background-position: 15px center;
    }
 
 
    .book input#adults {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%237fc142" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
        background-repeat: no-repeat;
        background-position: 15px center;
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
        appearance: textfield; /* Standard property for compatibility */
    }
   
    /* Remove spinner arrows for Chrome, Safari, Edge, Opera */
    .book input#adults::-webkit-outer-spin-button,
    .book input#adults::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
   
    /* Style for placeholder left-aligned and input value centered */
    .book input#adults::placeholder {
        text-align: left;
    }
   
    /* When the input has a value (not empty), center the text */
   /* .book input#adults:not(:placeholder-shown) {
        text-align: center;
    } */
   
    /* Add custom styles for number input padding */
    .book input[type="number"] {
        padding-left: 45px;
        padding-right: 15px;
    }
 
 
    .book input:focus {
        border-color: #7fc142;
        box-shadow: 0 0 0 2px rgba(127, 193, 66, 0.2);
        outline: none;
    }
 
 
    .book input[type="submit"] {
        background: #7fc142;
        color: white;
        font-weight: 600;
        text-transform: uppercase;
        margin-top: 5px;
        letter-spacing: 1px;
        border: none;
        padding: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
    }
 
 
    .book input[type="submit"]:hover {
        background: #6baa32;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
 
 
    .book input[type="submit"]:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
 
 
    /* Fix date input appearance and placeholder on iOS */
   .book input[type="date"] {
        -webkit-appearance: none;
        appearance: none;
        padding-right: 15px;
        color: #333;
    }
 
 
    .book input[type="date"]::-webkit-datetime-edit {
        padding: 0;
    }
 
 
    .book input[type="date"]::-webkit-calendar-picker-indicator {
        background: transparent;
        padding: 8px;
        cursor: pointer;
        position: absolute;
        right: 10px;
        opacity: 0.7;
    }
 
 
    .book input[type="date"]:not(:valid):before {
        content: attr(placeholder);
        color: #757575;
        position: absolute;
    }
   
 
 
    /* Improve touch targets */
    .book input,
    .book input[type="submit"] {
        min-height: 50px;
    }
 
 
    /* Add subtle animation for better UX */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
 
 
    .book .grid {
        animation: fadeIn 0.4s ease-out;
    }
 }
 
 
 