/* Schedule Background Visualization Styles */

/* Container for schedule blocks */
.schedule-background-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Individual schedule block */
.schedule-block {
    position: absolute;
    background: rgba(0, 123, 255, 0.05);
    border: 1px dashed rgba(0, 123, 255, 0.2);
    border-radius: 4px;
    width: 100%;
}

/* Dark mode schedule block */
.dark-mode .schedule-block {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Break period within schedule */
.schedule-break {
    position: absolute;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 193, 7, 0.1) 10px,
        rgba(255, 193, 7, 0.1) 20px
    );
    width: 100%;
}

/* Schedule header info */
.schedule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

.dark-mode .schedule-header {
    background: rgba(0, 123, 255, 0.1);
}

.schedule-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schedule-info-label {
    font-weight: 500;
    color: #6c757d;
}

.schedule-info-value {
    font-weight: 600;
    color: #0066cc;
}

/* Schedule compliance indicators */
.schedule-compliance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.compliance-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.compliance-good {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.compliance-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.compliance-alert {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Entry position relative to schedule */
.entry-row {
    position: relative;
    z-index: 2;
}

.entry-outside-schedule {
    background: rgba(255, 193, 7, 0.05);
}

.dark-mode .entry-outside-schedule {
    background: rgba(255, 193, 7, 0.1);
}

/* Schedule timeline visualization */
.schedule-timeline {
    position: relative;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.dark-mode .schedule-timeline {
    background: #1a1a1a;
}

.timeline-schedule {
    position: absolute;
    background: rgba(0, 123, 255, 0.2);
    height: 100%;
    border-left: 2px solid #0066cc;
    border-right: 2px solid #0066cc;
}

.timeline-entries {
    position: absolute;
    top: 15px;
    height: 30px;
}

.timeline-entry {
    position: absolute;
    background: #28a745;
    height: 100%;
    border-radius: 4px;
    min-width: 2px;
}

.timeline-gap {
    position: absolute;
    background: repeating-linear-gradient(
        90deg,
        #dc3545,
        #dc3545 5px,
        transparent 5px,
        transparent 10px
    );
    height: 100%;
    opacity: 0.3;
}

/* Time scale markers */
.timeline-scale {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-hour {
    position: absolute;
    font-size: 0.75rem;
    color: #6c757d;
    transform: translateX(-50%);
    bottom: 2px;
}

/* Gap alert styling */
.gap-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    margin: 10px 0;
}

.dark-mode .gap-alert {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
}

.gap-alert-icon {
    font-size: 1.25rem;
    color: #dc3545;
}

.gap-alert-content {
    flex: 1;
}

.gap-alert-message {
    font-weight: 500;
    margin-bottom: 4px;
}

.gap-alert-details {
    font-size: 0.875rem;
    color: #6c757d;
}

.gap-alert-action {
    margin-left: auto;
}

/* Schedule coverage meter */
.schedule-coverage-meter {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.dark-mode .schedule-coverage-meter {
    background: #1a1a1a;
}

.coverage-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.dark-mode .coverage-bar {
    background: #2a2a2a;
}

.coverage-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    transition: width 0.3s ease;
}

.coverage-percentage {
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 60px;
    text-align: right;
}

/* Overtime indicator */
.overtime-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.overtime-badge i {
    font-size: 0.9rem;
}
EOFCSS < /dev/null
