/* ========================================
   ACCESS STATUS BAR STYLES - HEADER INTEGRATED
   ======================================== */

.access-status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto 1.5rem auto;
    animation: fadeIn 0.4s ease;
    transition: all 0.25s ease;
}

.access-status-bar.hidden {
    display: none;
}

.status-bar-content {
    /* Darker semi-transparent background to improve text contrast */
    background: rgba(10, 12, 15, 0.7);
    border: 1.5px solid rgba(76, 175, 80, 0.95);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.access-status-bar.expired .status-bar-content {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.95), rgba(198, 40, 40, 0.95));
    border-color: #f44336;
    box-shadow: 0 8px 32px rgba(244, 67, 54, 0.4);
}

.status-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: none; /* Hide text, only show timer */
}

.status-timer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timer-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.timer-value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: #e8ffea; /* slight greenish-white for readability */
    /* subtle dark shadow for contrast rather than a bright glow */
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    min-width: 55px;
    text-align: center;
}

.status-close {
    display: none; /* Hide close button in header */
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes pulseStatus {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .access-status-bar {
        margin: 0.8rem auto 1.2rem auto;
    }

    .status-bar-content {
        padding: 0.55rem 1rem;
        gap: 0.6rem;
    }

    .status-icon {
        font-size: 1.1rem;
    }

    .timer-label {
        font-size: 0.7rem;
    }

    .timer-value {
        font-size: 1rem;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .status-bar-content {
        padding: 0.8rem;
    }

    .status-text {
        font-size: 0.9rem;
    }

    .status-icon {
        font-size: 1.3rem;
    }

    .timer-value {
        font-size: 1.1rem;
    }
}
