/* flatpickr-styles.css */
.date-picker-container {
    position: relative;
    /* Allows positioning the popup relative to the input */
}

.calendar_popup {
    display: none;
    /* Hide the popup initially */
    position: absolute;
    top: 100%;
    /* Position it directly below the input field */
    left: 0;
    z-index: 10;
    /* Make sure the popup is above other content */
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    
}

#update_calendar_popup {
    display: none;
    /* Hide the popup initially */
    position: relative;
    top: 100%;
    /* Position it directly below the input field */
    left: 0;
    z-index: 99999;
    /* Make sure the popup is above other content */
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    
}

.range_buttons button {
    background-color: rgb(34, 128, 223);
    color: white;
    padding: 5px;
    border: none;
    cursor: pointer;
    gap: 5px;
    border-radius: 8px;
}
.update_range_buttons button {
    background-color: rgb(34, 128, 223);
    color: white;
    padding: 5px;
    border: none;
    cursor: pointer;
    gap: 5px;
    border-radius: 8px;
}

.calendar {
    margin-top: 10px;   /* Space between the buttons and calendar */
    /* z-index: 9999 !important;  */
    /* Ensure it's above the modal content */
}

#start_date_popup {
    height: 35px;
    width: 100%;
    padding: 6px;
    font-size: 14px;
}

#update_start_date_popup {
    height: 35px;
    width: 350px;
    padding: 6px;
    font-size: 14px;
}