
:root {
    /* Default sizes */
    --datepicker-font-size: 12px;
    --datepicker-container-width: 998px;
    --datepicker-year-width: 32px;
    --datepicker-day-month-width: 16px;
    --datepicker-total-width: 100px;
    --datepicker-container-height: auto;
}

/* Theme-based overrides */
body.body-theme2 {
    --datepicker-font-size: 10px;
    --datepicker-container-width: 65px;
    --datepicker-year-width: 26px;
    --datepicker-day-month-width: 11px;
    --datepicker-total-width: 85px;
    --datepicker-container-height: 16px;
}

body.body-theme3 {
    --datepicker-font-size: 11px;
    --datepicker-container-width: 75px;
    --datepicker-year-width: 28px;
    --datepicker-day-month-width: 13px;
    --datepicker-total-width: 90px;
    --datepicker-container-height: auto;
}

body.body-theme5 {
    --datepicker-font-size: 16px;
    --datepicker-container-width: 100px;
    --datepicker-year-width: 35px;
    --datepicker-day-month-width: 18px;
    --datepicker-total-width: 110px;
    --datepicker-container-height: auto;
}

/* Base datepicker styles */
.custom-datepicker {
    display: flex;
    width: var(--datepicker-total-width);
}

.custom-datepicker input {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    font-size: var(--datepicker-font-size) !important;
    height: var(--datepicker-container-height);
    line-height: var(--datepicker-container-height);
}

.custom-datepicker .custom-datepicker-dateField {
    border: none;
    outline: none;
    background-color: transparent;
    text-align: center;
    padding: 0;
    margin: 0;
}

.custom-datepicker .date-separator {
    margin: 0 1px;
}

.custom-datepicker .year-dropdown, 
.custom-datepicker .month-dropdown {
    width: 100px;
}

.custom-datepicker .custom-datepicker-month, 
.custom-datepicker .custom-datepicker-day {
    width: var(--datepicker-day-month-width);
}

.custom-datepicker .custom-datepicker-year {
    width: var(--datepicker-year-width) !important;
}

.custom-datepicker .custom-datepicker-container {
    display: flex;
    justify-content: center;
    border: 1px solid #cccccc !important;
    width: var(--datepicker-container-width);
    height: var(--datepicker-container-height);
    border-radius: 3px;
    line-height: 1.5em;
    box-sizing: border-box;
    color: #3a3a3a;
    font-size: var(--datepicker-font-size);
    background: white;
    align-items: baseline;
}

.custom-datepicker .calendar-icon {
    cursor: pointer;
}

.appt-dtClosedWoClaim .custom-datepicker {
    float: left;
}