/* ============================================================
   WebEveryone — app.css
   Brown / amber accent theme on top of Tailwind CDN
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Gradient text ── */
.we-grad {
  background: linear-gradient(135deg, #c2410c, #d97706, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.we-nav {
  background: rgba(3,7,18,.96);
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.we-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.we-nav-link {
  display: inline-flex; align-items: center;
  padding: .375rem .75rem; border-radius: .5rem;
  font-size: .875rem; color: #9ca3af; font-weight: 500;
  background: none; border: none;
  transition: color .15s, background .15s; white-space: nowrap;
}
.we-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

/* Logo */
.we-logo {
  display: inline-flex; align-items: center; gap: .625rem;
  color: #fff; font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.2rem;
}
.we-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #c2410c, #92400e);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(194,65,12,.4); color: #fff; font-size: 14px; flex-shrink: 0;
}
.we-logo-icon-sm { width: 28px; height: 28px; border-radius: 6px; font-size: 11px; }
.we-logo-text {
  display: inline-flex; flex-direction: row; align-items: baseline;
}
.we-logo-line1, .we-logo-line2 { display: inline; }
@media (max-width: 480px) {
  .we-logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
  .we-logo { font-size: .8rem; gap: .4rem; }
  .we-logo-line1 { font-size: .72rem; }
  .we-logo-line2 { font-size: .72rem; }
}

/* Dropdown */
.we-dropdown { position: relative; }
.we-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 260px;
  background: #111827; border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: .5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,.6); z-index: 200;
  margin-top: 0; padding-top: 1rem;
}
.we-dropdown-menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.we-dropdown:hover .we-dropdown-menu { display: block; }
.we-dd-item {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .75rem; border-radius: 8px;
  font-size: .8125rem; color: #9ca3af;
  transition: background .15s, color .15s;
}
.we-dd-item:hover { background: rgba(255,255,255,.07); color: #fff; }

/* Mobile nav */
.we-mobile-nav {
  display: none;
  background: #0d1117; border-top: 1px solid rgba(255,255,255,.08);
  padding: .5rem 0 1rem;
}
.we-mobile-nav.is-open { display: block; }
.we-mob-link {
  display: flex; align-items: center;
  padding: .65rem 1.25rem; color: #9ca3af; font-size: .9rem;
  transition: background .15s, color .15s;
}
.we-mob-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.we-mob-tools-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: .65rem 1.25rem; color: #9ca3af; font-size: .9rem;
  width: 100%; background: none; border: none; text-align: left;
  transition: color .15s;
}
.we-mob-tools-toggle:hover { color: #fff; }
.we-chev { transition: transform .2s; }
.we-mob-tools-toggle.open .we-chev { transform: rotate(180deg); }
.we-mob-tools-list { display: none; background: rgba(0,0,0,.2); }
.we-mob-tools-list.open { display: block; }
.we-mob-divider { height: 1px; background: rgba(255,255,255,.07); margin: .4rem 1.25rem; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.we-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.4rem;
  background: linear-gradient(135deg, #c2410c, #92400e);
  color: #fff; border-radius: .75rem;
  font-weight: 600; font-size: .9375rem; border: none;
  box-shadow: 0 4px 14px rgba(194,65,12,.35);
  transition: opacity .15s, transform .15s;
}
.we-btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.we-btn-primary:active { transform: translateY(0); }
.we-btn-sm { padding: .4rem 1rem; font-size: .875rem; }

.we-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.4rem;
  background: rgba(255,255,255,.07); color: #d1d5db;
  border-radius: .75rem; font-weight: 500; font-size: .9375rem;
  border: 1px solid rgba(255,255,255,.1);
  transition: background .15s, color .15s;
}
.we-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.we-btn-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: .875rem;
  background: linear-gradient(135deg, #c2410c, #92400e);
  color: #fff; border-radius: .75rem;
  font-weight: 600; font-size: 1rem; border: none;
  box-shadow: 0 4px 14px rgba(194,65,12,.35);
  transition: opacity .15s, transform .15s;
}
.we-btn-check:hover { opacity: .9; transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   FLASH MESSAGES
══════════════════════════════════════════════ */
.we-flash {
  display: flex; align-items: center; gap: .625rem;
  padding: .75rem 1.5rem; font-size: .875rem; font-weight: 500;
}
.we-flash-success {
  background: rgba(20,83,45,.5); border-bottom: 1px solid rgba(34,197,94,.2); color: #86efac;
}
.we-flash-error {
  background: rgba(127,29,29,.5); border-bottom: 1px solid rgba(239,68,68,.2); color: #fca5a5;
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.we-hero {
  padding: 5rem 1.5rem 4rem; text-align: center;
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(194,65,12,.12), transparent);
}
.we-hero-inner { max-width: 720px; margin: 0 auto; }
.we-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(194,65,12,.12); border: 1px solid rgba(194,65,12,.3);
  border-radius: 9999px; padding: .375rem 1rem;
  font-size: .875rem; font-weight: 500; color: #f97316; margin-bottom: 1.5rem;
}
.we-hero-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  color: #fff; line-height: 1.1; margin: 0 0 1.25rem;
}
.we-hero-sub {
  color: #9ca3af; font-size: 1.125rem; line-height: 1.7;
  max-width: 540px; margin: 0 auto 2.5rem;
}
.we-hero-btns {
  display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center;
}

