/* ── Empty-State Screens ───────────────────────────────────
 * Guided onboarding cards shown when a tab has no data yet.
 * Dark-theme, mobile-first, consistent with ReefMind UI.
 * ───────────────────────────────────────────────────────── */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 400px;
  margin: 48px auto;
  padding: 32px 24px;
  background: rgba(14, 20, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-sizing: border-box;
}

/* ── Icon / Emoji Header ─────────────────────────────────── */
.empty-state__icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
}

/* ── Title ────────────────────────────────────────────────── */
.empty-state__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 8px;
}

/* ── Body text ────────────────────────────────────────────── */
.empty-state__text {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0 0 16px;
  line-height: 1.5;
}

.empty-state__text--subtle {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 12px;
}

/* ── CTA Button (teal gradient) ──────────────────────────── */
.empty-state__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #00d4aa, #4da6ff);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 212, 170, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.empty-state__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 212, 170, 0.45);
}

/* ── Secondary link ──────────────────────────────────────── */
.empty-state__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #00d4aa;
  text-decoration: none;
}

.empty-state__link:hover {
  text-decoration: underline;
}

/* ── Ordered steps (camera tab) ──────────────────────────── */
.empty-state__steps {
  text-align: left;
  padding-left: 20px;
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
  width: 100%;
  box-sizing: border-box;
}

/* ── Benefit list (corals tab) ───────────────────────────── */
.empty-state__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.empty-state__benefits li::before {
  content: '✓ ';
  color: #00d4aa;
}

/* ── Progress bar (trends tab) ───────────────────────────── */
.empty-state__progress {
  width: 100%;
  margin-bottom: 8px;
  box-sizing: border-box;
}

.empty-state__progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.empty-state__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d4aa, #4da6ff);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.empty-state__progress-label {
  font-size: 0.8rem;
  color: #64748b;
}

/* ── Dashboard preview (tank tab) ────────────────────────── */
.empty-state__preview {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-sizing: border-box;
}

.empty-state__preview-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
}

.empty-state__preview-label {
  color: #94a3b8;
}

.empty-state__preview-value {
  color: #f8fafc;
  font-weight: 600;
}

.empty-state__preview-value--placeholder {
  opacity: 0.45;
}

/* ── Mobile responsive ───────────────────────────────────── */
@media (max-width: 375px) {
  .empty-state {
    margin: 24px 16px;
    padding: 24px 16px;
    max-width: 100%;
  }
}
