/* Staah Booking Widget Styles for WordPress */

/* Use font family Marcellius */
@import url('https://fonts.googleapis.com/css2?family=Marcellus:wght@400&display=swap');

.booking-widget-container * {
    font-family: 'Marcellus', serif !important;
}

.booking-widget-container input {
    font-family: 'Marcellus', serif !important;
}

/* Booking Widget Override Styles */
@media (min-width: 768px) {
    .booking-widget-container div[id*="staah-widget"] .MbsSearchWidget {
        display: flex !important;
        width: 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        max-width: max-content !important;
    }
}

.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .searchBtn {
    background-color: #d7a02a !important;
    color: #ffffff !important;
    padding: 7px 50px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-weight: 500 !important;
}

.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget {
    box-shadow: 0px 10px 30px -9px rgba(0,0,0,0.19) !important;
    -webkit-box-shadow: 0px 10px 30px -9px rgba(0,0,0,0.19) !important;
    -moz-box-shadow: 0px 10px 30px -9px rgba(0,0,0,0.19) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    background: #ffffff !important;
}

/* Form groups styling */
.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .formGroup {
    margin-right: 15px !important;
    flex: 1 !important;
}

.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .formGroup:last-child {
    margin-right: 0 !important;
}

/* Input styling */
.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .input {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
}

.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .input:hover {
    border-color: #d7a02a !important;
}

/* Labels */
.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .lbl {
    color: #333 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 5px !important;
    display: block !important;
}

/* Date inputs */
.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .checkinDate {
    background-color: transparent !important;
    border: none !important;
    color: #333 !important;
    font-size: 14px !important;
    padding: 0 !important;
    cursor: pointer !important;
}

/* Property dropdown */
.booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .caret {
    border-top: 5px solid #d7a02a !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
}

/* Responsive design */
@media (max-width: 767px) {
    .booking-widget-container div[id*="staah-widget"] .MbsSearchWidget {
        flex-direction: column !important;
    }
    
    .booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .formGroup {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .booking-widget-container div[id*="staah-widget"] .MbsSearchWidget .searchBtn {
        width: 100% !important;
        padding: 12px !important;
    }
}

/* Container alignment styles */
.booking-widget-container {
    margin: 20px 0 !important;
    display: block !important;
}

.booking-widget-container[style*="text-align: center"] {
    display: flex !important;
    justify-content: center !important;
}

.booking-widget-container[style*="text-align: right"] {
    display: flex !important;
    justify-content: flex-end !important;
}

.booking-widget-container[style*="text-align: left"] {
    display: flex !important;
    justify-content: flex-start !important;
}
