/* Session Warning Banner */
.session-warning {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    z-index: 5000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none;
    animation: slideDown 0.3s ease-out;
}

.session-warning.show {
    display: block;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.session-warning-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.session-warning-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.session-warning-timer {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    min-width: 60px;
}

.session-warning-button {
    padding: 8px 20px;
    background: white;
    color: #ff6b6b;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.session-warning-button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Add padding to body when warning is shown */
body.warning-active {
    padding-top: 80px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .session-warning-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .session-warning-text {
        font-size: 14px;
    }
    
    .session-warning-timer {
        font-size: 20px;
    }
    
    body.warning-active {
        padding-top: 120px;
    }
}
