


/* Container */
#datepicker-dialog {
    background: var( --bs-card-bg);
    border: 5px solid #1E68AB;
    border-radius: .375rem;
    padding: 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 315px;
    position: absolute;
    z-index: 1000;
    top: 100%;
    left:0;
}

/* Header */
.datepicker-header, .datepicker-footer {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    grid-template-rows: 1fr;
    gap: 2px;
    justify-content: space-between;
    align-items: center;
    background-color: #1E68AB;
    color: #fff;
    font-family: "Euro Caps";
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: .5rem 0.25rem;
    text-align: center;
}

    .datepicker-header button, .datepicker-footer button {
        background: #B0BAC2;
        border: none;
        border-radius: .15rem;
        color: #191A1A;
        padding: 0.5rem;
        cursor: pointer;
        font-family: var(--bs-body-fond-family);
        font-size: 1.2rem;
        font-weight: bold;
        line-height: 1.2rem;
    }

        .datepicker-header button:focus, .datepicker-close:focus {
            outline: 2px solid #f2be1b;
            outline-offset: 2px;
        }


/* Grid */
.datepicker-grid [role="row"] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 1fr;
    gap: 1px;
    margin-top: 1px;
    border-radius: .15rem;
}

.datepicker-grid [role="gridcell"] {
    padding: 0.5rem;
    text-align: center;
    min-width: 39.8px;
    border-radius: .15rem;
}

.datepicker-grid button[role="gridcell"] {
    /*width: 100%;*/
    background: rgba(255, 255, 255, .75);
    border: none;
    border-radius: .15rem;
    cursor: pointer;
}

    .datepicker-grid button[role="gridcell"]:hover,
    .datepicker-grid button[role="gridcell"]:focus {
        background: #005fcc;
        color: #fff;
        outline: none;
    }

    /* Selected date */
    .datepicker-grid [aria-selected="true"] {
        background: #005fcc;
        color: #fff;
        border: 2px solid #003f99;
    }

    /* Today */
.datepicker-grid button[role="gridcell"][aria-current="date"] {
    border: 2px solid #f90;
}

    /* Empty cells */
.datepicker-grid [role="gridcell"].empty {
    background: transparent;
    border: none;
}

.datepicker-footer {
    display: flex;
    justify-content: center;
}

/* Close button */
.datepicker-close {
    justify-self: center;
}
