.en-datepicker {
    position: absolute;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 6px;
    width: 280px;
    z-index: 998;
    font-weight: normal;
}

.en-datepicker,
.en-datepicker * {
    box-sizing: border-box;
}

.en-datepicker-bordered {
    border-color: rgb(102, 175, 233);
}

.en-datepicker.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.en-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.en-datepicker-header button {
    background-color: #ffffff;
    border: none;
    padding: 8px 12px;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    text-align: center;
}

.en-datepicker-header button:hover:enabled {
    background-color: #eee;
}

.en-datepicker-header button:disabled span {
    opacity: 0.3;
}

.en-datepicker-header .leftArrow,
.en-datepicker-header .rightArrow {
    display: inline-block;
    width: 8px;
    height: 16px;
    vertical-align: middle;
}

.en-datepicker-header .leftArrow img,
.en-datepicker-header .rightArrow img{
    height: 80%;
    display: block;
}

.en-datepicker-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

.en-datepicker-table th {
    padding: 6px 0;
    background-color: #f5f5f5;
    color: #555;
    font-weight: 500;
    border-radius: 5px;
    text-align: center;
    width: 40px;
}

.en-datepicker-table td {
    padding: 7px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    color: darkslategray;
    margin-right: 2px;
    font-size: 14px;
}

.en-datepicker-table td.en-datepicker-prev-month-day,
.en-datepicker-table td.en-datepicker-next-month-day {
    color: #9f9f9f;
}

.en-datepicker-table td:hover:not(.disabled) {
    background-color: #eee;
}

.en-datepicker-table td.selected {
    background-color: #1573bd;
    color: white;
    font-weight: bold;
}

.en-datepicker-table td.selected:hover {
    background-color: #1573bd;
    filter: brightness(1.3);
}

.en-datepicker-table td.disabled {
    color: #ccc !important;
    cursor: not-allowed;
}

.en-dropdown-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.en-dropdown-selected {
    padding: 6px 20px 6px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #555;
    font-size: 12px;
    text-align: center;
    position: relative;
    min-width: 90px;
}

.en-dropdown-selected .dropdown-arrow {
    position: absolute;
    right: 5px;
    top: calc(50% - 3px);
    transform: translateY(-50%) rotate(-90deg);
    color: #555;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("https://static.educationalnetworks.net/arrows/arrow-03-rounded-solid-left.svg");
}

.en-dropdown-list {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.en-dropdown-list.open {
    display: block;
    position: absolute;
}

.en-dropdown-list li {
    padding: 6px;
    background-color: white;
    color: #555;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.en-dropdown-list li:hover {
    background-color: #ddd;
}

.en-dropdown-list li.selected {
    background-color: #1573bd;
    color: white;
}

.en-dropdown-list li.selected:hover {
    background-color: #1573bd;
    filter: brightness(1.3);
}

.en-dropdown-list li.disabled {
    color: #ccc !important;
    cursor: not-allowed;
}

/*Highlight date input if it is changed by another date picker*/
.en-date-picker-highlight {
    background-color: #ffd7d6 !important;
    transition: background-color 0.5s ease-out;
}

.en-datepicker-input-active {
    border-color: #66afe9 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: #ebeef2!important;
}