.main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 10px;
}

/* ✅ Form Container */
.container-box {
    max-width: 800px;
    background: #fff;
    width: 800px;
    padding: 25px 40px 10px 40px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* ✅ Gradient Title */
.booking-header .text {
    text-align: center;
    font-size: 41px;
    font-weight: 600;
    background: -webkit-linear-gradient(right, #fb8a05, #fb8a05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ✅ Form Fields */
.container-box form {
    padding: 30px 0 0 0;
}

.container-box form .form-row {
    display: flex;
    margin: 32px 0;
}

form .form-row .input-data {
    width: 100%;
    height: 40px;
    margin: 20px 20px;
    position: relative;
}

.input-data input,
.input-data select {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.12);
    padding: 5px;
}

.input-data label {
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* ✅ Animazione per tutti i campi */
.input-data input:focus~label,
.input-data select:focus~label,
.input-data input:valid~label,
.input-data select:valid~label {
    transform: translateY(-20px);
    font-size: 14px;
    color: #fb8a05;
}

/* ✅ Specifico per campi date/time */
.input-data input[type="date"]:not(:placeholder-shown)~label,
.input-data input[type="time"]:not(:placeholder-shown)~label,
.input-data input[type="date"]:focus~label,
.input-data input[type="time"]:focus~label,
.input-data input[type="date"]:valid~label,
.input-data input[type="time"]:valid~label {
    transform: translateY(-20px);
    font-size: 14px;
    color: #fb8a05;
}

/* ✅ Animated Underline */
.input-data .underline {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100%;
}

.input-data .underline:before {
    position: absolute;
    content: "";
    height: 2px;
    width: 100%;
    background: #fb8a05;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.input-data input:focus~.underline:before,
.input-data input:valid~.underline:before,
.input-data select:focus~.underline:before,
.input-data select:valid~.underline:before {
    transform: scale(1);
}

/* ✅ Custom Date & Time Picker Styling */
.date-input,
.time-input {
    border: 2px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* ✅ Add Hover & Focus Effects */
.date-input:hover,
.date-input:focus,
.time-input:hover,
.time-input:focus {
    border-color: #fb8a05;
    box-shadow: 0px 4px 10px rgba(251, 138, 5, 0.2);
}

/* Remove default placeholder text from date & time inputs */
input[type="date"]:focus::-webkit-datetime-edit,
input[type="time"]:focus::-webkit-datetime-edit {
    color: black;
}



/* ✅ Submit Button */
.submit-btn .input-data {
    overflow: hidden;
    height: 45px !important;
    width: 100% !important;

}

.submit-btn .input-data .inner {
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: -webkit-linear-gradient(right, #fb8a05, #fb8a05);
    transition: all 0.4s;
}

.submit-btn .input-data:hover .inner {
    left: 0;
}

.submit-btn .input-data input {
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.booking-header {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Ensures text remains bright white */
}


/* ✅ Background Image with Overlay */
.booking-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1527529482837-4698179dc6ce?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
    filter: brightness(50%);
    /* ✅ Darkens the image without affecting text */
    z-index: -1;
}

/* ✅ Keep Text Fully White and Visible */
.booking-header .heading {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    /* Ensures the text remains white */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    /* Adds better visibility */
}


@media (max-width: 700px) {
    .container-box .text {
        font-size: 30px;
    }

    .container-box form {
        padding: 10px 0 0 0;
    }

    .container-box form .form-row {
        display: block;
    }

    form .form-row .input-data {
        margin: 35px 0 !important;
    }

    .submit-btn .input-data {
        width: 40% !important;
    }
}

