@charset "UTF-8";

:root {
  --bg: #0e0e12;
    --surface: #1a1828;
  --card: #17171e;
  --card-hover: #1e1e28;
  --border: #2a2a35;
  --accent: #8b7cf6;
  --accent-dim: #6c5dd3;
  --accent-bg: rgba(139, 124, 246, 0.08);
  --green: #34d399;
  --green-bg: rgba(52, 211, 153, 0.1);
  --green-border: rgba(52, 211, 153, 0.25);
  --red: #f87171;
  --red-bg: rgba(248, 113, 113, 0.08);
  --red-border: rgba(248, 113, 113, 0.25);
  --amber: #fbbf24;
  --amber-bg: rgba(251, 191, 36, 0.08);
  --amber-border: rgba(251, 191, 36, 0.25);
  --text: #e8e8ed;
  --muted: #8b8b9e;
    --purple2: #9d94ff;
  --dim: #55556a;
    --dim2: #4a4868;
  --font: "DM Sans", sans-serif;
  --mono: "DM Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input::placeholder {
  color: var(--dim);
}

button {
  font-family: var(--font);
  cursor: pointer;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

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

@keyframes progress-bar {
  from {
    width: 0%;
  }

  to {
    width: 88%;
  }
}

#wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}

.d-flex {
  display: flex;
  align-items: center;
  justify-content: center
}

.mainContents,
#contents {
  flex: 1 auto
}

.footer {
  border-top: 1px solid #575454;
  margin-top: 50px
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-info--icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, #6C5DD3, #8B7CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}

.footer-info--text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.footer-container {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 10px
}

.footer-copyRight {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em
}

.footer-link {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-link>li {
  list-style: none
}

.footer-link>li>a {
  font-size: 15px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  background: transparent;
}

.footer-link>li>a:hover {
  text-decoration: none color: var(--accent);
  background-color: var(--accent-bg)
}

/* ── NAV ── */
.nav {
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  background: rgba(14, 14, 18, 0.9);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  transition:
    color 0.15s,
    border-color 0.15s;
}

.nav-btn:hover {
  color: var(--text);
}

.nav-btn.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* ── SCREENS ── */
.screen {
  display: none;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 16px;
}

.screen.active {
  display: block;
  animation: fadein 0.2s ease;
}

/* ── UTILS ── */
.label-xs {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.card+.card {
  margin-top: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.badge.done {
  background: var(--green-bg);
  color: var(--green);
}

.badge.failed {
  background: var(--red-bg);
  color: var(--red);
}

.badge.running {
  background: var(--amber-bg);
  color: var(--amber);
}

/* ── DASHBOARD ── */
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.credit-pill {
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 8px 16px;
  text-align: center;
}

.credit-pill .label {
  font-size: 14px;
  color: var(--muted);
  display: block;
}

.credit-pill .value {
  font-size: 25px;
  font-weight: 700;
  color: var(--accent);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.stat-card .num {
  font-size: 35px;
  font-weight: 700;
}

.stat-card .lab {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  transition: filter 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-outline {
  /*   background: transparent; */
  background: rgba(139, 124, 246, .2);
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff
}

.recent-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.job-row {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-row:hover {
  background: var(--card-hover);
}

.job-row--none {
  text-align: center;
  display: block;
  width: 100%;
  color: #e96868;
  padding: 20px 0;
}

.job-name {
  font-size: 15px;
  color: var(--text);
}

#job-history .open-lp {
	white-space: nowrap
}

.job-date {
  font-size: 14px;
  color: var(--dim);
  margin-top: 2px;
}

/* ── PPT LP TOOL ── */
.tool-header {
  margin-bottom: 22px;
}

.tool-header h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
}

.tool-header p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}

.input-row {
  display: flex;
  gap: 10px;
}

.url-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--mono);
  outline: none;
  transition: border-color 0.15s;
}

.url-input:focus {
  border-color: var(--accent);
}

.btn-create {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.15s;
}

.btn-create:hover {
  filter: brightness(1.12);
}

/* Result area */
.result-area {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 140px;
  margin-top: 14px;
}

.result-placeholder {
  color: var(--dim);
  font-size: 16px;
  text-align: center;
  padding: 28px 0;
}

.result-placeholder svg {
  display: block;
  margin: 0 auto 10px;
  opacity: 0.3;
}

/* State: RUNNING */
.result-running {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: 10px;
  padding: 18px 20px;
  animation: fadein 0.25s ease;
}

.result-running .r-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
  font-size: 16px;
}

.progress-track {
  background: rgba(251, 191, 36, 0.15);
  border-radius: 99px;
  height: 4px;
  margin: 10px 0 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 99px;
  animation: progress-bar 2.6s ease forwards;
}

.r-sub {
  color: var(--muted);
  font-size: 14px;
}

.r-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  margin: 0 2px;
  animation: pulse-dot 1.2s ease infinite;
}

