html, body {
  height: 100%;
  margin: 0;
}

.hidden { display: none !important; }

body {
  margin: 0;
  background: #0e0e0e;
  color: #eee;
  font-family: sans-serif;
  min-height: 100%;
}

/* ===== APP LAYOUT ===== */
#app {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
#sidebar {
  width: 260px;
  background: #111;
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-list {
  margin-top: 10px;
}

.chat-item {
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.chat-item.active {
  background: #333;
}

.chat-item:hover {
  background: #222;
}

/* ===== MAIN ===== */
#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}



.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ===== PERSONA CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 15px 0;
}

.persona-card {
  background: #1a1a1a;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.persona-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.persona-card.active {
  outline: 2px solid #ff0066;
}

.persona-card.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.persona-card h3 {
  margin: 0 0 6px 0;
}

.persona-card p {
  font-size: 14px;
  margin: 0;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 4px;
}

.badge.free {
  background: #2ecc71;
  color: #000;
}

.badge.premium {
  background: #ff0066;
  color: #fff;
}

/* ===== CHAT ===== */
#chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  min-height: 0; /* ważne dla scroll w flex */
  height: 100%;
}

#messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* input na dole */
#input {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px;
  background: #0e0e0e;
  border-top: 1px solid #222;
}

/* textarea zajmuje CAŁĄ szerokość */
#input textarea {
  flex: 1;
  width: 100%;
  resize: none;
  min-height: 48px;
  max-height: 160px;
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 12px;
}

/* przycisk WYŚLIJ po PRAWEJ */
#input button,
#send {
  flex-shrink: 0;
  padding: 12px 16px;
  border-radius: 12px;
  height: 48px;
  align-self: flex-end;
}


#send {
  padding: 0 16px;
}

/* ===== CHAT BUBBLES ===== */
.msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.msg-user {
  align-self: flex-end;
  background: #ff0066;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-ai {
  align-self: flex-start;
  background: #222;
  color: #eee;
  border-bottom-left-radius: 4px;
}

.msg-ai.typing {
  opacity: 0.6;
  font-style: italic;
}

button {
  padding: 10px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== MODALE / OVERLAY ===== */
.modal,
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal.hidden,
.overlay.hidden {
  display: none;
}

.modal-box,
.overlay-box {
  background: #111;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  max-width: 420px;
  width: calc(100% - 40px);
}

.overlay-box button {
  margin-top: 12px;
  width: 100%;
}

/* ===== WALLET MODAL ===== */
.wallet-box {
  max-width: 420px;
  text-align: center;
}

.wallet-packs {
  display: grid;
  gap: 15px;
  margin: 20px 0;
}

.wallet-pack {
  position: relative;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #444;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wallet-pack:hover {
  border-color: #ff0066;
}

.wallet-pack strong {
  font-size: 18px;
}

.wallet-pack .price {
  font-size: 16px;
  color: #ff0066;
}

.wallet-pack .old-price {
  text-decoration: line-through;
  font-size: 13px;
  color: #888;
}

.wallet-pack.promo {
  border-color: #ff0066;
}

.wallet-pack.best {
  box-shadow: 0 0 15px rgba(255,0,102,0.4);
}

.wallet-pack .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff0066;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.close-btn {
  margin-top: 15px;
}

.wallet-pay {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}


/* ===== TOASTS ===== */
#toasts {
  position: fixed;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2000;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #111;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.toast .t-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.toast .t-msg {
  opacity: 0.9;
  font-size: 13px;
  line-height: 1.35;
}

.toast .t-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #bbb;
  cursor: pointer;
  padding: 0 4px;
  font-size: 16px;
}

.toast.success { border-color: rgba(46, 204, 113, 0.45); }
.toast.error   { border-color: rgba(255, 0, 102, 0.55); }
.toast.info    { border-color: rgba(120, 120, 120, 0.6); }


/* ===== UI SYSTEM (modal/forms/buttons) ===== */
.modal-box h2,
.modal-box h3 {
  margin: 0 0 10px 0;
}

.modal-box p {
  margin: 8px 0;
}

/* inputs */
.modal-box input,
.modal-box textarea,
.modal-box select {
  width: 100%;
  box-sizing: border-box;
  background: #0e0e0e;
  color: #eee;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  margin-top: 8px;
}

.modal-box input:focus,
.modal-box textarea:focus,
.modal-box select:focus {
  border-color: #ff0066;
}

/* buttons */
.btn {
  width: 100%;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  background: #1a1a1a;
  color: #eee;
}

.btn:hover {
  border-color: #ff0066;
}

.btn-primary {
  background: #ff0066;
  border-color: #ff0066;
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
}

.btn-danger {
  background: #1a1a1a;
  border-color: rgba(255, 0, 102, 0.6);
}

.btn-danger:hover {
  border-color: #ff0066;
}

.row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.row .btn {
  width: auto;
  flex: 1;
}

.divider {
  height: 1px;
  background: #222;
  margin: 14px 0;
  opacity: 0.8;
}