/* ══════════════════════════════════════════════
   TOOLS SECTION
══════════════════════════════════════════════ */
.we-tools-section { padding: 3rem 1.5rem; }
.we-section-inner { max-width: 1200px; margin: 0 auto; }
.we-section-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2rem;
  color: #fff; text-align: center; margin: 0 0 .5rem;
}
.we-section-sub { color: #6b7280; text-align: center; margin: 0 0 2.5rem; }

.we-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.we-tool-card {
  display: flex; flex-direction: column;
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem; padding: 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.we-tool-card:hover {
  border-color: rgba(194,65,12,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.we-tool-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem; flex-shrink: 0;
}
.we-tool-name {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
  color: #fff; margin: 0 0 .375rem;
}
.we-tool-desc {
  color: #6b7280; font-size: .875rem; line-height: 1.5; margin: 0 0 1rem; flex: 1;
}
.we-tool-arrow {
  font-size: .8125rem; font-weight: 600; color: #d97706;
  display: flex; align-items: center; gap: .375rem;
}

/* ══════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════ */
.we-features-section { padding: 3rem 1.5rem; background: rgba(255,255,255,.02); }
.we-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.we-feature-card {
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem; padding: 1.5rem;
}
.we-feature-icon { font-size: 1.5rem; margin-bottom: .75rem; }
.we-feature-title {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9375rem;
  color: #fff; margin: 0 0 .375rem;
}
.we-feature-desc { color: #6b7280; font-size: .875rem; line-height: 1.5; margin: 0; }

/* ══════════════════════════════════════════════
   TOOL PAGE
══════════════════════════════════════════════ */
.we-tool-page { padding: 3rem 1.5rem; }
.we-tool-header { text-align: center; margin-bottom: 2.5rem; }
.we-tool-header-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.we-tool-page-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem); color: #fff; margin: 0 0 .75rem;
}
.we-tool-page-sub { color: #9ca3af; font-size: 1rem; line-height: 1.6; max-width: 600px; margin: 0 auto; }

.we-checker-card {
  max-width: 680px; margin: 0 auto;
  background: #111827; border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.25rem; padding: 2rem;
}
.we-input-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.we-url-input {
  flex: 1; min-width: 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem; padding: .75rem 1rem;
  color: #fff; font-size: .9375rem; font-family: inherit;
  transition: border-color .15s;
  outline: none;
}
.we-url-input:focus { border-color: rgba(194,65,12,.5); }
.we-url-input::placeholder { color: #4b5563; }

/* Result card */
.we-result { margin-top: 1.75rem; display: none; }
.we-result.visible { display: block; }
.we-result-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem; overflow: hidden;
}
.we-result-header {
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.we-result-status {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9375rem; flex-shrink: 0;
}
.we-status-up, .we-status-good { background: rgba(34,197,94,.15); color: #22c55e; }
.we-status-down, .we-status-bad { background: rgba(239,68,68,.15); color: #ef4444; }
.we-status-warn { background: rgba(245,158,11,.15); color: #f59e0b; }
.we-status-info { background: rgba(194,65,12,.15); color: #f97316; }

.we-result-title { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; }
.we-result-sub   { color: #6b7280; font-size: .8125rem; }
.we-result-body  { padding: 1.25rem; }

/* Stats grid */
.we-stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .875rem;
  margin-bottom: 1.25rem;
}
.we-stat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: .75rem; padding: .875rem; text-align: center;
}
.we-stat-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.25rem; color: #fff; }
.we-stat-lbl { font-size: .75rem; color: #6b7280; margin-top: .25rem; }

/* Header table */
.we-table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.we-table th {
  text-align: left; padding: .5rem .75rem;
  color: #9ca3af; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em;
  background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06);
}
.we-table td {
  padding: .5rem .75rem; color: #d1d5db;
  border-bottom: 1px solid rgba(255,255,255,.04); word-break: break-all;
}
.we-table tr:last-child td { border-bottom: none; }
.we-table tr:hover td { background: rgba(255,255,255,.02); }

/* Code block */
.we-code {
  background: #0d1117; border: 1px solid rgba(255,255,255,.08);
  border-radius: .75rem; padding: 1rem; overflow: auto; max-height: 500px;
  font-family: 'Fira Code', 'Cascadia Code', monospace; font-size: .8125rem;
  color: #e5e7eb; white-space: pre; tab-size: 2; line-height: 1.6;
}
.we-code-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .625rem;
}
.we-code-label { font-size: .75rem; color: #6b7280; font-weight: 500; }

/* Check badge */
.we-check-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 600;
}
.we-badge-pass { background: rgba(34,197,94,.12); color: #22c55e; border: 1px solid rgba(34,197,94,.2); }
.we-badge-fail { background: rgba(239,68,68,.12); color: #ef4444; border: 1px solid rgba(239,68,68,.2); }
.we-badge-warn { background: rgba(245,158,11,.12); color: #f59e0b; border: 1px solid rgba(245,158,11,.2); }

/* Progress bar */
.we-progress-wrap { background: rgba(255,255,255,.07); border-radius: 9999px; height: 8px; overflow: hidden; }
.we-progress-bar  { height: 100%; border-radius: 9999px; transition: width .5s ease; }

/* Tags */
.we-tag-list { display: flex; flex-direction: column; gap: .5rem; }
.we-tag-item {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: .625rem; padding: .75rem; font-size: .8125rem;
}
.we-tag-item .lang  { color: #f97316; font-weight: 600; }
.we-tag-item .url   { color: #9ca3af; word-break: break-all; }
.we-tag-item .raw   { color: #6b7280; font-family: monospace; font-size: .75rem; margin-top: .375rem; }

/* Link list */
.we-link-section { margin-bottom: 1.25rem; }
.we-link-section h4 { font-size: .875rem; font-weight: 600; color: #9ca3af; margin: 0 0 .625rem; }
.we-link-list { display: flex; flex-direction: column; gap: .375rem; max-height: 320px; overflow-y: auto; }
.we-link-item {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: .5rem; padding: .5rem .75rem;
}
.we-link-item .anchor { color: #d1d5db; font-size: .8125rem; }
.we-link-item .href   { color: #6b7280; font-size: .75rem; word-break: break-all; }

/* Loader */
.we-loader {
  display: none; text-align: center; padding: 2rem;
}
.we-loader.visible { display: block; }
.we-spinner {
  width: 40px; height: 40px; margin: 0 auto .75rem;
  border: 3px solid rgba(194,65,12,.2);
  border-top-color: #c2410c;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.we-footer {
  background: #080d18; border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 1.5rem 0;
}
.we-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 900px) {
  .we-footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .we-footer-inner { grid-template-columns: 1fr; }
}
.we-footer-heading { font-size: .75rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .875rem; }
.we-footer-link {
  display: block; color: #6b7280; font-size: .875rem;
  padding: .2rem 0; transition: color .15s;
}
.we-footer-link:hover { color: #d97706; }
.we-footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8125rem; color: #4b5563; text-align: center;
}

/* ══════════════════════════════════════════════
   AUTH
══════════════════════════════════════════════ */
.we-auth-body {
  background: #030712; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
}
.we-auth-wrap { width: 100%; max-width: 440px; padding: 1.5rem; }
.we-auth-logo { text-align: center; margin-bottom: 2rem; }
.we-auth-card {
  background: #111827; border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.25rem; padding: 2rem;
}
.we-auth-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.625rem; color: #fff; margin: 0 0 .375rem; }
.we-auth-sub   { color: #6b7280; font-size: .875rem; margin: 0 0 1.75rem; }
.we-auth-footer { text-align: center; color: #4b5563; font-size: .8125rem; margin-top: 1.25rem; }
.we-auth-switch { text-align: center; font-size: .875rem; color: #6b7280; margin-top: 1.25rem; }
.we-auth-switch a { color: #d97706; font-weight: 600; }
.we-auth-switch a:hover { color: #f59e0b; }

.we-form { display: flex; flex-direction: column; gap: 1rem; }
.we-field { display: flex; flex-direction: column; gap: .375rem; }
.we-label { font-size: .875rem; font-weight: 500; color: #9ca3af; }
.we-input-wrap { position: relative; }
.we-field-icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  color: #4b5563; font-size: .875rem; pointer-events: none;
}
.we-input {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: .75rem;
  padding: .75rem 1rem .75rem 2.5rem; color: #fff; font-size: .9375rem;
  font-family: inherit; outline: none; transition: border-color .15s;
}
.we-input:focus { border-color: rgba(194,65,12,.5); }
.we-input::placeholder { color: #4b5563; }
.we-pw-toggle {
  position: absolute; right: .75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #4b5563; padding: .25rem;
}
.we-pw-toggle:hover { color: #9ca3af; }

.we-demo-creds {
  margin-top: 1.25rem; background: rgba(194,65,12,.08);
  border: 1px solid rgba(194,65,12,.2); border-radius: .75rem;
  padding: .75rem 1rem; text-align: center;
}
.we-demo-creds p { font-size: .75rem; color: #9ca3af; margin: 0 0 .25rem; }
.we-demo-creds code { font-size: .8125rem; color: #f97316; }

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.we-dash { padding: 2.5rem 1.5rem; }
.we-dash-inner { max-width: 1200px; margin: 0 auto; }
.we-dash-header { margin-bottom: 2rem; }
.we-dash-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.75rem; color: #fff; margin: 0 0 .25rem; }
.we-dash-sub    { color: #6b7280; }

/* ══════════════════════════════════════════════
   ADMIN
══════════════════════════════════════════════ */
.we-admin-body { background: #080d18; min-height: 100vh; font-family: 'DM Sans', sans-serif; }
.we-admin-layout { display: flex; min-height: 100vh; }
.we-sidebar {
  width: 240px; flex-shrink: 0;
  background: #0d1117; border-right: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.we-sidebar-logo {
  padding: 1.25rem 1.25rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.we-sidebar-nav { padding: .75rem 0; flex: 1; }
.we-sidebar-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem 1.25rem; color: #6b7280; font-size: .875rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.we-sidebar-link:hover, .we-sidebar-link.active { background: rgba(194,65,12,.1); color: #f97316; }
.we-sidebar-link i { width: 16px; text-align: center; }
.we-admin-main { flex: 1; padding: 2rem; min-width: 0; }
.we-admin-header { margin-bottom: 1.75rem; }
.we-admin-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; margin: 0; }

.we-stats-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem;
  margin-bottom: 2rem;
}
.we-stat-card {
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem; padding: 1.25rem;
}
.we-stat-card-val { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.875rem; color: #fff; }
.we-stat-card-lbl { font-size: .8125rem; color: #6b7280; margin-top: .25rem; }
.we-stat-card-icon { font-size: 1.25rem; margin-bottom: .75rem; }

.we-panel {
  background: #111827; border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem; overflow: hidden; margin-bottom: 1.5rem;
}
.we-panel-header {
  padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: .9375rem;
}
.we-panel-body { padding: 1.25rem; }

.we-admin-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.we-admin-table th {
  text-align: left; padding: .625rem 1rem;
  color: #6b7280; font-weight: 600; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .05em;
  background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.06);
}
.we-admin-table td {
  padding: .75rem 1rem; color: #d1d5db;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.we-admin-table tr:last-child td { border-bottom: none; }
.we-admin-table tr:hover td { background: rgba(255,255,255,.02); }

.we-badge {
  display: inline-flex; align-items: center;
  padding: .2rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 600;
}
.we-badge-admin { background: rgba(194,65,12,.15); color: #f97316; }
.we-badge-user  { background: rgba(99,102,241,.12); color: #a5b4fc; }
.we-badge-active   { background: rgba(34,197,94,.12); color: #22c55e; }
.we-badge-inactive { background: rgba(239,68,68,.12); color: #f87171; }

.we-action-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .75rem; border-radius: .5rem; font-size: .75rem; font-weight: 600;
  border: none; cursor: pointer; transition: opacity .15s;
}
.we-action-btn:hover { opacity: .8; }
.we-btn-toggle  { background: rgba(245,158,11,.12); color: #f59e0b; }
.we-btn-delete  { background: rgba(239,68,68,.12);  color: #f87171; }
.we-btn-promote { background: rgba(194,65,12,.12);  color: #f97316; }
.we-btn-save    { background: linear-gradient(135deg,#c2410c,#92400e); color:#fff; padding:.6rem 1.5rem; border-radius:.75rem; font-size:.9rem; }

/* Forms in admin */
.we-form-group { margin-bottom: 1.25rem; }
.we-form-label { display: block; font-size: .875rem; font-weight: 500; color: #9ca3af; margin-bottom: .375rem; }
.we-form-input {
  width: 100%; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: .75rem;
  padding: .75rem 1rem; color: #fff; font-size: .9375rem; font-family: inherit;
  outline: none; transition: border-color .15s;
}
.we-form-input:focus { border-color: rgba(194,65,12,.4); }
.we-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.we-toggle-row:last-child { border-bottom: none; }
.we-toggle-label { font-size: .9375rem; color: #d1d5db; }
.we-toggle-desc  { font-size: .8125rem; color: #6b7280; margin-top: .15rem; }
.we-toggle {
  position: relative; width: 44px; height: 24px;
  background: rgba(255,255,255,.1); border-radius: 9999px;
  cursor: pointer; transition: background .2s; flex-shrink: 0;
}
.we-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.we-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform .2s;
}
.we-toggle input:checked ~ .we-toggle-thumb { transform: translateX(20px); }
.we-toggle:has(input:checked) { background: #c2410c; }

/* Pagination */
.we-pagination { display: flex; gap: .375rem; justify-content: center; margin-top: 1.25rem; flex-wrap: wrap; }
.we-page-btn {
  padding: .4rem .75rem; border-radius: .5rem; font-size: .8125rem; font-weight: 500;
  background: rgba(255,255,255,.05); color: #9ca3af; border: none; cursor: pointer;
  transition: background .15s, color .15s;
}
.we-page-btn:hover, .we-page-btn.active { background: rgba(194,65,12,.2); color: #f97316; }

/* Spin button helpers */
.btn-label { display: inline; }
.btn-spin  { display: none; }
.is-loading .btn-label { display: none; }
.is-loading .btn-spin  { display: inline; }

/* Sidebar mobile */
@media (max-width: 768px) {
  .we-admin-layout { flex-direction: column; }
  .we-sidebar { width: 100%; height: auto; position: static; }
  .we-admin-main { padding: 1rem; }
}

/* ══════════════════════════════════════════════
   PAGES (About, Contact, etc.)
══════════════════════════════════════════════ */
.we-page { padding: 4rem 1.5rem; }
.we-page-inner { max-width: 760px; margin: 0 auto; }
.we-page-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2rem,5vw,3rem); color: #fff; margin: 0 0 1rem; }
.we-page-body { color: #9ca3af; line-height: 1.8; }
.we-page-body h2 { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.375rem; margin: 2rem 0 .75rem; }
.we-page-body h3 { font-family: 'Syne', sans-serif; font-weight: 600; color: #d1d5db; font-size: 1.125rem; margin: 1.5rem 0 .5rem; }
.we-page-body p  { margin: 0 0 1.25rem; }
.we-page-body a  { color: #d97706; }
.we-page-body a:hover { color: #f59e0b; }

/* Error page */
.we-error { padding: 6rem 1.5rem; text-align: center; }
.we-error-code { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 6rem; color: rgba(255,255,255,.07); line-height: 1; }
.we-error-msg  { font-size: 1.125rem; color: #6b7280; margin-bottom: 1.5rem; }

/* Select input */
.we-select {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: .75rem; padding: .75rem 1rem;
  color: #fff; font-size: .9375rem; font-family: inherit;
  outline: none; cursor: pointer;
}
.we-select:focus { border-color: rgba(194,65,12,.5); }
.we-select option { background: #111827; }

/* WWW result rows */
.we-www-row {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: .875rem 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.we-www-row:last-child { border-bottom: none; }
.we-www-icon { font-size: 1rem; flex-shrink: 0; margin-top: .15rem; }
.we-www-url  { font-size: .875rem; color: #9ca3af; word-break: break-all; }
.we-www-status { font-size: .8125rem; font-weight: 600; }
