﻿#datePickerModal {
    color: #1F3BB3;
    background-color: #fff;
}

#datePickerInput {
    width: 93%;
    margin-left: 15px;
    border: 1px solid #ccc !important;
    background: white !important;
    padding: 9px !important;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.month-year {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1F3BB3;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-top: 10px;
}

    .calendar-grid .day-cell {
        padding: 8px;
        text-align: center;
        cursor: pointer;
        border-radius: 4px;
        color: #1F3BB3;
        background-color: #fff;
        transition: background-color 0.2s;
    }

.day-cell:hover {
    background-color: #172d88;
    color: #fff;
}

#yearDropdownBtn {
    font-size: 13px;
    font-weight: bold;
    background-color: #e7e7ee;
    color: #1F3BB3;
    transition: background-color 0.2s;
}

#yearDropdownBtn::after {
    content:"";
    border-top: .5em solid;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
}

    #yearDropdownBtn:hover {
        background-color: #172d88;
        color: #fff;
    }

.day-cell.text-muted {
    cursor: default;
    background-color: #fff;
    color: #ccc;
}

.year-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.year-cell {
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    color: #1F3BB3;
    background-color: #fff;
    transition: background-color 0.2s;
    cursor: pointer;
}

    .year-cell:hover {
        background-color: #172d88;
        color: #fff;
    }

#prevMonth:hover, #nextMonth:hover, #prevDecade:hover, #nextDecade:hover {
    background-color: #172d88;
    color: #fff;
}

#prevMonth, #nextMonth, #prevDecade, #nextDecade {
    color: #1F3BB3;
    background-color: #fff;
    transition: background-color 0.2s;
}
/* Done button styles */
#doneButton {
    background-color: #1F3BB3;
    color: #fff;
    width: 100%;
    border: none;
    padding: 12px 0;
    border-radius: 5px;
    /*font-weight: bold;*/
    font-size: 1rem;
    margin-top: 15px;
    cursor: pointer;
}

    #doneButton:hover {
        background-color: #172d88;
    }

.dayName {
    font-weight: 600 !important;
}
