/* ============================================================
   SEOEveryone — app.css
   Custom component layer on top of Tailwind CDN
   Red accent brand (#ef4444 / #dc2626 / #f87171)
   ============================================================ */

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

/* ── Gradient text ── */
.se-grad {
  background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.se-nav {
  background: rgba(3,7,18,.95);
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
}
.se-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.se-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;
}
.se-nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }

/* Logo */
.se-logo {
  display: inline-flex; align-items: center; gap: .625rem;
  color: #fff; font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 1.2rem;
}
.se-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(239,68,68,.35); color: #fff; font-size: 14px; flex-shrink: 0;
}
.se-logo-icon-sm { width: 28px; height: 28px; border-radius: 6px; font-size: 11px; }
.se-logo-text { display: inline-flex; flex-direction: row; align-items: baseline; }
.se-logo-line1 { display: inline; }
.se-logo-line2 { display: inline; color: #f87171; }


  .se-logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
  .se-logo { font-size: .8rem; gap: .4rem; }
  .se-logo-line1, .se-logo-line2 { font-size: .72rem; }


/* Dropdown */
.se-dropdown { position: relative; }
.se-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;
  max-height: 70vh; overflow-y: auto;
}
.se-dropdown-menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.se-dropdown:hover .se-dropdown-menu { display: block; }
.se-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;
}
.se-dd-item:hover { background: rgba(255,255,255,.07); color: #fff; }

/* Mobile nav */
.se-mobile-nav {
  display: none;
  background: #0d1117; border-top: 1px solid rgba(255,255,255,.08);
  padding: .5rem 0 1rem;
}
.se-mobile-nav.is-open { display: block; }
.se-mob-link {
  display: flex; align-items: center;
  padding: .65rem 1.25rem; color: #9ca3af; font-size: .9rem;
  transition: background .15s, color .15s;
}
.se-mob-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.se-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;
}
.se-mob-tools-toggle:hover { color: #fff; }
.se-chev { transition: transform .2s; }
.se-mob-tools-toggle.open .se-chev { transform: rotate(180deg); }
.se-mob-tools-list { display: none; background: rgba(0,0,0,.2); }
.se-mob-tools-list.open { display: block; }
.se-mob-divider { height: 1px; background: rgba(255,255,255,.07); margin: .4rem 1.25rem; }

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

.se-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;
}
.se-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Copy button */
.se-copy-btn {
  display: inline-flex; align-items: center;
  padding: .3rem .75rem; border-radius: .5rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: #9ca3af;
  transition: background .15s, color .15s;
}
.se-copy-btn:hover { background: rgba(255,255,255,.12); color: #fff; }

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

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.se-hero {
  padding: 5rem 1.5rem 4rem; text-align: center;
  background: radial-gradient(ellipse 80% 55% at 50% -10%, rgba(239,68,68,.1), transparent);
}
.se-hero-inner { max-width: 720px; margin: 0 auto; }
.se-hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25);
  border-radius: 9999px; padding: .375rem 1rem;
  font-size: .875rem; font-weight: 500; color: #f87171; margin-bottom: 1.5rem;
}
.se-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;
}
.se-hero-sub {
  color: #9ca3af; font-size: 1.125rem; line-height: 1.7;
  max-width: 560px; margin: 0 auto 2.5rem;
}
.se-hero-btns { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; }

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

