/**
 * CustomCalendar 스타일시트
 * 날짜 선택 캘린더의 스타일 정의
 */

/* 직접 구현한 캘린더 스타일 */
.custom-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 320px;
    overflow: hidden;
}

.custom-calendar.hidden {
    display: none;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-month-year {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.calendar-nav {
    display: flex;
    gap: 8px;
}

.calendar-nav button {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #6b7280;
}

.calendar-nav button:hover {
    background: #1a1a1a;
    color: white;
}

.calendar-grid {
    padding: 12px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 4px;
}

.calendar-weekday.weekend {
    color: #ef4444;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: #f3f4f6;
}

.calendar-day.selected {
    background: #007bff !important;
    color: white !important;
    font-weight: 600;
    border-color: #007bff !important;
}

.calendar-day.today {
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
    font-weight: 600;
}

.calendar-day.today.selected {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.calendar-day.weekend {
    color: #ef4444;
}

.calendar-day.weekend.selected {
    color: white;
    background: #007bff;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    background: #f9fafb;
}

.calendar-day.past {
    color: #9ca3af;
    cursor: not-allowed;
}

.calendar-day.min-date {
    color: #1a1a1a;
    cursor: pointer;
}