.muted {
  opacity: 0.75;
  font-size: 13px;
}

.badge-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #333;
  font-size: 12px;
  margin-left: 6px;
}

.badge-ok {
  border-color: rgba(46, 204, 113, 0.45);
}

.badge-bad {
  border-color: rgba(255, 0, 102, 0.55);
}

/* ===== TOPBAR BUTTONS ===== */
.topbar button {
  background: #1a1a1a;
  color: #eee;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.topbar button:hover {
  border-color: #ff0066;
}

.topbar button.primary {
  background: #ff0066;
  border-color: #ff0066;
  color: #fff;
}

.topbar button.ghost {
  background: transparent;
}
/* ===== APP LAYOUT ===== */
.app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px;
  box-sizing: border-box;
  display: flex;
  height: 100vh;          /* 🔥 KLUCZ */
  width: 100%;
  overflow: hidden;
}

@media (max-width: 900px) {
  .app {
    padding: 10px;
  }
}
/* ===== MODAL LOOK ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
}

.modal-box {
  background: #0f0f0f;
  border-radius: 18px;
  padding: 18px;
  width: 100%;
  max-width: 420px;
  border: 1px solid #2a2a2a;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.02);
  animation: modalIn 0.18s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal-box {
  max-height: 90vh;
  overflow-y: auto;
}
/* ===== LAYOUT (SIDEBAR + MAIN) ===== */
.layout {
  display: flex;
  gap: 14px;
  min-height: 100%;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0f0f0f;
  border: 1px solid #222;
  border-radius: 16px;
  padding: 0;            /* ❗ padding przenosimy niżej */
  min-width: 0;
  overflow: hidden;      /* 🔥 KLUCZ */
}
.main > section {
  padding: 10px;
}


/* chat list */
#chat-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}
/* icon button */
.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 1px solid #222;
}
.chat-item {
  background: transparent !important;
  border: none !important;
  flex: 1;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
}

.chat-item:hover {
  background: #161616;
  border-color: #222;
}

.chat-item.active {
  background: #1a1a1a;
  border-color: #ff0066;
}
.modal,
.overlay {
  cursor: pointer;
}

.modal-box,
.overlay-box {
  cursor: default;
}
/* ===== MOBILE SIDEBAR ===== */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1200;
}

/* MOBILE */
@media (max-width: 900px) {
  .layout {
  display: flex;
  gap: 14px;
  min-height: calc(100dvh - 28px); /* zamiast sztywnego height */
}

  /* main full width */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    min-height: 100vh;
    width: 85vw;
    max-width: 320px;
    z-index: 1300;
    transform: translateX(-110%);
    transition: transform 0.18s ease;
    border-radius: 0 16px 16px 0;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  /* main gets full width */
  .main {
    width: 100%;
  }

  /* topbar compress */
  .topbar {
    gap: 8px;
  }

  #status {
    font-size: 12px;
    line-height: 1.2;
  }


  /* modal wider */
  .modal-box,
  .overlay-box {
    width: calc(100vw - 24px);
    max-width: 520px;
  }
}
/* ===== MOBILE INPUT ZOOM FIX ===== */
@media (max-width: 900px) {
  input,
  textarea,
  select {
    font-size: 16px !important;
  }
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  flex-wrap: nowrap;
}
/* ===== APP HEADER ===== 

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #222;
}

.app-title {
  font-weight: 700;
  font-size: 16px;
}
*/
@media (max-width: 900px) {
  /* topbar ma działać na 2 linie, bez chowania przycisków */
  .topbar{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;          /* <<< klucz */
  }

  /* hamburger zawsze po lewej */
  #sidebar-toggle{
    order: 0;
  }

  /* status obok hamburgera, skraca się elegancko */
  #status{
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    opacity: .95;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* przyciski logowania/konta/doładuj/wyloguj w drugiej linii */
  #wallet-btn, #login-btn, #account-btn, #logout-btn{
    order: 2;
    flex: 1 1 calc(50% - 8px);   /* 2 w rzędzie */
    min-width: 140px;
  }
}



@media (min-width: 901px) {
  #mobile-menu {
    display: none;
  }
}

@media (max-width: 900px) {
  #mobile-menu {
    display: inline-block;
  }
}
/* hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden;
}
/* hamburger zawsze po lewej, niezależnie od flexa */

/* chat scroll, nie body */
#chat {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#messages {
  flex: 1;
  overflow-y: auto;
}
header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 12px 0 44px;
  border-bottom: 1px solid #222;
  background: #0e0e0e;
  flex-shrink: 0;
}


