/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --ink: #1b2430;
  --ink-soft: #4a5564;
  --paper: #f6f1e7;
  --paper-2: #fffdf8;
  --line: #d8cbb6;
  --sunrise: #d4652f;
  --sunrise-deep: #a6441c;
  --gold: #e8b14a;
  --sea: #2f5d63;
  --ok: #2f7d4a;
  --warn: #b7791f;
  --bad: #b42318;
  --shadow: 0 18px 40px rgba(27, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(232, 177, 74, 0.28), transparent 50%),
    radial-gradient(900px 380px at 100% 0%, rgba(212, 101, 47, 0.16), transparent 46%),
    var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.78);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--gold), var(--sunrise));
  box-shadow: inset 0 -8px 16px rgba(166, 68, 28, 0.25);
}

.brand h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
}

nav a.active,
nav a:hover {
  background: var(--ink);
  color: white;
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 32px auto 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-gap: 28px;
  gap: 28px;
  margin-bottom: 28px;
}

.hero h2,
.page-title h2 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
}

.lede,
.page-title p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 46ch;
  line-height: 1.5;
}

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--ink);
}

textarea {
  min-height: 88px;
  resize: vertical;
}

.dropzone {
  border: 1.5px dashed #c8b79a;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  background: #fffaf1;
  color: var(--ink-soft);
}

.dropzone strong {
  color: var(--ink);
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--sunrise);
  color: white;
  font-weight: 650;
  cursor: pointer;
}

.btn:hover {
  background: var(--sunrise-deep);
}

.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.notice {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4e5;
  color: #7a3e09;
}

.notice.error {
  background: #fde8e6;
  color: #7a1c16;
}

.notice.ok {
  background: #e7f6ec;
  color: #1f5b32;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge.queued,
.badge.initiated,
.badge.originated,
.badge.media-processed,
.badge.media-processing,
.badge.receiving {
  background: #fff1d6;
  color: #8a5a12;
}

.badge.sending {
  background: #e4eef7;
  color: #1d4e89;
}

.badge.delivered,
.badge.received {
  background: #def7e6;
  color: #1b6b38;
}

.badge.failed {
  background: #fde2df;
  color: #9b1c1c;
}

.badge.draft,
.badge.ready,
.badge.paused,
.badge.submitted {
  background: #fff1d6;
  color: #8a5a12;
}

.badge.running {
  background: #e4eef7;
  color: #1d4e89;
}

.badge.completed {
  background: #def7e6;
  color: #1b6b38;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.muted {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-gap: 16px;
  gap: 16px;
  padding: 8px 0;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

code,
.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86em;
}

.footer {
  padding: 20px 40px 32px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.stat {
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.stat strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.progress {
  height: 12px;
  border-radius: 999px;
  background: #efe4d2;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--sunrise));
}

.campaign-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

@media (max-width: 860px) {
  .hero,
  .row,
  .step,
  .stats {
    grid-template-columns: 1fr;
  }

  .topbar,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

