/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #0a0c10;
  --bg-2: #0e1117;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-solid: #14181f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2f7;
  --muted: #93a0b1;
  --faint: #5f6b7a;
  --accent: #ff9e57;
  --accent-2: #ff7a45;
  --accent-soft: rgba(255, 158, 87, 0.14);
  --ok: #46d18a;
  --fail: #ff6b6b;
  --radius: 18px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Pretendard, "Apple SD Gothic Neo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(255, 122, 69, 0.12), transparent 55%),
    radial-gradient(800px 500px at -8% 108%, rgba(70, 130, 255, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 64px 22px 96px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #2a1402; font-weight: 900; font-size: 17px; box-shadow: 0 4px 14px rgba(255, 122, 69, 0.35);
}
.badge { font-size: 12px; color: var(--muted); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; }

/* hero */
.hero { text-align: center; margin-bottom: 30px; }
.hero h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), #ffd9a8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--muted); font-size: 16.5px; line-height: 1.6; margin: 0 auto; max-width: 460px; }

/* composer */
.composer {
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.composer:focus-within { border-color: var(--border-strong); box-shadow: 0 16px 50px rgba(0,0,0,.5), 0 0 0 3px var(--accent-soft); }
.composer textarea {
  width: 100%; border: 0; outline: 0; resize: none; min-height: 84px;
  background: transparent; color: var(--text); font-size: 17px; line-height: 1.6; font-family: inherit;
}
.composer textarea::placeholder { color: var(--faint); }
.composer .bar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.composer .hint { color: var(--faint); font-size: 12.5px; }

.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; font-family: inherit;
  padding: 11px 22px; border-radius: 12px; color: #2a1402;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(255, 122, 69, 0.3);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.08s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover:not(:disabled) { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(255, 122, 69, 0.4); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }

/* example chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.chip {
  font-size: 13px; color: var(--muted); background: var(--panel); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all 0.15s ease;
}
.chip:hover { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,.06); }

/* run panel */
.run {
  margin-top: 34px; background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px; animation: rise 0.3s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step { display: flex; gap: 14px; padding: 13px 16px; position: relative; }
.step:not(:last-child) .rail::after {
  content: ""; position: absolute; left: 50%; top: 26px; bottom: -13px; width: 2px;
  transform: translateX(-50%); background: var(--border);
}
.step .rail { position: relative; flex: 0 0 26px; display: flex; justify-content: center; }
.dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; background: var(--panel-solid); border: 1px solid var(--border); color: var(--muted); z-index: 1;
}
.step.done .dot { background: rgba(70, 209, 138, 0.14); border-color: rgba(70, 209, 138, 0.4); color: var(--ok); }
.step.active .dot { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.step .content { flex: 1 1; padding-top: 2px; }
.step .title { font-size: 15px; font-weight: 600; }
.step.pending .title { color: var(--faint); font-weight: 500; }
.step .meta { color: var(--muted); font-size: 13px; margin-top: 3px; }

.spin { width: 13px; height: 13px; border: 2px solid var(--accent-soft); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* iteration cards */
.iters { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.iter { border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; background: rgba(0,0,0,.18); animation: rise .25s ease; }
.iter .ihead { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.iter .gates { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-family: var(--mono); font-size: 11.5px; padding: 3px 9px; border-radius: 7px; border: 1px solid var(--border); color: var(--muted); }
.pill.ok { color: var(--ok); border-color: rgba(70,209,138,.3); background: rgba(70,209,138,.1); }
.pill.fail { color: var(--fail); border-color: rgba(255,107,107,.3); background: rgba(255,107,107,.1); }
.iter .rev { display: flex; gap: 16px; margin-top: 9px; font-size: 12.5px; color: var(--muted); }
.iter .rev b { color: var(--text); font-weight: 700; }

/* result */
.result {
  margin-top: 26px; text-align: center; border-radius: var(--radius); padding: 30px 24px;
  background: linear-gradient(180deg, rgba(255,158,87,.08), var(--panel)); border: 1px solid var(--border-strong);
  animation: rise 0.35s ease;
}
.result .ok-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font-weight: 700; font-size: 14px; }
.result h3 { margin: 12px 0 4px; font-size: 22px; letter-spacing: -0.02em; }
.result .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 20px; }
.btn.deploy { font-size: 16px; padding: 14px 30px; }
.live {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 8px; padding: 13px 18px;
  background: var(--panel-solid); border: 1px solid var(--border-strong); border-radius: 12px;
  color: var(--text); text-decoration: none; font-family: var(--mono); font-size: 14px; word-break: break-all;
  transition: border-color .15s ease;
}
.live:hover { border-color: var(--accent); }
.err { color: var(--fail); font-size: 13.5px; margin-top: 12px; font-family: var(--mono); }
.deploying { color: var(--muted); font-size: 13px; margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; }

.footer { text-align: center; color: var(--faint); font-size: 12px; margin-top: 56px; }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login .card {
  width: 100%; max-width: 380px; background: var(--panel); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.login .brandrow { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 6px; }
.login h2 { text-align: center; font-size: 22px; letter-spacing: -0.02em; margin: 6px 0 4px; }
.login .sub { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--border);
  background: rgba(0,0,0,.25); color: var(--text); font-size: 15px; font-family: inherit; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.login .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 13px; }
.login .err { text-align: center; }

