/* ============================================================
   PlexRaft — Evaporation Risk Alerts & Offline Popups
   ============================================================ */

/* ---- Evaporation Risk Gradient Indicator ---- */
.risk-bar-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  margin-bottom: -6px;
}

.risk-gradient {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #10B981 0%, #F59E0B 50%, #EF4444 100%);
  position: relative;
  margin-bottom: 4px;
}

.risk-indicator {
  position: absolute;
  top: 6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #fff;
  transition: left 0.5s ease;
}

.risk-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
  margin-top: 8px;
}

/* ---- Offline Status Popup Card ---- */
.offline-popup-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin: 16px auto;
  max-width: 280px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.offline-popup-icon {
  margin-bottom: 12px;
  opacity: 0.8;
}

.offline-popup-title {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

.offline-popup-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}
