/* 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-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;
}
