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

:root {
  --bg: #091012;
  --panel: rgba(255, 255, 255, 0.09);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #f4fbfa;
  --muted: #95aaa7;
  --line: rgba(255, 255, 255, 0.13);
  --green: #46f2b1;
  --blue: #59b8ff;
  --pink: #ff6fae;
  --dark: #07100f;
}

* {
  box-sizing: border-box;
}

body {
  width: 360px;
  min-height: 520px;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(70, 242, 177, 0.28), transparent 26%),
    radial-gradient(circle at 80% 22%, rgba(255, 111, 174, 0.2), transparent 28%),
    linear-gradient(135deg, #091012 0%, #101725 55%, #0b1412 100%);
  overflow: hidden;
}

button,
select,
input {
  font: inherit;
}

.app {
  position: relative;
  padding: 18px;
}

.app::before {
  content: '';
  position: absolute;
  inset: -80px -90px auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  animation: float-ring 7s ease-in-out infinite;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.logo-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(70, 242, 177, 0.28)) drop-shadow(0 0 18px rgba(89, 184, 255, 0.2));
  animation: breathe 2.8s ease-in-out infinite;
}

.panel {
  position: relative;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.status-panel {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--panel-strong);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 6px rgba(149, 170, 167, 0.1);
}

.status-dot.running {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(70, 242, 177, 0.13), 0 0 24px rgba(70, 242, 177, 0.6);
  animation: pulse 1.4s ease-in-out infinite;
}

.status-label,
.status-meta,
.hint {
  margin: 0;
}

.status-label {
  font-weight: 800;
}

.status-meta,
.hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.field-label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

select,
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  outline: none;
  color: var(--text);
  background: rgba(5, 10, 11, 0.62);
}

select {
  padding: 0 12px;
}

input {
  padding: 0 12px;
  font-weight: 800;
}

select:focus,
input:focus {
  border-color: rgba(70, 242, 177, 0.7);
  box-shadow: 0 0 0 4px rgba(70, 242, 177, 0.12);
}

.interval-grid {
  display: grid;
  gap: 10px;
}

.interval-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.interval-control span {
  color: var(--muted);
  font-weight: 700;
}

.chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.chips button,
.secondary {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.chips button:hover,
.secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(70, 242, 177, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.actions {
  display: grid;
  grid-template-columns: 1fr 94px;
  gap: 10px;
  margin-top: 14px;
}

.primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: #06110d;
  background: linear-gradient(135deg, var(--green), #c8ff54);
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(70, 242, 177, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(70, 242, 177, 0.32);
}

.primary:disabled,
.secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.hint {
  padding: 2px 2px 0;
}

@keyframes breathe {
  0%,
  100% {
    transform: rotate(-6deg) scale(1);
  }
  50% {
    transform: rotate(8deg) scale(1.06);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@keyframes float-ring {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(-12px, 16px, 0) rotate(20deg);
  }
}
