/**
 * SCHEDULE BLOCKER - FRONTEND OVERLAY STYLES
 * 
 * Styles for the blocking overlay that appears when access is denied
 */

/* Blocking Container */
.day-time-blocker {
    position: relative;
    display: none; /* Hidden by default */
    height:100%;
}

.day-time-blocker.active {
    display: block;
    height:100%;
}

/* Overlay */
.blocker-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(3px);
    z-index: 9998;
    border-radius: 4px;
}

/* Content */
.blocker-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    text-align: center;
    width: 100%;
    height:100%;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0e0e0;
}

/* Message */
.blocker-message {
    margin-bottom: 25px;
}

.blocker-message h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    color: #333;
}

.blocker-message p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Schedule Display */
.blocker-schedule {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.blocker-schedule > p {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #666;
}

.blocker-schedule > p strong {
    color: #333;
}

/* Schedule List */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.schedule-list li {
    padding: 8px 12px;
    margin-bottom: 6px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-list li:last-child {
    margin-bottom: 0;
}

.schedule-list .day-label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

.schedule-list .time-range {
    color: #2271b1;
    font-weight: 500;
}

/* No Schedule Message */
.no-schedule {
    text-align: center;
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Alternative: Smaller Blocker Style (if needed) */
.day-time-blocker.compact .blocker-content {
    max-width: 400px;
    padding: 30px;
}

.day-time-blocker.compact .blocker-message h3 {
    font-size: 18px;
}

.day-time-blocker.compact .blocker-message p {
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .blocker-content {
        width: 95%;
        padding: 30px 20px;
    }
    
    .blocker-message h3 {
        font-size: 20px;
    }
    
    .blocker-message p {
        font-size: 14px;
    }
    
    .schedule-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .schedule-list .day-label {
        min-width: auto;
    }
}

/* Print: Hide blocker when printing */
@media print {
    .day-time-blocker {
        display: none !important;
    }
}