/* Legal & compliance pages */
.legal-body {
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 48px;
}

.legal-page {
  max-width: 640px;
}

.legal-card {
  padding: 28px 24px 20px;
}

.legal-title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  color: #e5e7eb;
}

.legal-updated,
.legal-intro {
  margin: 0 0 20px;
  font-size: 13px;
  color: #9ca3af;
}

.legal-content {
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.legal-content h2 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #e5e7eb;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 12px;
}

.legal-content a {
  color: #38bdf8;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-footer {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}

.legal-footer a {
  color: #9ca3af;
  text-decoration: none;
}

.legal-footer a:hover {
  color: #38bdf8;
}

/* Report page */
.report-email {
  margin-bottom: 16px !important;
}

.report-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.report-form .field-group {
  margin: 0;
}

.report-textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-family: inherit;
  resize: vertical;
}

.report-textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
}

/* Cookie banner & popup */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-banner-text {
  font-size: 13px;
  color: #d1d5db;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner-text a {
  color: #38bdf8;
  text-decoration: none;
}

.cookie-banner-text a:hover {
  text-decoration: underline;
}

.cookie-banner-btns {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.1s, transform 0.08s;
}

.cookie-btn--accept {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
}

.cookie-btn--accept:hover {
  opacity: 0.95;
  transform: translateY(-0.5px);
}

.cookie-btn--learn {
  background: rgba(55, 65, 81, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.cookie-btn--learn:hover {
  border-color: #38bdf8;
  color: #f0f9ff;
}

/* Site footer (index + legal) */
.site-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 12px;
  color: #9ca3af;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.site-footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #38bdf8;
}

.site-footer-cookie {
  font-size: 11px;
  color: #6b7280;
}

.site-footer-cookie a {
  color: #38bdf8;
  text-decoration: none;
}

.site-footer-cookie a:hover {
  text-decoration: underline;
}

/* Content safety notice */
.content-safety-notice {
  font-size: 12px;
  color: #9ca3af;
  margin: 8px 0 0;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(55, 65, 81, 0.4);
  border: 1px solid rgba(55, 65, 81, 0.6);
}

.content-safety-notice--result {
  margin-top: 10px;
}

.recharge-box {
  margin: 16px 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(55, 65, 81, 0.4);
  text-align: center;
}

.recharge-price { font-size: 24px; font-weight: 600; margin: 0 0 4px; color: #e5e7eb; }
.recharge-points { font-size: 14px; color: #9ca3af; margin: 0 0 12px; }

.admin-tabs { display: flex; gap: 8px; margin: 16px 0; }
.admin-tabs button { padding: 8px 14px; border-radius: 8px; border: 1px solid rgba(55,65,81,0.9); background: rgba(15,23,42,0.9); color: #e5e7eb; cursor: pointer; }
.admin-tabs button.active { border-color: #38bdf8; background: rgba(56,189,248,0.15); }
.admin-tab { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(55,65,81,0.6); }
.admin-table th { color: #9ca3af; font-weight: 500; }
.adjust-input { width: 60px; padding: 4px 6px; margin-right: 6px; border-radius: 6px; border: 1px solid rgba(55,65,81,0.9); background: rgba(15,23,42,0.9); color: #e5e7eb; }
.account-log { margin: 8px 0; font-size: 13px; color: #d1d5db; }
.account-log div { padding: 4px 0; border-bottom: 1px solid rgba(55,65,81,0.5); }