.se-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}
.se-tool-card {
  display: flex; flex-direction: column; gap: .625rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 1rem; transition: border-color .2s, background .2s, transform .2s;
}
.se-tool-card:hover {
  border-color: rgba(239,68,68,.3); background: rgba(239,68,68,.04);
  transform: translateY(-2px);
}
.se-tool-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.se-tool-name  { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1rem; margin: 0; }
.se-tool-desc  { color: #6b7280; font-size: .8125rem; line-height: 1.55; margin: 0; flex: 1; }
.se-tool-arrow { font-size: .8125rem; color: #ef4444; font-weight: 500; margin-top: auto; }

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

/* ══════════════════════════════════════════════
   TOOL PAGE LAYOUT
══════════════════════════════════════════════ */
.se-tool-page { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

.se-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8125rem; color: #6b7280; margin-bottom: 1.5rem;
}
.se-breadcrumb a { color: #6b7280; transition: color .15s; }
.se-breadcrumb a:hover { color: #ef4444; }

.se-tool-layout {
  display: grid; grid-template-columns: 420px 1fr; gap: 1.5rem; align-items: start;
}
.se-tool-layout-wide { grid-template-columns: 480px 1fr; }
@media (max-width: 900px) { .se-tool-layout, .se-tool-layout-wide { grid-template-columns: 1fr; } }

.se-tool-form-wrap {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 1.25rem; padding: 1.5rem; position: sticky; top: 80px;
}
@media (max-width: 900px) { .se-tool-form-wrap { position: static; } }

.se-tool-header { display: flex; align-items: flex-start; gap: .875rem; margin-bottom: 1.5rem; }
.se-tool-icon-lg {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.se-tool-title    { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.125rem; margin: 0 0 .25rem; }
.se-tool-subtitle { color: #6b7280; font-size: .8125rem; line-height: 1.5; margin: 0; }

/* Result panel */
.se-result-wrap {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 1.25rem; padding: 1.5rem;
}
.se-result-heading {
  font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.125rem; margin: 0 0 1.25rem;
}

/* ══════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════ */
.se-form { display: flex; flex-direction: column; gap: 1rem; }
.se-field { display: flex; flex-direction: column; gap: .375rem; }
.se-label { font-size: .8125rem; font-weight: 500; color: #d1d5db; }
.se-input-wrap { position: relative; }
.se-field-icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  color: #4b5563; font-size: .875rem; pointer-events: none;
}
.se-input {
  width: 100%; padding: .6rem .875rem .6rem 2.5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: .625rem; color: #fff; font-size: .9rem; font-family: inherit;
  transition: border-color .15s;
}
.se-input:focus { outline: none; border-color: rgba(239,68,68,.4); }
.se-input::placeholder { color: #4b5563; }
.se-textarea {
  width: 100%; padding: .7rem .875rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: .625rem; color: #fff; font-size: .875rem; font-family: inherit;
  resize: vertical; line-height: 1.6;
  transition: border-color .15s;
}
.se-textarea:focus { outline: none; border-color: rgba(239,68,68,.4); }
.se-textarea::placeholder { color: #4b5563; }
.se-char-hint { font-size: .75rem; color: #4b5563; text-align: right; margin-top: .25rem; }
.se-count-badge { font-size: .75rem; font-weight: 400; color: #6b7280; margin-left: .5rem; }

/* Tab radios */
.se-tabs-group { display: flex; flex-wrap: wrap; gap: .4rem; }
.se-tab-radio input { display: none; }
.se-tab-radio span {
  display: inline-flex; align-items: center;
  padding: .35rem .85rem; border-radius: .5rem; font-size: .8rem; font-weight: 500;
  border: 1px solid rgba(255,255,255,.1); color: #6b7280;
  cursor: pointer; transition: all .15s; background: rgba(255,255,255,.04);
}
.se-tab-radio input:checked + span { background: rgba(239,68,68,.2); border-color: rgba(239,68,68,.35); color: #f87171; }

/* Checkboxes */
.se-toggle-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; }
.se-checkbox { width: 18px; height: 18px; accent-color: #ef4444; cursor: pointer; flex-shrink: 0; }
.se-checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.se-check-item { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: #9ca3af; cursor: pointer; }
.se-check-item input { accent-color: #ef4444; }

/* ══════════════════════════════════════════════
   RESULT COMPONENTS
══════════════════════════════════════════════ */
.se-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.se-mini-stat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: .75rem; padding: .875rem; text-align: center;
}
.se-mini-stat i { font-size: 1rem; margin-bottom: .375rem; display: block; }
.se-mini-val   { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; margin: 0; }
.se-mini-label { font-size: .75rem; color: #6b7280; margin: .2rem 0 0; }

/* Issue / OK badges */
.se-issue-badge {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .625rem .875rem; border-radius: .625rem;
  background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.2);
  color: #fca5a5; font-size: .8125rem; margin-bottom: .5rem;
}
.se-ok-badge {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem .875rem; border-radius: .625rem;
  background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2);
  color: #86efac; font-size: .8125rem;
}

/* Info section below tool */
.se-info-section {
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.06);
  border-radius: 1rem;
}
.se-info-title { font-family: 'Syne', sans-serif; font-weight: 600; color: #fff; font-size: 1rem; margin: 0 0 .625rem; }
.se-info-text  { color: #6b7280; font-size: .875rem; line-height: 1.7; margin: 0; }
.se-info-text strong { color: #9ca3af; }
.se-info-text code { background: rgba(255,255,255,.08); padding: .15rem .45rem; border-radius: .375rem; font-size: .875em; color: #f87171; }

/* ══ Keyword Density ══ */
.se-density-badge { font-weight: 600; font-size: .8rem; }
.se-specific-kw { }
.se-specific-kw-inner { border: 1px solid; border-radius: .875rem; padding: .875rem 1rem; }
.se-kw-badge { padding: .3rem .75rem; border-radius: .5rem; font-family: monospace; font-weight: 600; font-size: .9rem; }

/* ══ Meta Title Generator ══ */
.se-title-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: .875rem; padding: 1rem; margin-bottom: .75rem;
}
.se-title-text { color: #fff; font-weight: 500; font-size: .95rem; margin-bottom: .625rem; line-height: 1.4; }
.se-title-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.se-len-badge  { font-size: .75rem; color: #6b7280; padding: .2rem .5rem; background: rgba(255,255,255,.05); border-radius: .375rem; }
.se-title-bar-wrap { display: flex; align-items: center; gap: .625rem; }
.se-title-bar-track { flex: 1; height: 5px; background: rgba(255,255,255,.07); border-radius: 3px; overflow: hidden; }
.se-title-bar-fill  { height: 100%; border-radius: 3px; transition: width .4s; }

/* ══ SERP Preview ══ */
.se-serp-preview { }
.se-serp-card {
  background: #fff; border-radius: .5rem; padding: .875rem 1rem; max-width: 600px;
}
.se-serp-url   { font-size: .8125rem; color: #202124; margin-bottom: .2rem; }
.se-serp-title { font-size: 1.125rem; color: #1a0dab; font-weight: 400; line-height: 1.3; margin-bottom: .25rem; }
.se-serp-title:hover { text-decoration: underline; cursor: pointer; }
.se-serp-desc  { font-size: .875rem; color: #4d5156; line-height: 1.5; }
.se-serp-mobile { max-width: 380px; }
.se-serp-title-mobile { font-size: .9375rem; }

/* ══ Heading Checker ══ */
.se-heading-counts { display: flex; flex-wrap: wrap; gap: .5rem; }
.se-h-count {
  display: flex; align-items: center; gap: .4rem;
  padding: .4rem .75rem; border-radius: .5rem; border: 1px solid;
  background: rgba(255,255,255,.03);
}
.se-h-tag   { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .8rem; }
.se-h-num   { font-weight: 700; color: #fff; font-size: .9rem; }
.se-heading-item { display: flex; align-items: flex-start; gap: .625rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.se-heading-item:last-child { border-bottom: none; }
.se-h-pill  { display: inline-flex; align-items: center; padding: .15rem .45rem; border-radius: .375rem; font-size: .7rem; font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

/* ══ Word Counter ══ */
.se-read-time-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: rgba(20,184,166,.07);
  border: 1px solid rgba(20,184,166,.2); border-radius: .875rem;
}
.se-seo-score-card {
  display: flex; align-items: center; gap: .875rem;
  padding: .875rem 1rem; border: 1px solid; border-radius: .875rem;
}

/* ══ Slug Generator ══ */
.se-slug-output {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; background: rgba(99,102,241,.07);
  border: 1px solid rgba(99,102,241,.2); border-radius: .875rem;
}
.se-slug-url { font-family: monospace; font-size: .9rem; word-break: break-all; flex: 1; }

/* ══ Readability ══ */
.se-readability-display {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem; border: 1px solid; border-radius: 1rem; margin-bottom: .5rem;
}
.se-fre-circle {
  width: 80px; height: 80px; border-radius: 50%; border: 3px solid;
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0;
}
.se-fre-val      { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; line-height: 1; }
.se-fre-sub      { font-size: .65rem; color: #6b7280; }
.se-fre-label    { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin: 0 0 .25rem; }
.se-fre-audience { color: #9ca3af; font-size: .8rem; margin: 0 0 .2rem; }
.se-fre-grade    { color: #6b7280; font-size: .8rem; margin: 0; }

/* ══ Robots.txt ══ */
.se-code-block {
  background: #0d1117; border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem; padding: 1.25rem; font-family: 'Courier New', monospace;
  font-size: .8125rem; color: #86efac; line-height: 1.7;
  white-space: pre; overflow-x: auto; max-height: 500px; overflow-y: auto;
}

/* ══ Open Graph ══ */
.se-og-fb-card { border-radius: .625rem; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #1c1e21; max-width: 500px; }
.se-fb-img-wrap { width: 100%; height: 180px; overflow: hidden; background: #2d3748; }
.se-fb-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.se-og-no-img  { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #4b5563; font-size: 1.5rem; }
.se-fb-body    { padding: .875rem 1rem; }
.se-fb-domain  { font-size: .75rem; color: #8a8d91; text-transform: uppercase; margin: 0 0 .25rem; }
.se-fb-title   { color: #e4e6eb; font-weight: 600; font-size: .9375rem; margin: 0 0 .25rem; line-height: 1.3; }
.se-fb-desc    { color: #8a8d91; font-size: .8rem; margin: 0; }
.se-og-tw-card { border-radius: .875rem; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #15202b; max-width: 500px; }
.se-tw-img-wrap{ width: 100%; height: 200px; overflow: hidden; background: #192734; }
.se-tw-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.se-tw-body    { padding: .875rem 1rem; }
.se-tw-title   { color: #fff; font-weight: 700; font-size: .9375rem; margin: 0 0 .25rem; }
.se-tw-desc    { color: #8899a6; font-size: .875rem; margin: 0 0 .4rem; }
.se-tw-card-type { font-size: .75rem; color: #657786; margin: 0; }

/* ══ Redirect Checker ══ */
.se-redirect-summary {
  display: flex; align-items: center; gap: .875rem;
  padding: .875rem 1rem; border: 1px solid; border-radius: .875rem;
}
.se-hop-item {
  display: flex; align-items: flex-start; gap: .75rem;
  position: relative; padding-bottom: .5rem;
}
.se-hop-num {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08); color: #9ca3af;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; margin-top: .1rem;
}
.se-hop-body { flex: 1; min-width: 0; }
.se-status-pill { display: inline-flex; align-items: center; padding: .15rem .5rem; border-radius: .375rem; font-size: .75rem; font-weight: 700; }
.se-hop-label   { font-size: .8rem; color: #9ca3af; }
.se-hop-ms      { font-size: .75rem; color: #4b5563; margin-left: auto; }
.se-hop-url     { font-family: monospace; font-size: .75rem; color: #6b7280; margin: .2rem 0 0; word-break: break-all; }
.se-hop-arrow   { text-align: center; width: 26px; padding: .25rem 0; }

/* ══ HTTP Headers ══ */
.se-http-status-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border: 1px solid; border-radius: .875rem;
}
.se-http-code { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; flex-shrink: 0; }
.se-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.se-sec-item {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .625rem .75rem; border-radius: .625rem; border: 1px solid;
}
.se-sec-present { border-color: rgba(34,197,94,.2); background: rgba(34,197,94,.05); }
.se-sec-missing { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.02); }

/* ══════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════ */
.se-page-wrap  { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem; }
.se-page-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2rem; color: #fff; margin: 0; }
.se-quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: .75rem; }
.se-quick-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; transition: border-color .2s, background .2s;
}
.se-quick-card:hover { border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.06); }
.se-info-box {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.2); border-radius: 1rem;
}

/* ══════════════════════════════════════════════
   ADMIN LAYOUT
══════════════════════════════════════════════ */
.se-admin-body { display: flex; min-height: 100vh; background: #030712; }
.se-sidebar {
  width: 235px; background: #0d1117; border-right: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh; z-index: 50;
}
.se-sidebar-logo { padding: 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.se-sidebar-nav  { flex: 1; padding: .75rem; overflow-y: auto; }
.se-sidebar-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .6rem .75rem; border-radius: .5rem;
  font-size: .875rem; color: #9ca3af; margin-bottom: .125rem;
  transition: background .15s, color .15s;
}
.se-sidebar-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.se-sidebar-link i { width: 16px; text-align: center; }
.se-sidebar-link-active { background: rgba(239,68,68,.12) !important; color: #f87171 !important; border-left: 2px solid #ef4444; padding-left: calc(.75rem - 2px); }
.se-sidebar-link-danger:hover { color: #f87171 !important; background: rgba(239,68,68,.07) !important; }
.se-sidebar-bottom { padding: .75rem; border-top: 1px solid rgba(255,255,255,.07); }
.se-sidebar-user { padding: 1rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; gap: .625rem; }
.se-admin-main { margin-left: 235px; flex: 1; display: flex; flex-direction: column; min-height: 100vh; min-width: 0; }
.se-admin-header {
  height: 54px; background: rgba(13,17,23,.8);
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; position: sticky; top: 0;
  backdrop-filter: blur(8px); z-index: 10;
}
.se-admin-title   { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; margin: 0; font-size: 1.0625rem; }
.se-admin-content { flex: 1; padding: 1.5rem; }
.se-admin-two-col { display: grid; grid-template-columns: 1fr 320px; gap: 1.25rem; }
@media (max-width: 1024px) { .se-admin-two-col { grid-template-columns: 1fr; } }

/* Stats */
.se-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.se-stat-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1.25rem; }
.se-stat-icon  { font-size: 1.25rem; margin-bottom: .875rem; }
.se-stat-val   { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.875rem; color: #fff; margin: 0; }
.se-stat-label { color: #9ca3af; font-size: .875rem; margin: .25rem 0 0; }

/* Tables */
.se-table-wrap { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; }
.se-table-header { padding: .875rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: space-between; }
.se-table-title { font-family: 'Syne', sans-serif; font-weight: 600; color: #fff; margin: 0; font-size: .9375rem; }
.se-table-more  { color: #f87171; font-size: .8125rem; }
.se-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.se-table th { text-align: left; padding: .625rem 1rem; color: #6b7280; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid rgba(255,255,255,.07); white-space: nowrap; }
.se-table td { padding: .75rem 1rem; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.se-table tr:last-child td { border-bottom: none; }
.se-table tr:hover td { background: rgba(255,255,255,.02); }
.se-empty-cell { text-align: center; color: #6b7280; padding: 2rem 1rem !important; }

/* Badges */
.se-badge { display: inline-flex; align-items: center; padding: .2rem .6rem; border-radius: 9999px; font-size: .75rem; font-weight: 500; white-space: nowrap; }
.se-badge-green  { background: rgba(20,83,45,.45);   color: #4ade80; }
.se-badge-red    { background: rgba(127,29,29,.45);  color: #f87171; }
.se-badge-orange { background: rgba(120,53,15,.45);  color: #fb923c; }
.se-badge-gray   { background: rgba(255,255,255,.08); color: #9ca3af; }

/* Avatar */
.se-avatar    { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ef4444, #dc2626); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; color: #fff; flex-shrink: 0; }
.se-avatar-sm { width: 28px; height: 28px; font-size: .75rem; }
.se-icon-btn  { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); font-size: .75rem; transition: background .15s; }
.se-icon-btn:hover { background: rgba(255,255,255,.1); }

/* ══════════════════════════════════════════════
   AUTH
══════════════════════════════════════════════ */
.se-auth-body { background: #030712; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.se-auth-wrap { width: 100%; max-width: 400px; }
.se-auth-logo { text-align: center; margin-bottom: 1.5rem; display: flex; justify-content: center; }
.se-auth-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: 1.25rem; padding: 2rem; }
.se-auth-footer { text-align: center; color: #4b5563; font-size: .8rem; margin-top: 1.25rem; }

/* ══════════════════════════════════════════════
   STATIC PAGES
══════════════════════════════════════════════ */
.se-page-content { max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.se-page-hero  { margin-bottom: 2rem; }
.se-page-h1    { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(1.75rem,4vw,2.5rem); color: #fff; margin: 0 0 .75rem; }
.se-page-lead  { color: #9ca3af; font-size: 1.125rem; line-height: 1.7; margin: 0; }
.se-page-body  { color: #9ca3af; line-height: 1.8; }
.se-page-body h2       { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.25rem; margin: 2rem 0 .75rem; }
.se-page-body p        { margin: 0 0 1rem; }
.se-page-body a        { color: #f87171; }
.se-page-body a:hover  { text-decoration: underline; }
.se-page-body strong   { color: #d1d5db; }
.se-page-body code     { background: rgba(255,255,255,.08); padding: .15rem .45rem; border-radius: .375rem; font-size: .875em; color: #f87171; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.se-footer       { border-top: 1px solid rgba(255,255,255,.07); background: #030712; padding: 3rem 1.5rem 0; }
.se-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.se-footer-heading { font-family: 'Syne', sans-serif; font-weight: 600; color: #fff; font-size: .875rem; margin: 0 0 .875rem; }
.se-footer-link { display: block; color: #6b7280; font-size: .8125rem; margin-bottom: .4rem; transition: color .15s; }
.se-footer-link:hover { color: #ef4444; }
.se-footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 1.25rem 0; text-align: center; color: #4b5563; font-size: .8125rem; max-width: 1200px; margin: 0 auto; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .se-hero { padding: 3rem 1.25rem 2.5rem; }
  .se-hero-title { font-size: 2rem; }
  .se-hero-sub { font-size: 1rem; }
  .se-tools-section { padding: 2rem 1.25rem; }
  .se-tool-form-wrap, .se-result-wrap { padding: 1.25rem; }
  .se-stat-row { grid-template-columns: 1fr 1fr; }
  .se-security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .se-admin-main { margin-left: 0; }
  .se-sidebar { display: none; }
  .se-stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .se-checkbox-grid { grid-template-columns: 1fr; }
}
