/* ---------------------- CompactDatepicker Modern CSS ---------------------- */
.vs-datepicker {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    z-index: 9999;
    width: 240px;
    max-width: 95vw;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vs-datepicker .header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.vs-datepicker .month-arrow {
    font-weight: bold;
    padding: 2px 6px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f5f5f5;
    transition: background 0.2s;
}
.vs-datepicker .month-arrow:hover,
.vs-datepicker .month-arrow:focus {
    background: #4caf50;
    color: #fff;
    outline: none;
}
.vs-datepicker select {
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
}
.vs-datepicker table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.vs-datepicker th, .vs-datepicker td {
    padding: 2px;
}
.vs-datepicker td button {
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.vs-datepicker td button:hover, .vs-datepicker td button:focus {
    background: #4caf50;
    color: #fff;
    outline: none;
}
.vs-datepicker td button.selected {
    background: #2196f3;
    color: #fff;
}
.vs-datepicker .today-btn {
    width: 100%;
    margin-top: 6px;
    padding: 6px 0;
    background: #ff9800;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}
.vs-datepicker .today-btn:hover, .vs-datepicker .today-btn:focus {
    background: #fb8c00;
    outline: none;
}
@media (max-width: 400px) {
    .vs-datepicker {
        width: 95vw;
        font-size: 13px;
    }
    .vs-datepicker td button {
        width: 26px;
        height: 26px;
    }
    .vs-datepicker select {
        font-size: 13px;
        padding: 3px 5px;
    }
}