.date-picker {
    position: relative;
    width: 100%;
}

.date-picker-icon {
    cursor: pointer;
    pointer-events: auto;
}

.date-picker-calendar {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 5px);
    left: 0;
    width: 330px;
    max-width: calc(100vw - 20px);
    padding: 12px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .date-picker-calendar {
        left: 50%;
        transform: translateX(-50%);
        width: 330px;
        max-width: calc(100vw - 20px);
    }
}

/*
 * Header
 */

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

.date-picker-selectors {
    display: flex;
    align-items: center;
    gap: 5px;
}


/*
 * Weekdagen
 */

.date-picker-weekdays,
.date-picker-days {
    display: grid;
    grid-template-columns:
        repeat(7, 1fr);
}

.date-picker-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 0;
    color: #666666;
}


/*
 * Dagen
 */

.date-picker-day {
    width: 100%;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

.date-picker-day:hover:not(:disabled) {
    background: #f0f0f0;
}


/*
 * Dagen uit vorige/volgende maand.
 */

.date-picker-day.is-other-month {
    color: #bbbbbb;
}


/*
 * Vandaag.
 */

.date-picker-day.is-today {
    font-weight: bold;
    box-shadow: inset 0 0 0 1px #3273dc;
}


/*
 * Geselecteerde datum.
 */

.date-picker-day.is-selected {
    background: #3273dc;
    color: #ffffff;
}


/*
 * Uitgeschakelde datum.
 */

.date-picker-day.is-disabled {
    color: #cccccc;
    cursor: not-allowed;
}


/*
 * Footer
 */

.date-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eeeeee;
}

.date-picker-calendar .date-picker-day {
    color: #363636;
}

.date-picker-calendar .date-picker-day:hover:not(:disabled) {
    color: #363636;
}

.date-picker-calendar .date-picker-day.is-selected {
    color: #ffffff;
}

.date-picker-calendar .date-picker-day.is-disabled {
    color: #cccccc;
}

.date-picker-icon {
    cursor: pointer;
}

.date-picker-icon i {
    color: #f14668;
    transition: all 0.15s ease;
}

.date-picker-icon:hover i {
    color: #d93655;
    transform: scale(1.1);
}