/* === HAMBURGER === */
/* ===== HAMBURGER (JEDYNA DEFINICJA) ===== */
.hamburger {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 22px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #eaeaea;
  border-radius: 2px;
}
/* === FIX HAMBURGER LINES (OVERRIDE GLOBAL STYLES) === */
.hamburger span {
  background-color: #eaeaea !important;
  height: 3px !important;
  width: 100% !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.hamburger {
  width: 28px !important;
  height: 22px !important;
}
.chat-item-row {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 6px 8px;
  width: 100%;
  box-sizing: border-box;

  border: 2px solid transparent;   /* 🔥 KLUCZ */
  border-radius: 8px;
}

.chat-delete {
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  font-size: 14px;
}

.chat-delete:hover {
  opacity: 1;
}
.chat-edit {
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  margin-left: 6px;
  border-radius: 6px;
}

.chat-edit:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.chat-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-item-row button {
  flex-shrink: 0;
}


.chat-item-row.active {
  border: 2px solid #ff0066;
  border-radius: 8px;
  background: transparent;
}


.chat-item-row.active .chat-item {
  color: #fff;
}
.chat-item-row,
.chat-item-row * {
  transform: none !important;
}

.chat-item-row:active,
.chat-item-row *:active {
  transform: none !important;
}
.chat-item-row {
  min-height: 36px;
}
/* hamburger tylko na mobile */
@media (min-width: 901px) {
  #sidebar-toggle {
    display: none !important;
  }
}
/* ============================= */
/* CUSTOM SCROLLBAR (GLOBAL)     */
/* ============================= */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #ff0066; /* czerwony akcent */
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ff0066;
}
/* ============================= */
/* SEO LANDING CONTENT           */
/* ============================= */

.seo-content {
  max-width: 1000px;
  margin: 60px auto 40px;
  padding: 0 16px;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.9;
}

.seo-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 20px;
}

.seo-content ul {
  margin-top: 12px;
  padding-left: 20px;
}

.seo-content li {
  margin-bottom: 6px;
}

.adult-warning {
  margin: 24px auto;
  max-width: 900px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: 13px;
  opacity: 0.85;
}
.footer {
  margin-top: 40px;
  padding: 24px 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  opacity: 0.9;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-block;
  margin-right: 12px;
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 16px;
  text-align: center;
  opacity: 0.6;
}
/* ============================= */
/* AGE GATE 18+                 */
/* ============================= */

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate.hidden {
  display: none;
}

.age-gate-box {
  background: #111;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.age-gate-box h2 {
  margin-bottom: 12px;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.age-gate-buttons button {
  flex: 1;
  padding: 12px;
  font-size: 15px;
}
.legal-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px 60px;
  line-height: 1.6;
}

.legal-page h1 {
  margin-bottom: 16px;
}

.legal-page h2 {
  margin-top: 26px;
}

.legal-page ul {
  padding-left: 18px;
}
.cookies-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  background: rgba(17,17,17,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 12px;
  z-index: 999999;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}

.cookies-banner.hidden { display: none; }

.cookies-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookies-text {
  font-size: 13px;
  opacity: 0.9;
}

.cookies-text a {
  opacity: 0.9;
  text-decoration: underline;
}
/* ============================= */
/* LINKS STYLE (DARK RED GLOW)   */
/* ============================= */

a {
  color: #e63946;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #ff4d5a;
  text-shadow: 0 0 6px rgba(230, 57, 70, 0.6);
  text-decoration: underline;
}

a:active {
  color: #ff6b75;
}
/* ===== TTS BUTTON ===== */
.tts-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.75;
}

.tts-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.tts-btn:active {
  transform: scale(0.95);
}
/* ===== AUTH INPUTS – PREMIUM STYLE ===== */

.modal-box input,
.overlay-box input,
.modal-box textarea,
.overlay-box textarea {
  width: 100%;
  padding: 14px 16px;
  margin-top: 10px;
  box-sizing: border-box;


  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f5;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;

  font-size: 15px;
  line-height: 1.4;

  outline: none;
  transition: 
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


/* placeholder */
.modal-box input::placeholder,
.overlay-box input::placeholder,
.modal-box textarea::placeholder,
.overlay-box textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

/* focus – subtle glow */
.modal-box input:focus,
.overlay-box input:focus,
.modal-box textarea:focus,
.overlay-box textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 80, 160, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 80, 160, 0.15);
}

/* autofill fix (Chrome) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f5f5f5;
  -webkit-box-shadow: 0 0 0px 1000px #111 inset;
  transition: background-color 9999s ease-in-out 0s;
}

.chat-edit {
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.6;
}

.chat-edit:hover {
  opacity: 1;
  transform: scale(1.1);
}

.chat-edit:active {
  transform: scale(0.95);
}
/* ===== VERIFY / AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1a1a1a, #000);
  padding: 24px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  background: #0f0f0f;
  border-radius: 18px;
  padding: 28px 24px 32px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05),
              0 30px 60px rgba(0,0,0,0.6);
  text-align: center;
}

.auth-brand .logo {
  font-size: 40px;
  margin-bottom: 6px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.auth-brand .subtitle {
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.65;
}

.auth-status {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.auth-status.loading {
  background: rgba(255,255,255,0.05);
  opacity: 0.85;
}

.auth-status.success {
  background: rgba(0,200,120,0.15);
  color: #9af5c9;
}

.auth-status.error {
  background: rgba(255,60,60,0.15);
  color: #ffb3b3;
}