.r-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.r-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* State: DONE */
.result-done {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  padding: 18px 20px;
  animation: fadein 0.25s ease;
}

.result-done .r-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.drive-link-box {
  background: rgba(52, 211, 153, 0.06);
  border: 1px solid var(--green-border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drive-link-box .link-text {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  word-break: break-all;
  flex: 1;
}

.copy-btn {
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s;
}

.copy-btn:hover {
  background: rgba(139, 124, 246, 0.18);
}

.credit-pill-sm {
  display: flex;
  gap: 6px;
  align-items: center;
}

.credit-tag {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
}

.credit-remain {
  font-size: 14px;
  color: var(--dim);
}

.credit-remain>span {
  font-weight: bold;
  color: var(--accent);
}

.done-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--green-border);
}

.meta-item {
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 4px;
  align-items: center;
}

.meta-item strong {
  color: var(--muted);
}

/* State: ERROR */
.result-error {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: 10px;
  padding: 18px 20px;
  animation: fadein 0.25s ease;
}

.result-error .r-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.error-reason {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid var(--red-border);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  font-size: 13px;
  color: var(--muted);
}

.error-reason strong {
  color: var(--red);
}

.no-charge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--dim);
  margin-top: 6px;
}

.no-charge::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* State toggle buttons (for mockup demo) */
.state-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.state-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}

.state-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.state-btn.active {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
}

.mockup-note {
  font-size: 13px;
  color: var(--dim);
  text-align: center;
  margin-top: 15px;
}

/* ── BUY CREDIT ── */
.pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pkg-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.pkg-card:hover {
  background: var(--card-hover);
}

.pkg-card.popular {
    background: var(--accent-bg);
border-color: var(--accent);
}

.pkg-card.active {
  background: #231c59;
  border-color: var(--accent);
}

.pkg-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.pkg-credits {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}

.pkg-unit {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.pkg-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.pkg-per {
  font-size: 11px;
  color: var(--dim);
  margin-top: 2px;
}

.pay-btn {
  width: 100%;
  margin-top: 20px;
  background: linear-gradient(135deg, #635bff 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 0.15s;
}

.pay-btn:hover {
  filter: brightness(1.1);
}

.secure-note {
  font-size: 11px;
  color: var(--dim);
  text-align: center;
  margin-top: 10px;
}

/* ── HISTORY TABLE ── */
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.export-btn {
  background: var(--card);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
}

.table-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 20px
}

.table-wrap--none {
  text-align: center;
  display: block;
  width: 100%;
  color: #e96868;
  padding: 20px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th {
  padding: 10px 14px;
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}

td.mono {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--dim);
}

td.date {
  font-size: 14px;
  color: var(--muted);
}

td.credit-neg {
  text-align: right;
  font-weight: 600;
  color: var(--red);
  font-size: 15px;
}

td.credit-zero {
  text-align: right;
  font-weight: 500;
  color: var(--dim);
}

/* ── PPT GUIDE ── */
.guide-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-header__title h2 {
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
}

.guide-header__title p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 3px;
}

.guide-sample {
  background: rgba(139, 124, 246, 0.08);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.guide-sample--btn {
  margin-top: 20px;
  text-align: center
}

.guide-sample--btn>a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .3s ease
}

.guide-sample--btn>a:hover {
  background-color: #fff;

}

.guide-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}

/* Guide lang sub-tabs */
.guide-lang {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.15s,
    border-color 0.15s;
  font-family: var(--font);
}

.guide-lang:hover {
  color: var(--text);
}

.guide-lang.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

/* Alert bar */
.guide-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(139, 124, 246, 0.08);
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.guide-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent);
}

.guide-alert strong {
  color: var(--text);
}

/* Requirements box */
.guide-req {
  background: rgba(52, 211, 153, 0.05);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.guide-req-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.guide-req-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}

.req-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.req-dot.green {
  background: var(--green);
}

.req-dot.red {
  background: var(--red);
}

/* Section heading */
.guide-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
  padding-left: 2px;
}

/* Slide card */
.slide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.slide-num {
  display: inline-block;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.slide-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.slide-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.55;
}

