/* Development Mode Indicators */
.dev-mode {
    /* Add subtle visual indicator for development mode */
}

#cache-status {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid #ff5252;
    animation: pulse 2s infinite;
}

#cache-status::before {
    content: '🔄 ';
    margin-right: 4px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Development mode warning banner */
.dev-mode .navbar::after {
    content: 'DEVELOPMENT MODE - Cache cleared every 30s';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    color: white;
    text-align: center;
    padding: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1001;
    animation: slideIn 0.5s ease-out;
}

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

/* Cache clearing animation */
.cache-clearing {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Version mismatch warning */
.version-mismatch {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff4757;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-out;
}

.version-mismatch h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.version-mismatch p {
    margin: 0 0 15px 0;
    opacity: 0.9;
}

.version-mismatch button {
    background: #fff;
    color: #ff4757;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
