/* New Calendar Styles - Clean Design */
.custom-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    min-width: 350px;
    width: 100%;
}

.custom-calendar.show {
    display: block;
    animation: calendarSlideDown 0.3s ease;
}

@keyframes calendarSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-header {
    background: white;
    color: #1f2937;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.calendar-selectors {
    display: flex;
    gap: 5px;
    align-items: center;
}

.custom-calendar .calendar-header .calendar-selectors select.month-selector,
.custom-calendar .calendar-header .calendar-selectors select.year-selector {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border: 2px solid #333333 !important;
    padding: 6px 20px 6px 8px !important;
    height: 32px !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
}

.custom-calendar .calendar-header .calendar-selectors select.month-selector {
    width: 100px !important;
}

.custom-calendar .calendar-header .calendar-selectors select.year-selector {
    width: 70px !important;
}

.calendar-nav {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #f3f4f6;
    color: #374151;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    background: white;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.calendar-day-header {
    background: #f9fafb;
    padding: 8px 4px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-bottom: 1px solid #f3f4f6;
    min-width: 0;
    flex: 1;
}

.calendar-day {
    background: white;
    padding: 0;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #374151;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    min-height: 40px;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    min-width: 0;
    flex: 1;
}

.calendar-day:hover {
    background: #f3f4f6;
    color: #1f2937;
    font-weight: 500;
}

.calendar-day.selected {
    background: #c9a96e;
    color: white;
    font-weight: 500;
    border-radius: 6px;
}

.calendar-day.other-month {
    color: #d1d5db;
    opacity: 1;
}

.calendar-day.today {
    background: #f3f4f6;
    font-weight: 600;
    color: #c9a96e;
    border-radius: 6px;
}
