:root {
  --bg: #f2f1ea;
  --surface: #fffdf6;
  --ink: #182126;
  --ink-soft: #495056;
  --accent: #005f73;
  --accent-2: #ca6702;
  --ok: #2f9e44;
  --warn: #c92a2a;
  --ring: rgba(0, 95, 115, 0.25);
  --border: rgba(24, 33, 38, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "VT323", monospace;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: linear-gradient(130deg, #f4efe6 0%, #e9f2f3 45%, #ece6dd 100%);
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
  opacity: 0.35;
  animation: drift 12s ease-in-out infinite alternate;
}

.bg-one {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 30% 30%, #94d2bd, #005f73);
  top: -60px;
  right: -80px;
}

.bg-two {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 40% 40%, #ee9b00, #ca6702);
  bottom: -80px;
  left: -70px;
  animation-delay: 1.4s;
}

.container {
  position: relative;
  z-index: 1;
  width: min(960px, 92vw);
  margin: 2.5rem auto;
  display: grid;
  gap: 1rem;
}

.hero h1 {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  letter-spacing: 0.06em;
}

.hero p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

h2 {
  margin: 0 0 0.8rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.75rem;
  line-height: 1.6;
}

label {
  display: block;
  margin: 0.65rem 0;
  font-size: 1.35rem;
}

input,
textarea,
select,
button {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
}

input,
textarea,
select {
  padding: 0.66rem 0.75rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--ring);
  border-color: var(--accent);
}

button {
  cursor: pointer;
  padding: 0.72rem 0.9rem;
  font-family: "Press Start 2P", monospace;
  font-size: 0.65rem;
  font-weight: 700;
  border-color: transparent;
  background: linear-gradient(95deg, var(--accent), #0a9396);
  color: #fff;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 95, 115, 0.25);
}

.jobs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.jobs-header button {
  max-width: 130px;
}

.jobs-list {
  display: grid;
  gap: 0.8rem;
}

.job-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  background: #fff;
  animation: fade-in 250ms ease;
}

.job-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.job-title {
  max-width: 75%;
}

.job-url,
.job-meta,
.muted {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0.35rem 0;
  word-break: break-word;
}

.status-pill {
  align-self: start;
  padding: 0.25rem 0.52rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-family: "Press Start 2P", monospace;
  text-transform: uppercase;
  background: #f6f6f6;
}

.status-complete {
  background: #e9f8ee;
  color: var(--ok);
}

.status-failed {
  background: #fdebec;
  color: var(--warn);
}

.status-processing,
.status-pending {
  background: #eef4ff;
  color: #2b4ea2;
}

.job-links a {
  font-size: 0.85rem;
  margin-right: 0.6rem;
}

.review-box {
  margin-top: 0.6rem;
}

.review-box summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.checkbox-line input {
  width: auto;
  margin: 0;
}

@media (max-width: 700px) {
  .container {
    margin: 1.25rem auto;
  }

  .job-top {
    flex-direction: column;
    gap: 0.25rem;
  }

  .job-title {
    max-width: 100%;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(18px) scale(1.05);
  }
}