.slide-desc strong {
  color: #fff
}

.slide-tip {
  font-size: 14px;
  color: var(--dim);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

/* Color example row */
.color-example {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.color-chip {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.color-chip:not(:first-child) {
  margin-left: 10px;
}

.color-example code {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Field table inside slide card */
.slide-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.field-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
}

.field-label {
  min-width: 110px;
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.field-val {
  color: var(--muted);
}

/* Rule list */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.rule-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.rule-icon {
  min-width: 32px;
  height: 32px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.rule-item strong {
  color: var(--text);
}

@media (max-width: 520px) {
  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pkg-grid {
    grid-template-columns: 1fr 1fr;
  }

  .action-row {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 8px 10px;
  }
}



/* ─── LAYOUT ─── */
.page {
  display: flex;
  /*     min-height: 100vh; */
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  animation: fadein .22s ease;
}

.page.active {
  display: flex;
}

/* ─── TOP-LEFT USER CHIP (login page only) ─── */
.user-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: rgba(14, 14, 18, .85);
  backdrop-filter: blur(14px);
  z-index: 50;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.signout-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 7px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 500;
  transition: border-color .15s, color .15s;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translatey(-50%);
}

.signout-btn:hover {
  border-color: var(--red);
  color: var(--red);
  text-decoration: none
}

/* ─── CARD ─── */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
}

/* ─── LOGO / BRAND ─── */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}

.brand-sub {
  font-size: 13px;
  color: var(--muted);
}

/* ─── FORM ELEMENTS ─── */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
  letter-spacing: .2px;
}

.form-input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 124, 246, .12);
}

.form-input.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, .10);
  animation: shake .35s ease;
}

/* password wrapper */
.pw-wrap {
  position: relative;
}

.pw-wrap .form-input {
  padding-right: 42px;
}

.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--dim);
  padding: 4px;
  line-height: 0;
  transition: color .15s;
}

.pw-toggle:hover {
  color: var(--muted);
}

/* ─── FORGOT LINK ROW ─── */
.forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  margin-top: -8px;
}

.forgot-row a {
  font-size: 12px;
  color: var(--muted);
}

.forgot-row a:hover {
  color: var(--accent);
}

/* ─── SUBMIT BUTTON ─── */
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-dim) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  transition: filter .15s, transform .1s;
  margin-bottom: 18px;
}

.btn-submit:hover {
  filter: brightness(1.1);
}

.btn-submit:active {
  transform: scale(.985);
}

.btn-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
  filter: none;
}

/* ─── DIVIDER ─── */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--dim);
  font-size: 12px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── GOOGLE BUTTON ─── */
.btn-google {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 9px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .15s, border-color .15s;
  margin-bottom: 22px;
}

.btn-google:hover {
  background: rgba(255, 255, 255, .04);
  border-color: var(--muted);
}

.btn-google svg {
  flex-shrink: 0;
}

/* ─── SWITCH LINK ─── */
.switch-line {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.switch-line a {
  color: var(--accent);
  font-weight: 600;
}

/* ─── INLINE MESSAGES ─── */
.msg {
  display: none;
  align-items: flex-start;
  gap: 8px;
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.msg.show {
  display: flex;
}

.msg.success {
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
}

.msg.fail {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  color: var(--red);
}

.msg svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── SUCCESS CHECK (forgot page) ─── */
.success-state {
  display: none;
  text-align: center;
  animation: fadein .25s ease;
}

.success-state.show {
  display: block;
}

.check-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-bg);
  border: 1.5px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: checkin .3s ease;
}

/* ─── BACK LINK ─── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  background: none;
  border: none;
  padding: 0;
  transition: color .15s;
}

.back-link:hover {
  color: var(--accent);
  cursor: pointer;
}

/* ─── PAGE SHIFT (logged-in top bar offset) ─── */
.has-userbar {
  padding-top: 90px !important;
}

@media(max-width:440px) {
  .auth-card {
    padding: 28px 20px;
    border-radius: 14px;
  }
}


.c-pagination {
  margin-top: 30px
}

.c-pagination-container {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px
}

.c-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c-pagination-button--prev {
  margin-right: 25px;
}

.c-pagination-button--next {
  margin-left: 25px;
}

.c-pagination-number>a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 30px;
  border: 1px solid var(--accent);
  transition: background-color .3s ease, color .3s ease
}

.c-pagination-number>a:hover {
  text-decoration: none;
  background-color: var(--accent-dim);
  color: #fff;
}

