/* CRITICAL: Holiday styles must load FIRST before Tailwind */
.calendar-day.holiday,
div.calendar-day.holiday,
.calendar-days .calendar-day.holiday,
[data-date].calendar-day.holiday {
    background-color: #fef2f2 !important;
    background: #fef2f2 !important;
    color: #dc2626 !important;
    cursor: not-allowed !important;
    border: 2px solid #fecaca !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 0 1px #fecaca !important;
}

.calendar-day.holiday:hover,
div.calendar-day.holiday:hover {
    background-color: #fee2e2 !important;
    background: #fee2e2 !important;
    transform: none !important;
}

/* Tooltip for holidays */
.calendar-day.holiday[data-tooltip] {
    position: relative;
}

.calendar-day.holiday[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 400;
    white-space: pre-line;
    word-wrap: break-word;
    max-width: 300px;
    min-width: 140px;
    text-align: left;
    line-height: 1.7;
    z-index: 10000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.calendar-day.holiday[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #1f2937;
    z-index: 10000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    pointer-events: none;
}
