.datepicker-container {
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.datepicker-title {
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
}

.datepicker-nav-btn {
    background: var(--grey-extra-light);
    border: none;
    border-radius: 0;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: var(--text);
}

.datepicker-nav-btn:hover { 
    background: var(--grey-light); 
}

.datepicker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
    margin-bottom: 12px;
}

.datepicker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    flex: 1;
}

.datepicker-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 50%;
    user-select: none;
    color: var(--text);
  padding-top: 3px;
}

.datepicker-day.empty { 
    cursor: default; 
}

.datepicker-day.unavailable-date {
    color: var(--plshldr-color);
    cursor: not-allowed;
}

.datepicker-day.available-date {
    background: var(--grey-extra-light); 
    color: var(--red);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
}

.datepicker-day.available-date:hover {
    background: var(--red);
    color: #fff;
}



.datepicker-day.selected {
    background: var(--btn-bg) !important;
    color: #fff !important;
    border-radius: 50% !important;
}

.datepicker-day.selected::after { 
    background: #fff; 
}

@media (max-width: 768px) {
    .datepicker-container {
        height: auto;
        aspect-ratio: auto;
    }
}