﻿/* Date picker Style*/
/* Base styles (for desktop/web) */
.datepicker-days {
    border: none !important;
    border-radius: 16px;
    padding: 32px 32px 24px;
}

.datepicker .datepicker-switch,
.datepicker tfoot tr th {
    cursor: pointer;
    border: 1px solid rgba(82, 108, 130, .2);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 400;
    height: 40px;
    line-height: 24px;
    padding: 8px 16px;
    transition: .2s;
    width: auto;
}

.datepicker-dropdown.dropdown-menu {
    box-shadow: rgba(33, 14, 86, 0.07) 0px 7px 40px !important;
    border: none !important;
}

.dropdown-menu {
    padding: 0px;
    overflow: hidden;
    box-shadow: rgba(33, 14, 86, 0.07) 0px 7px 40px;
    border: none !important;
}

.datepicker td,
.datepicker th {
    font-size: 12px;
    padding: 6px;
    align-items: center;
    border-radius: 12px;
    height: 38px;
    justify-content: center;
    text-align: center;
    width: 48px;
    border: none !important;
}

.datepicker table tr td.active,
.datepicker table tr td span.active {
    background-image: linear-gradient(to bottom, #912427, #590b25) !important;
}

.datepicker table tr td span:hover,
.datepicker table td:hover,
.datepicker table th:hover {
    background: #fff !important;
    color: #590b25 !important;
    box-shadow: 0 0 0 3px rgba(89, 11, 37, 0.15) !important;
}

.datepicker .datepicker-switch {
    width: 145px;
}

@media (max-width: 576px) {
    .datepicker-days {
        padding: 16px 16px 12px !important;
        border-radius: 12px;
    }

    .datepicker .datepicker-switch,
    .datepicker tfoot tr th {
        font-size: 14px !important;
        height: 32px !important;
        line-height: 20px !important;
        padding: 6px 12px !important;
        border-radius: 8px !important;
    }

    .datepicker td,
    .datepicker th {
        font-size: 11px !important;
        height: 32px !important;
        width: 36px !important;
        padding: 4px !important;
        border-radius: 8px !important;
    }

    .datepicker .datepicker-switch {
        width: 110px !important;
    }
}
