/* Extracted from index.css L1693-L1817: Loading, status badges, alert banner, cloud status */

/* ===== LOADING ===== */
.loading { 
  text-align: center; 
  padding: 3rem; 
  color: var(--text-muted);
  font-size: 0.95rem;
}
.loading::before {
  content: '◌';
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.empty-state { text-align: center; padding: 3rem; }
.empty-state h3 { color: var(--text-primary); margin-bottom: 0.75rem; }
.empty-state p { color: var(--text-secondary); }

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-pending { background: var(--accent-red-dim); color: var(--accent-red); }
.status-partial { background: var(--accent-yellow-dim); color: var(--accent-yellow); }
.status-reimbursed { background: var(--accent-green-dim); color: var(--accent-green); }

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 1.25rem;
  backdrop-filter: blur(20px);
}
.loading-overlay.show { display: flex; }
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--border);
  border-top-color: var(--accent-green);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  box-shadow: 0 0 15px var(--accent-green-glow);
}
.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ALERT BANNER ===== */
.alert-banner {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-elevated);
  display: none;
  align-items: center;
  gap: 0.85rem;
  z-index: 8888;
  min-width: 280px;
  animation: alertSlide 0.4s var(--transition-spring) both;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
}
.alert-banner.show { display: flex; }
.alert-banner.success { border-left: 3px solid var(--accent-green); }
.alert-banner.warning { border-left: 3px solid var(--accent-yellow); }
.alert-banner.error { border-left: 3px solid var(--accent-red); }
.alert-icon { font-size: 1.25rem; }
.alert-content { flex: 1; }
.alert-title { font-weight: 700; font-size: 0.85rem; color: var(--text-primary); }
.alert-message { font-size: 0.75rem; color: var(--text-secondary); margin-top: 0.15rem; }
@keyframes alertSlide {
  from { transform: translateX(120%) scale(0.9); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ===== CLOUD STATUS ===== */
.cloud-status {
  margin-top: 0.5rem;
  padding: 0.4rem 0.65rem;
  background: var(--accent-green-dim);
  border-radius: 8px;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.cloud-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent-green); }
  50% { opacity: 0.5; box-shadow: 0 0 3px var(--accent-green); }
}

