/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** 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 ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.bunny.net/css?family=manrope:400,500,600,700|outfit:600,700&display=swap");

:root {
  --bg: #f5f9fa;
  --surface: #ffffff;
  --text: #0f1c24;
  --muted: #5f7380;
  --line: #d7e4e7;
  --brand: #0d8f8c;
  --brand-hover: #0a6f6d;
  --brand-soft: #d4f0ef;
  --danger: #c62828;
  --ok: #0a7a4a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(15, 28, 36, 0.07);
  --font: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Outfit", "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(13, 143, 140, 0.14), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  padding: 0 0.5rem;
}
.brand span { color: var(--brand); }
.topbar { display: none; }
.nav-backdrop {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}
.nav {
  padding: 1.25rem 0.85rem 1.5rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.nav-scroll { flex: 1 1; overflow: auto; }
.nav-group { margin-bottom: 0.45rem; }
.nav-group-label {
  margin: 0 0 0.2rem;
  padding: 0.45rem 0.65rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-children { padding: 0.1rem 0 0.35rem 0.35rem; border-left: 2px solid var(--brand-soft); margin-left: 0.55rem; }
.nav-children a {
  display: block;
  padding: 0.45rem 0.65rem;
  margin-bottom: 0.15rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
}
.nav-children a:hover,
.nav-children a.active {
  color: var(--brand-hover);
  background: var(--brand-soft);
}
.nav-foot { margin-top: auto; padding-top: 1rem; display: grid; grid-gap: 0.5rem; gap: 0.5rem; }
.live {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0 0.5rem;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #c4cdd4;
}
.live-dot.on { background: #22c55e; }
.live-dot.off { background: #c62828; }
.content { padding: 1.75rem 2rem 2.5rem; min-width: 0; }

.page-title { margin: 0 0 0.35rem; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.04em; }
.page-sub { margin: 0 0 1.5rem; color: var(--muted); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.stat-label { color: var(--muted); font-size: 0.85rem; font-weight: 500; }
.stat-value { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.04em; margin-top: 0.35rem; color: var(--brand-hover); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); grid-gap: 1rem; gap: 1rem; margin-bottom: 1.5rem; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: 0.8rem 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table tbody tr { cursor: pointer; }
.table tbody tr:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.table-scroll { overflow-x: auto; }
.muted { color: var(--muted); }
.empty { padding: 2rem 0.5rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 1px solid transparent; background: var(--brand); color: #fff;
  padding: 0.6rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600;
}
.btn:hover:not(:disabled) { background: var(--brand-hover); }
.btn:disabled { background: #d1d5db; color: #6b7280; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { background: #f3f6f7; }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-danger { background: var(--danger); color: #fff; }
.toolbar { display: flex; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; align-items: center; }

.badge {
  display: inline-flex; align-items: center;
  padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  background: #eef2f4; color: var(--muted);
}
.badge-paid, .badge-succeeded { background: #d4f0ef; color: var(--brand-hover); }
.badge-awaiting, .badge-pending, .badge-pending_send, .badge-sent { background: #fff4d6; color: #8a6a00; }
.badge-failed, .badge-cancelled { background: #fde8e8; color: var(--danger); }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; min-width: 0; }
.field label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff;
  padding: 0.65rem 0.75rem; border-radius: var(--radius-sm); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); }
.field-check { flex-direction: row; align-items: center; gap: 0.55rem; }
.field-check input { width: auto; }
.field-hint { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.field-multi { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.log-body {
  margin: 0;
  max-height: 240px;
  overflow: auto;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f7fbfb;
  font-size: 0.78rem;
  white-space: pre-wrap;
  word-break: break-all;
}
.toolbar input, .toolbar select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
}
.error { color: var(--danger); margin: 0.5rem 0 1rem; font-size: 0.9rem; }
.ok { color: var(--ok); margin: 0.5rem 0 1rem; font-size: 0.9rem; font-weight: 600; }

.dl { display: grid; grid-template-columns: 180px 1fr; grid-gap: 0.45rem 1rem; gap: 0.45rem 1rem; margin: 0 0 1.25rem; }
.dl dt { color: var(--muted); font-size: 0.85rem; }
.dl dd { margin: 0; word-break: break-all; }

.seller-dialog-backdrop {
  position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
  padding: 2rem 1rem 3rem; background: rgba(15, 28, 36, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.seller-dialog {
  width: min(720px, 100%); margin: 0 auto; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.seller-dialog-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.seller-dialog-head h2 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; }
.seller-dialog-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.seller-dialog-body { padding: 1.25rem; }

.auth-bots-widget {
  min-height: 10rem;
  margin: 0.5rem 0 1rem;
}
.auth-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.auth-card {
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.auth-card h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.auth-card h1 span { color: var(--brand); }
.auth-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.25rem;
}
.auth-card-top h1 { margin: 0; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: var(--brand);
  color: #fff;
}
.topbar .lang-switch { margin-left: auto; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .topbar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
  }
  .topbar .brand { margin: 0; padding: 0; font-size: 1.1rem; }
  .nav-toggle {
    display: grid;
    grid-gap: 5px;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    flex: 0 0 auto;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(15, 28, 36, 0.4);
    border: 0;
    padding: 0;
    margin: 0;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 86vw);
    height: 100%;
    z-index: 50;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.22s var(--ease);
    background: #fff;
  }
  .shell.nav-open .nav { transform: none; }
  .content { padding: 1.15rem 1rem 2rem; }
  .dl { grid-template-columns: 1fr; }
}

