
/* =========================
   DASAR
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0f0e;
  --panel: #141a18;
  --panel-hover: #1b2421;
  --border: #26312d;
  --green: #7de2a1;
  --green-dark: #163b2a;
  --text: #f1f5f2;
  --muted: #89958f;
  --red: #ff7676;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

button {
  font: inherit;
  cursor: pointer;
}

/* =========================
   LAYOUT
========================= */

.app {
  width: 100%;
  max-width: 900px;
  margin: auto;
  padding: 24px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =========================
   HEADER
========================= */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  border-radius: 14px;
  font-size: 22px;
}

.brand h1 {
  font-size: 21px;
  font-weight: 700;
}

.brand h1 span {
  color: var(--green);
}

.brand p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f0bd55;
}

/* =========================
   HERO
========================= */

.hero {
  background:
    radial-gradient(
      circle at 85% 20%,
      #244a36 0%,
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #18241f,
      #111715
    );

  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 32px;
  min-height: 210px;
  display: flex;
  align-items: center;
}

.eyebrow {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero h2 {
  font-size: 30px;
  line-height: 1.35;
}

.hero-description {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================
   PANEL
========================= */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-heading h3 {
  font-size: 16px;
}

.panel-description {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}

.badge {
  background: #202b26;
  color: var(--green);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
}

/* =========================
   STATUS
========================= */

.status-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.status-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--green-dark);
  font-size: 22px;
}

.status-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.status-content h2 {
  font-size: 17px;
}

.status-description {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

/* =========================
   MODE
========================= */

.mode-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mode-card {
  border: 1px solid var(--border);
  background: var(--panel-hover);
  color: var(--text);
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: 0.2s;
}

.mode-card:hover {
  background: #25312b;
}

.mode-card.active {
  border-color: var(--green);
  background: var(--green-dark);
}

.mode-icon {
  font-size: 23px;
}

.mode-name {
  font-weight: 700;
  font-size: 14px;
}

.mode-description {
  color: var(--muted);
  font-size: 12px;
}

/* =========================
   MANUAL FEED
========================= */

.feed-button {
  width: 100%;
  border: none;
  border-radius: 15px;
  background: var(--green);
  color: #102117;
  padding: 17px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.2s;
}

.feed-button:hover {
  filter: brightness(1.08);
}

.feed-button:active {
  transform: scale(0.98);
}

.feed-button span {
  font-size: 20px;
}

.warning-text {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 14px;
}

/* =========================
   SCHEDULE
========================= */

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--panel-hover);
  border: 1px solid var(--border);
  padding: 17px;
  border-radius: 14px;
}

.schedule-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.schedule-number {
  color: var(--green);
  background: var(--green-dark);
  padding: 8px;
  border-radius: 10px;
  font-size: 11px;
}

.schedule-time {
  font-size: 19px;
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */

.footer {
  text-align: center;
  padding: 20px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

  .app {
    padding: 16px;
  }

  .header {
    margin-bottom: 18px;
  }

  .hero {
    padding: 24px;
    min-height: 190px;
  }

  .hero h2 {
    font-size: 25px;
  }

  .panel {
    padding: 20px;
  }

  .mode-container {
    gap: 10px;
  }

  .mode-card {
    padding: 16px;
  }

  .connection {
    font-size: 10px;
  }

  .brand h1 {
    font-size: 18px;
  }
}
