/* Date Range Picker Styles */
.date-range-picker-wrapper {
    position: relative;
    display: inline-block;
}

.date-range-picker-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.date-range-picker-button:hover {
    border-color: #2563eb;
    background: #f9fafb;
}

.date-range-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 600px;
    padding: 16px;
}

.date-range-picker-header {
    margin-bottom: 16px;
}

.quick-select-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-select-btn {
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #374151;
    transition: all 0.2s;
}

.quick-select-btn:hover {
    background: #f3f4f6;
    border-color: #2563eb;
    color: #2563eb;
}

.date-range-picker-calendars {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.calendar-container {
    flex: 1;
}

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

.calendar-month-year {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.calendar-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.calendar-nav-btn:hover {
    color: #2563eb;
}

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

.calendar-weekdays > div {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    padding: 4px;
}

.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;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    border-radius: 4px;
    transition: all 0.2s;
    position: relative;
}

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

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

.calendar-day.today {
    font-weight: 600;
    color: #2563eb;
}

.calendar-day.today:not(.in-range):not(.start-date):not(.end-date) {
    border: 1px solid #2563eb;
}

.calendar-day.in-range {
    background: #dbeafe;
    color: #1e40af;
}

.calendar-day.start-date,
.calendar-day.end-date {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

.calendar-day.start-date {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.calendar-day.end-date {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.calendar-day.disabled {
    color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.5;
}

.date-range-picker-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .date-range-picker-dropdown {
        min-width: 320px;
    }
    
    .date-range-picker-calendars {
        flex-direction: column;
    }
}