.c-pagination-number.active>a {
  background-color: #fff !important;
  cursor: default !important;
  pointer-events: none !important;
  border: none !important
}

/* PRIVACY
======================================= */

/* SHELL */
.shell {
  max-width: 740px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.page-label {
  display: inline-block;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.page-date {
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 28px;
}



/* CONTENT */
.lang-body {
  animation: fadein .2s ease;
}

.lang-body.active {
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(5px)
  }

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

.section {
  margin-bottom: 32px;
}

.section-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.section p:last-child {
  margin-bottom: 0;
}

.section strong {
  color: var(--text);
}

.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 12px 0;
}

.info-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row .ik {
  min-width: 180px;
  font-weight: 600;
  color: var(--text);
  flex-shrink: 0;
}

.ul-list {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.ul-list li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0 6px 18px;
  position: relative;
  line-height: 1.65;
  border-bottom: 1px solid var(--border);
}

.ul-list li:last-child {
  border-bottom: none;
}

.ul-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

.warn-box {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px 0;
}

.warn-box .w-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.warn-box ul {
  list-style: none;
  padding: 0;
}

.warn-box ul li {
  font-size: 13px;
  color: var(--muted);
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.6;
}

.warn-box ul li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 11px;
  top: 5px;
}


/* MAIN TABS — Profile / Billing */
.main-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}

.mt {
  flex: 1;
  background: none;
  border: none;
  color: var(--muted);
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.mt:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.mt:hover {
  color: var(--text);
  background: rgba(139, 124, 246, .04);
}

.mt.active {
  background: var(--accent-bg);
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.mt-icon {
  font-size: 15px;
  opacity: .7;
}

.mt.active .mt-icon {
  opacity: 1;
}

/* TAB BODY */
.tab-body {
  display: none;
  animation: fadein .25s ease;
}

.tab-body.active {
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px)
  }

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

/* SECTION */
.section {
  margin-bottom: 28px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title .s-icon {
  font-size: 16px;
  opacity: .6;
}

.section-desc {
  font-size: 14px;
  color: var(--dim);
  margin-top: 2px;
}

/* INFO BOX */
.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  transition: background .1s;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(255, 255, 255, .015);
}

.info-row .ik {
  min-width: 140px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.info-row .iv {
  color: var(--text);
  flex: 1;
  word-break: break-word;
  font-size: 14px;
}

.info-row .iv-dim {
  color: var(--dim);
}

/* EDIT BUTTON (pencil) */
.edit-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all .15s;
  font-family: var(--font);
  font-weight: 500;
}

.edit-btn:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--accent-bg);
}

/* FORM FIELDS */
.field-group {
  margin-top: 14px;
}

.field-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  transition: border-color .15s;
  outline: none;
}

.field-input:focus {
  border-color: var(--accent);
}

.field-hint {
  font-size: 11px;
  color: var(--dim);
  margin-top: 4px;
}

/* CHANGE PASSWORD PANEL */
.pw-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
  display: none;
  animation: fadein .2s ease;
}

.pw-panel.open {
  display: block;
}

.pw-panel .field-group {
  margin-top: 12px;
}

.pw-panel .field-group:first-child {
  margin-top: 0;
}

.pw-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--dim);
}

.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, .2);
}

.btn-danger:hover {
  background: rgba(248, 113, 113, .15);
}

