@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --green-900: #0f3d24;
  --green-700: #1a6b3c;
  --green-500: #2d9a5a;
  --green-100: #e8f5ee;
  --amber: #f59e0b;
  --shadow: 0 8px 24px rgba(15, 61, 36, 0.08);
  --radius: 14px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Login */
.login-page {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 40%),
    linear-gradient(145deg, var(--green-900) 0%, var(--green-700) 45%, var(--green-500) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-box {
  width: 100%;
  max-width: 420px;
}

.login-logo a {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.login-card-body {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card-body .form-control {
  border-radius: 10px;
  min-height: 46px;
}

.btn-login {
  border-radius: 10px;
  min-height: 46px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border: none;
}

.btn-login:hover {
  filter: brightness(1.05);
}

/* Sidebar & header */
.main-sidebar {
  background: linear-gradient(180deg, var(--green-900) 0%, #134529 100%) !important;
}

.brand-link {
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

.brand-link--irpom {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem !important;
}

.brand-logo-img {
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.login-logo-img {
  display: block;
  margin: 0 auto 0.75rem;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.login-brand-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}

.login-brand-sub {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.content-wrapper {
  background: #f4f7f5;
}

.main-header {
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.page-hero {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.page-hero p {
  margin: 0.35rem 0 0;
  opacity: 0.9;
  font-size: 0.875rem;
}

.btn-refresh {
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

.btn-refresh:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
}

/* Stat cards */
.stat-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.stat-card .card-body {
  padding: 1.1rem 1.15rem;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  margin: 0.5rem 0 0.15rem;
}

.stat-label {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
}

.stat-green .stat-icon { background: var(--green-100); color: var(--green-700); }
.stat-blue .stat-icon { background: #e0f2fe; color: #0284c7; }
.stat-indigo .stat-icon { background: #e0e7ff; color: #4f46e5; }
.stat-amber .stat-icon { background: #fef3c7; color: #d97706; }
.stat-red .stat-icon { background: #fee2e2; color: #dc2626; }
.stat-teal .stat-icon { background: #ccfbf1; color: #0d9488; }

.stat-card .stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.35rem;
}

.stat-card .stat-label {
  margin-bottom: 0;
}

/* Dashboard */
.page-hero--dashboard {
  padding: 1.35rem 1.5rem;
}

.dash-hero-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.dash-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
  opacity: 0.92;
}

.dash-meta-item i {
  opacity: 0.75;
}

.dash-hero-actions {
  min-width: 140px;
}

.dash-mqtt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.15);
}

.dash-mqtt-badge--on {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.dash-mqtt-badge--on .status-dot {
  background: #86efac;
}

.dash-mqtt-badge--off {
  color: rgba(255,255,255,0.85);
}

.dash-mqtt-badge--off .status-dot {
  background: #fca5a5;
}

.dash-last-update {
  font-size: 0.72rem;
}

.dash-health-bar {
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef2f0;
  margin-bottom: 0.65rem;
}

.dash-health-seg {
  transition: width 0.4s ease;
  min-width: 0;
}

.dash-health-seg--online { background: #2d9a5a; }
.dash-health-seg--offline { background: #ef4444; }
.dash-health-seg--unknown { background: #94a3b8; }

.dash-health-legend,
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}

.legend-dot--online { background: #2d9a5a; }
.legend-dot--offline { background: #ef4444; }
.legend-dot--unknown { background: #94a3b8; }

.dash-section-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
}

.dash-poktan-scroll {
  max-height: 380px;
  overflow-y: auto;
}

.dash-poktan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f0;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}

.dash-poktan-item:hover {
  background: #f8faf9;
  text-decoration: none;
  color: inherit;
}

.dash-poktan-item-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.dash-poktan-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-poktan-item-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.dash-poktan-item-side .status-badge {
  font-size: 0.68rem;
}

.dash-poktan-chevron {
  color: #94a3b8;
  font-size: 0.75rem;
}

.dash-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dash-filter-tab {
  border: 1px solid #dbe3dd;
  background: #fff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dash-filter-tab:hover {
  border-color: var(--green-500);
  color: var(--green-700);
}

.dash-filter-tab.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.dash-live-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  font-variant-numeric: tabular-nums;
}

.dash-lokasi-row.online td:first-child {
  border-left: 3px solid #2d9a5a;
}

.dash-lokasi-row.offline td:first-child {
  border-left: 3px solid #ef4444;
}

.dash-lokasi-row.unknown td:first-child {
  border-left: 3px solid #94a3b8;
}

@media (max-width: 991.98px) {
  .dash-stat-row .stat-value {
    font-size: 1.35rem;
  }

  .dash-poktan-scroll {
    max-height: none;
  }
}

@media (max-width: 767.98px) {
  .dash-hero-actions {
    width: 100%;
    text-align: left !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .dash-last-update {
    width: 100%;
    margin-bottom: 0 !important;
  }
}

/* Cards */
.panel-card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.panel-card .card-header {
  background: #fff;
  border-bottom: 1px solid #eef2f0;
  border-radius: var(--radius) var(--radius) 0 0 !important;
  padding: 0.9rem 1rem;
}

.panel-card .card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-900);
}

#map {
  height: 320px;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1;
}

@media (min-width: 992px) {
  #map { height: 380px; }
}

/* Poktan list */
.poktan-item {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #eef2f0;
}

.poktan-item:last-child { border-bottom: 0; }

.poktan-name {
  font-weight: 600;
  color: #0f172a;
}

.poktan-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.badge-lokasi {
  background: var(--green-100);
  color: var(--green-700);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
}

/* Status */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.status-online { background: #dcfce7; color: #15803d; }
.status-offline { background: #fee2e2; color: #b91c1c; }
.status-unknown { background: #f1f5f9; color: #64748b; }
.status-partial { background: #fef3c7; color: #b45309; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-dot-pulse {
  animation: status-pulse 1.6s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

/* Search */
.search-box {
  border-radius: 10px;
  border: 1px solid #dbe3dd;
  min-height: 42px;
}

.search-box:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(45, 154, 90, 0.15);
}

/* Desktop table */
.table-lokasi thead th {
  background: #f8faf9;
  border-top: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  white-space: nowrap;
}

.table-lokasi tbody td {
  vertical-align: middle;
  font-size: 0.875rem;
}

/* Mobile cards */
.lokasi-cards { display: none; }

.lokasi-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--green-500);
}

.lokasi-card.offline { border-left-color: #ef4444; }
.lokasi-card.unknown { border-left-color: #94a3b8; }

.lokasi-card-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.lokasi-card-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.lokasi-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 0.75rem;
}

.btn-detail-mobile {
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .content-header { padding: 0.75rem 0.5rem 0; }
  .content { padding: 0.75rem 0.5rem; }
  .page-hero { padding: 1rem; }
  .page-hero .btn-refresh span.label { display: none; }
  .table-wrap-desktop { display: none !important; }
  .lokasi-cards { display: block; }
  .main-footer .float-right { float: none !important; display: block; margin-top: 0.25rem; }
}

@media (min-width: 768px) {
  .lokasi-cards { display: none !important; }
}

/* Modal mobile */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
  }
}

.modal-header.bg-success {
  background: linear-gradient(135deg, var(--green-700), var(--green-500)) !important;
}

.detail-grid dt {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.detail-grid dd {
  font-size: 0.875rem;
  margin-bottom: 0.65rem;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: #94a3b8;
}

.empty-state i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Poktan grid cards */
.poktan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.poktan-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid #eef2f0;
  border-left: 4px solid var(--green-500);
  height: 100%;
}

.poktan-card.poktan-status-online { border-left-color: #2d9a5a; }
.poktan-card.poktan-status-offline { border-left-color: #ef4444; }
.poktan-card.poktan-status-unknown,
.poktan-card.poktan-status-empty { border-left-color: #94a3b8; }
.poktan-card.poktan-status-partial { border-left-color: #f59e0b; }

.poktan-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.poktan-device-badge {
  flex-shrink: 0;
  max-width: 55%;
  text-align: right;
}

.poktan-device-badge .status-badge {
  font-size: 0.72rem;
  white-space: nowrap;
}

.poktan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 61, 36, 0.12);
}

.poktan-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
}

.poktan-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #0f172a;
}

.poktan-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
}

#poktanMap {
  height: 320px;
  border-radius: 10px;
  min-height: 220px;
}

/* Poktan detail page */
.detail-back-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}

.detail-back-link:hover {
  color: var(--green-900);
  text-decoration: none;
}

.page-hero--detail {
  padding: 1.35rem 1.5rem;
}

.detail-breadcrumb-inline a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.detail-breadcrumb-inline a:hover {
  color: #fff;
  text-decoration: underline;
}

.poktan-detail-badge-wrap .status-badge {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.detail-info-list dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.detail-info-list dd {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.detail-info-list dd:last-child {
  margin-bottom: 0;
}

.poktan-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.poktan-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.poktan-card-cta {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.poktan-card-link:hover .poktan-card-cta {
  opacity: 1;
}

.lokasi-page-card {
  background: #fff;
  border: 1px solid #eef2f0;
  border-left: 4px solid var(--green-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
}

.lokasi-page-card.offline { border-left-color: #ef4444; }
.lokasi-page-card.unknown { border-left-color: #94a3b8; }

.lokasi-page-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eef2f0;
}

.lokasi-page-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lokasi-page-title h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #0f172a;
}

.lokasi-page-kode {
  font-size: 0.75rem;
  color: #64748b;
  font-family: ui-monospace, monospace;
}

.lokasi-page-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lokasi-page-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.lokasi-quick-item {
  background: #f8faf9;
  border: 1px solid #eef2f0;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.lokasi-quick-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.lokasi-quick-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.lokasi-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-cctv-show.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.cctv-on-demand {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1a3d28;
  background: #0f172a;
}

.cctv-on-demand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}

.cctv-on-demand-title {
  font-size: 0.82rem;
  font-weight: 600;
}

.cctv-on-demand-actions {
  display: flex;
  gap: 0.35rem;
}

.cctv-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.cctv-viewport iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cctv-hint {
  font-size: 0.72rem;
  padding: 0.5rem 0.85rem;
  background: #1e293b;
  color: #94a3b8 !important;
}

.lokasi-detail-row {
  border: 1px solid #eef2f0;
  border-left: 4px solid var(--green-500);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  background: #fafcfb;
}

.lokasi-detail-row.offline { border-left-color: #ef4444; }
.lokasi-detail-row.unknown { border-left-color: #94a3b8; }

.lokasi-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: #475569;
}

/* Laporan */
.report-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.report-stat {
  background: #f8faf9;
  border: 1px solid #eef2f0;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}

.report-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-700);
}

.report-stat-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* Pengaturan */
.profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.settings-list dt {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.1rem;
}

.settings-list dd {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
  .poktan-grid {
    grid-template-columns: 1fr;
  }

  #poktanMap {
    height: 220px;
  }

  .telemetry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Device telemetry (live MQTT) */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.65rem;
}

.telemetry-item {
  background: #f8faf9;
  border: 1px solid #eef2f0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  min-height: 100%;
}

.telemetry-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.telemetry-value {
  font-size: 0.82rem;
  color: #0f172a;
  line-height: 1.35;
}

.telemetry-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.telemetry-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.telemetry-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-700);
}

.telemetry-live .status-dot {
  background: var(--green-500);
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.telemetry-alert {
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  margin-bottom: 0.5rem;
}

.telemetry-alert--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.telemetry-alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.telemetry-full {
  border-top: 1px dashed #dbe3dd;
  padding-top: 0.75rem;
}
