/* InnovaDatePicker.css */

.inn-date-input {
    vertical-align: middle;
}

.inn-date-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-left: 4px;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background: #FFFFFF;
    color: #666666;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    vertical-align: middle;
}

.inn-date-btn i {
    display: block;
    font-size: 12px;
    line-height: 1;
    pointer-events: none;
}

.inn-date-btn:hover {
    border-color: #444444;
    background: #EFF8FF;
    color: #222222;
}

.inn-date-btn:focus {
    outline: 2px solid rgba(38, 51, 112, 0.22);
    outline-offset: 1px;
}

.inn-date-btn.is-disabled {
    display: none;
}

.inn-date-picker {
    position: absolute;
    z-index: 999999;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #CAD3DE;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    font-family: "Titillium Web", Arial, sans-serif;
    color: #1F2937;
    user-select: none;
}

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

.inn-date-title {
    font-weight: 600;
    font-size: 14px;
    color: #263370;
}

.inn-date-nav {
    width: 26px;
    height: 28px;
    border: 1px solid #E0E6EE;
    border-radius: 5px;
    background: #F8FAFC;
    color: #263370;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.inn-date-nav:hover {
    background: #EEF2F7;
    border-color: #B8C2CC;
}

.inn-date-nav-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.inn-date-nav-year {
    font-size: 16px;
}

.inn-date-weekdays,
.inn-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.inn-date-weekdays {
    margin-bottom: 4px;
}

.inn-date-weekdays span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
}

.inn-date-day {
    height: 29px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #FFFFFF;
    color: #1F2937;
    font-size: 13px;
    cursor: pointer;
}

.inn-date-day:hover {
    background: #EDF6F1;
    border-color: #309966;
}

.inn-date-day.is-muted {
    color: #A0AEC0;
}

.inn-date-day.is-today {
    border-color: #309966;
    font-weight: 700;
}

    .inn-date-day.is-busy {
        font-weight: 800;
    }

/*        .inn-date-day.is-busy:not(.is-selected)::after {
            content: "";
            display: block;
            width: 4px;
            height: 4px;
            margin: -2px auto 0 auto;
            border-radius: 50%;
            background: #0071C0;
        }*/

.inn-date-day.is-selected {
    background: #263370;
    border-color: #263370;
    color: #FFFFFF;
    font-weight: 700;
}

.inn-date-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid #EEF2F7;
}

.inn-date-footer-btn {
    border: 1px solid #D5DEE8;
    border-radius: 5px;
    background: #FFFFFF;
    color: #263370;
    font-size: 12px;
    padding: 4px 8px;
    cursor: pointer;
}

.inn-date-footer-btn:hover {
    background: #F4F7FA;
    border-color: #B8C2CC;
}

/* ==========================================================
   Innova Time Picker
========================================================== */

.inn-time-wrap {
    position: relative;
    display: inline-block;
    height: 30px;
    line-height: 0;
    vertical-align: middle;
    box-sizing: border-box;
}

.inn-time-input {
    display: block;
    width: 100%;
    height: 30px;
    min-height: 30px;
    box-sizing: border-box;
    padding: 0 26px 0 8px;
    border: 1px solid #D5E1EA;
    border-radius: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    color: #1F2937;
    font-family: "Titillium Web", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
    letter-spacing: .03em;
    font-variant-numeric: tabular-nums;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}

    .inn-time-input:hover {
        border-color: #9FC8E4;
        background: #FAFCFE;
        color: #0071C0;
    }

    .inn-time-input:focus {
        border-color: #7CB7E6;
        color: #0071C0;
        box-shadow: 0 0 0 3px rgba(0, 113, 192, .12);
    }

    .inn-time-input.is-invalid {
        border-color: #E30613 !important;
        color: #B91C1C;
        background: #FFF5F5;
        box-shadow: 0 0 0 3px rgba(227, 6, 19, .10);
    }

    .inn-time-input:disabled,
    .inn-time-input[readonly] {
        opacity: .65;
        cursor: not-allowed;
    }

.inn-time-btn {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 26px;
    height: 28px;
    min-width: 26px;
    padding: 0;
    box-sizing: border-box;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: transparent;
    color: #666666;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

    .inn-time-btn:hover {
        background: #EAF4FB;
    }

    .inn-time-btn:focus {
        outline: none;
    }

    .inn-time-btn i {
        display: block;
        font-size: 12px;
        line-height: 1;
        pointer-events: none;
    }

.inn-time-picker {
    position: absolute;
    z-index: 999999;
    width: 214px;
    max-height: 336px;
    box-sizing: border-box;
    padding: 10px;
    border: 1px solid #CAD3DE;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .20), 0 4px 10px rgba(15, 23, 42, .10);
    font-family: "Titillium Web", Arial, sans-serif;
    color: #1F2937;
    user-select: none;
}

.inn-time-picker-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: start;
}

.inn-time-picker-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #263370;
    font-size: 13px;
    font-weight: 800;
}

.inn-time-picker-step {
    min-width: 42px;
    height: 14px;
    color: transparent;
    font-size: 11px;
    font-weight: 700;
}

.inn-time-hours,
.inn-time-minutes {
    height: 236px;
    max-height: 236px;
    overflow-y: auto;
    padding: 3px;
    box-sizing: border-box;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    background: #F8FAFC;
}

.inn-time-hours,
.inn-time-minutes {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .inn-time-hours::-webkit-scrollbar,
    .inn-time-minutes::-webkit-scrollbar {
        width: 8px;
    }

    .inn-time-hours::-webkit-scrollbar-track,
    .inn-time-minutes::-webkit-scrollbar-track {
        background: transparent;
    }

    .inn-time-hours::-webkit-scrollbar-thumb,
    .inn-time-minutes::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 999px;
        background: rgba(100, 116, 139, .38);
        background-clip: content-box;
    }

.inn-time-hour,
.inn-time-minute {
    width: 100%;
    height: 30px;
    min-height: 30px;
    box-sizing: border-box;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #1F2937;
    font-family: "Titillium Web", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
    transition: background-color .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}

    .inn-time-hour:hover,
    .inn-time-minute:hover {
        border-color: #9FC8E4;
        background: #EAF4FB;
        color: #0071C0;
    }

    .inn-time-hour.is-selected,
    .inn-time-minute.is-selected {
        border-color: #263370;
        background: #263370;
        color: #FFFFFF;
        box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
    }