.btn-stripe {
  background: linear-gradient(135deg, #635BFF 0%, #8B7CF6 100%);
  color: #fff;
}

.btn-stripe:hover {
  opacity: .9;
}

/* CREDIT CARD */
.credit-banner {
  background: linear-gradient(135deg, var(--accent-dim), #8B7CF6);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.credit-banner::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.credit-banner::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
}

.cb-left {
  position: relative;
  z-index: 1;
}

.cb-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.cb-value {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-top: 4px;
}

.cb-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
}

.cb-right {
  position: relative;
  z-index: 1;
}

/* PLAN CARD */
.plan-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.plan-name {
  font-size: 16px;
  font-weight: 700;
}

.plan-detail {
  font-size: 13px;
  color: var(--dim);
  margin-top: 2px;
}

/* CREDIT PACKAGES */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.pkg {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  position: relative;
}

.pkg:hover {
  border-color: var(--accent-dim);
  background: var(--card-hover);
}

.pkg.selected {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.pkg-pop {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  letter-spacing: .5px;
}

.pkg-credits {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
}

.pkg-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.pkg-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

.pkg-per {
  font-size: 12px;
  color: var(--dim);
}

/* HISTORY TABLE */
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.history-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.history-table th:first-child {
  border-radius: 10px 0 0 0;
}

.history-table th:last-child {
  border-radius: 0 10px 0 0;
}

.history-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.history-table tr:last-child td {
  border-bottom: none;
}

.history-table tr:hover td {
  background: rgba(255, 255, 255, .015);
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-green {
  background: var(--green-bg);
  color: var(--green);
}

.badge-amber {
  background: var(--amber-bg);
  color: var(--amber);
}

.badge-red {
  background: var(--red-bg);
  color: var(--red);
}

.badge-accent {
  background: var(--accent-bg);
  color: var(--accent);
}

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

/* DANGER ZONE */
.danger-zone {
  background: var(--red-bg);
  border: 1px solid rgba(248, 113, 113, .15);
  border-radius: 12px;
  padding: 18px;
}

.danger-zone .section-title {
  color: var(--red);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .packages {
    grid-template-columns: 1fr;
  }

  .credit-banner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cb-right {
    width: 100%;
  }

  .cb-right .btn {
    width: 100%;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
  }

  .info-row .ik {
    min-width: unset;
  }

  .plan-box {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .history-table {
    font-size: 12px;
  }

  .history-table th,
  .history-table td {
    padding: 10px 8px;
  }

  .mt {
    font-size: 13px;
    padding: 10px 14px;
  }
}

.btn-create.is-disabled,
.btn-create:disabled{
    opacity:.5;
    pointer-events:none;
    cursor:not-allowed;
}

.job-name .green {
	color: var(--green)
}

.job-name .red {
	color: var(--red)
}


/* Page checkout
================================================= */

  .page .left {
    padding: 44px 40px 60px;
    border-right: 1px solid var(--border);
  }

  .page .right {
    padding: 44px 28px 60px;
    background: var(--surface);
  }


  .block { margin-bottom: 24px; }

  h2.titSub {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 12px;
  }

  .field { margin-bottom: 12px; }
  .field label {
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 5px;
  }
  .field input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
  }
  .field input::placeholder { color: var(--dim); }
  .field input:focus { border-color: var(--purple); }
  .field input.error { border-color: var(--danger); }
  .err-msg { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
  .err-msg.show { display: block; }

  .stripe-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .stripe-note svg { flex-shrink: 0; }

  .terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .terms-row input[type=checkbox] {
    margin-top: 2px;
    accent-color: var(--purple);
    flex-shrink: 0;
    cursor: pointer;
  }
  .terms-row a { color: var(--purple2); text-decoration: none; }

  .cta-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #635bff 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background .15s, transform .1s;
  }
  .cta-btn:hover { background: var(--purple); }
  .cta-btn:active { transform: scale(.985); }
  .cta-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

  .secure-note {
    text-align: center;
    font-size: 13px;
    color: var(--dim);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  /* Right */
  .order-summary h2 { margin-bottom: 18px; }

  .order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .item-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #261f3e;
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
  }
  .item-info { flex: 1; }
  .item-name { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
  .item-sub { font-size: 14px; color: var(--muted); }
  .item-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--purple2);
    font-family: 'DM Mono', monospace;
  }

  .totals { display: flex; flex-direction: column; }
  .tot-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--muted);
    padding: 7px 0;
    border-bottom: 1px solid #1f1d2e;
  }
  .tot-row:last-child { border-bottom: none; }
  .tot-row .val { color: var(--text); font-weight: 500; }
  .tot-row.total { font-size: 17px; font-weight: 600; color: var(--text); padding-top: 12px; margin-top: 4px; }
  .tot-row.total .val { color: var(--purple2); font-family: 'DM Mono', monospace; }

  @keyframes spin { to { transform: rotate(360deg); } }
  .spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
  }

  @media (max-width: 680px) {
    .left { padding: 32px 20px 36px; border-right: none; border-bottom: 1px solid var(--border); }
    .right { padding: 28px 20px 48px; }
  }

.pkg-card.active {

    border-color:
        var(--accent);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

#place_order{
	width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #635bff 0%, var(--accent) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background .15s, transform .1s;
	margin-top: 20px
}

#place_order:hover {
    filter: brightness(1.1);
}

#checkout{
	background: var(--bg);
}

#checkout .page{
	display: grid;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
    min-height: 100vh;
	padding: 0;
}

#checkout .woocommerce{
	width: 100%
}

#checkout .bill-content{
	position: relative;
}

#checkout #customer_details{
	padding: 44px 40px 0px;
    border-right: 1px solid var(--border);
    width: 440px;
}

