/* Content Calendar — global CSS (not scoped per CLAUDE.md: Syncfusion renders outside component scope) */

/* Event card rendered inside SfSchedule cells */
.cal-event-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #ffffff;
    overflow: hidden;
    height: 100%;
    gap: 4px;
}

.cal-event-card i {
    margin-right: 4px;
    flex-shrink: 0;
    font-size: 11px;
}

.cal-caption {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.cal-type-badge {
    font-size: 10px;
    opacity: 0.85;
    margin-left: 4px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    padding: 0 3px;
}

/* Calendar navigation bar (D-07) */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    margin-bottom: 8px;
}

.calendar-nav button {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
}

.calendar-nav button:hover {
    background: #f3f4f6;
}

.calendar-nav .week-range {
    font-weight: 600;
    font-size: 16px;
}

/* Status filter bar (D-08) */
.calendar-filter-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-filter-bar button {
    background: #f3f4f6;
    border: none;
    border-radius: 16px;
    padding: 4px 14px;
    font-size: 13px;
    cursor: pointer;
}

.calendar-filter-bar button.active {
    background: #3b82f6;
    color: white;
}

.calendar-filter-bar button:hover:not(.active) {
    background: #e5e7eb;
}

/* Gap detection: amber tint on days with no content (D-04) */
.e-schedule .gap-day {
    background-color: rgba(255, 191, 0, 0.15);
}

.gap-icon {
    color: #f0a500;
    font-size: 10px;
    margin-left: 4px;
    cursor: help;
}

/* Day header layout */
.day-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

/* Calendar section card wrapper */
.calendar-card {
    margin-bottom: 24px;
}

.content-calendar-wrapper {
    width: 100%;
    overflow-x: auto;
}
