/* Phase 6 split from frontend/static/app.css */
/* Section: upload_resilience */

/* ---------- Upload Resilience ---------- */
.btn-danger {
    background: #ef4444;
    color: #fff;
    border: 1px solid #dc2626;
}
.btn-danger:hover {
    background: #dc2626;
}
.btn-sm {
    padding: 4px 12px;
    font-size: 0.8rem;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Validation warnings */
.upload-validation-warnings,
#upload-validation-warnings {
    margin: 8px 0;
}
.validation-warning {
    padding: 6px 12px;
    margin: 4px 0;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 6px;
    color: #f59e0b;
    font-size: 0.85rem;
}

/* Offline mode indicator */
.offline-mode::after {
    content: '⚠️ OFFLINE - No internet connection';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #dc2626, #ef4444);
    color: #fff;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10000;
    letter-spacing: 1px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