#checkout .order-content{
	padding: 15px 40px 60px;
    border-right: 1px solid var(--border);
    width: 440px;
}

#checkout #customer_details .col-1{
	width: 100%
}

#checkout .woocommerce-billing-fields h3{
	font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 12px;
}

#checkout .woocommerce-billing-fields .field {
    margin-bottom: 12px;
}

#checkout .woocommerce-billing-fields__field-wrapper label.required_field{
    display: block;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 5px;
}

#checkout .woocommerce-input-wrapper input{
	width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    outline: none;
    transition: border-color .15s;
}

#checkout .woocommerce-input-wrapper input:focus {
    border-color: var(--purple);
}

#checkout #order_review_heading{
	position: absolute;
    left: 440px;
    top: 0;
    padding: 44px 28px 20px;
    background: var(--surface);
    width: calc(100% - 440px);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dim);
}

#checkout .order-table{
	position: absolute;
    top: 80px;
	left: 440px;
    padding: 0 28px 20px;
    background: var(--surface);
    width: calc(100% - 440px);

	height: calc(100% - 80px)
}

#checkout #payment{
	width: 353px
}

#checkout .order-table .shop_table{
border: none;
    margin: 0;
    border-radius: 0;
}

#checkout .shop_table thead{
	display: none
}

#checkout .woocommerce table.shop_table tbody td{
	border-top: none
    border-bottom: 1px solid var(--border);
}

#checkout .woocommerce table.shop_table tbody td.product-name {
	display: flex;
align-items: center;
gap:10px;
	border-bottom: 1px solid var(--border);
padding: 5px 0 15px
}


#checkout .woocommerce table.shop_table tbody td.product-name .item-icon{
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #261f3e;
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
#checkout .woocommerce table.shop_table tbody td.product-total{
    font-size: 15px;
    font-weight: 600;
    color: var(--purple2);
    font-family: 'DM Mono', monospace;
	    padding: 5px 0 15px;
	text-align: right;
	border-bottom: 1px solid var(--border);
}

#checkout .woocommerce table.shop_table tfoot .tax-rate,
#checkout .woocommerce table.shop_table tfoot .cart-subtotal {
    font-size: 13px;
    color: var(--muted);
}

#checkout .woocommerce table.shop_table tfoot .tax-rate th,
#checkout .woocommerce table.shop_table tfoot .cart-subtotal th{
	    font-size: 13px;
    color: var(--muted);
text-transform: none;
		padding: 10px 0;
	border-bottom: none;
	font-weight: 400;
    border-top: 1px solid #1f1d2e;
}

#checkout .woocommerce table.shop_table tfoot .tax-rate td ,
#checkout .woocommerce table.shop_table tfoot .cart-subtotal td {
	padding: 10px 0;
	    text-align: right;
	border-bottom: none;
	    border-top: 1px solid #1f1d2e;
}
#checkout .woocommerce table.shop_table tfoot .tax-rate td ,
#checkout .woocommerce table.shop_table tfoot .cart-subtotal td span{
	    color: var(--text);
    font-weight: 500;

}

#checkout .woocommerce table.shop_table tfoot .order-total th,
#checkout .woocommerce table.shop_table tfoot .order-total td{
		padding: 10px 0;
}

#checkout .woocommerce table.shop_table tfoot .order-total th{
	border-bottom: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

#checkout .woocommerce table.shop_table tfoot .order-total td{
  text-align: right;
    color: var(--purple2);
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    font-weight: 600;
}

#checkout .woocommerce-privacy-policy-text{
	    font-size: 13px;
    text-align: justify;
}

#checkout #add_payment_method #payment div.payment_box, 
#checkout .woocommerce-cart #payment div.payment_box, 
#checkout .woocommerce-checkout #payment div.payment_box{
	background-color: #1c1e1e;
	border-radius: 4px;
    border: 1px solid #dcd7e2;
}

#checkout #add_payment_method #payment div.payment_box::before, 
#checkout .woocommerce-cart #payment div.payment_box::before, 
#checkout .woocommerce-checkout #payment div.payment_box::before{
	content: none
}

#checkout .testmode-info{
	color: #fff;
	margin-bottom: 20px
}

#checkout #wc-stripe-upe-form{
    border: none;
}
#checkout #place_order{
    text-transform: capitalize;
}
.badge-purple {
	background: var(--accent-bg);
    color: var(--accent);
}

#tab-billing hr::before,
#tab-billing hr:after {
	display: none
}

.credit-page-btn:hover {
	text-decoration: none
}