/* =============================================================
   CardsEveryone — App Stylesheet
   Nav/Footer: Deep Amber Dark | Main: Warm Light + Yellow Accent
   Font: Roboto + Roboto Condensed | Icons: Font Awesome 6
   ============================================================= */

:root {
  /* Yellow / Amber palette */
  --yellow:        #F59E0B;
  --yellow-dark:   #D97706;
  --yellow-deeper: #B45309;
  --yellow-light:  #FCD34D;
  --yellow-pale:   #FFFBEB;
  --yellow-ghost:  #FEFCE8;

  /* Nav / Footer dark amber */
  --nav-bg:        #1C1007;
  --nav-border:    rgba(245,158,11,.18);
  --nav-text:      #FDE68A;
  --nav-hover:     #F59E0B;
  --nav-muted:     #A07840;

  --footer-bg:     #130B04;

  /* Main light */
  --bg-main:       #FFFFFF;
  --bg-section:    #FFFBEB;
  --bg-alt:        #FEF3C7;

  /* Text */
  --text-primary:   #1C1007;
  --text-secondary: #5C3A0E;
  --text-muted:     #9A6C30;
  --text-light:     #C4A06A;

  /* UI */
  --border:        #FDE68A;
  --border-focus:  #F59E0B;
  --shadow:        0 2px 16px rgba(245,158,11,.10);
  --shadow-md:     0 4px 24px rgba(245,158,11,.14);
  --shadow-lg:     0 8px 40px rgba(245,158,11,.20);

  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     18px;
  --transition:    .2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ────────────────────────────────────────────────────── */
.ce-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.ce-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.ce-logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.ce-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deeper));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px rgba(245,158,11,.45);
}
.ce-logo-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--nav-text);
  letter-spacing: -.01em;
}
.ce-logo-accent { color: var(--yellow); }

/* Nav links */
.ce-nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: 1.5rem;
  flex: 1;
}
.ce-nav-link {
  display: inline-flex;
  align-items: center;
  padding: .45rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.ce-nav-link:hover { color: var(--yellow); background: rgba(245,158,11,.09); }

/* Dropdown */
.ce-dropdown { position: relative; }
.ce-dropdown-btn { display: inline-flex; align-items: center; }
.ce-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #261508;
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius);
  padding: .5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  z-index: 300;
}
.ce-dropdown:hover .ce-dropdown-menu { display: block; }
.ce-dd-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .75rem;
  font-size: .85rem;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.ce-dd-item:hover { background: rgba(245,158,11,.12); color: var(--yellow-light); }
.ce-dd-emoji { font-size: 1rem; width: 20px; text-align: center; }

/* Buttons */
.ce-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #1C1007 !important;
  font-weight: 700;
  font-size: .875rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: .6rem 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: 0 2px 12px rgba(245,158,11,.4);
}
.ce-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(245,158,11,.55); }
.ce-btn-primary:active { transform: translateY(0); }
.ce-btn-sm { padding: .45rem 1rem; font-size: .825rem; }

.ce-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: transparent;
  color: var(--yellow) !important;
  border: 1.5px solid var(--yellow);
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: .65rem 1.4rem;
  transition: background var(--transition), color var(--transition);
}
.ce-btn-ghost:hover { background: var(--yellow); color: #1C1007 !important; }

/* Nav right */
.ce-nav-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.ce-nav-link-desk { display: none; }
@media (min-width: 768px) { .ce-nav-link-desk { display: inline-flex; } }

/* Hamburger */
.ce-hamburger {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius-sm);
  color: var(--nav-text);
  cursor: pointer;
  font-size: 1rem;
  transition: color var(--transition), background var(--transition);
}
.ce-hamburger:hover { color: var(--yellow); background: rgba(245,158,11,.1); }
@media (min-width: 768px) { .ce-hamburger { display: none; } }
@media (min-width: 768px) { .ce-nav-links { display: flex !important; } }

/* Mobile nav */
.ce-mobile-nav {
  display: none;
  flex-direction: column;
  background: #1a0c04;
  border-top: 1px solid rgba(245,158,11,.12);
  padding: .75rem 1rem 1rem;
  gap: .1rem;
}
.ce-mobile-nav.open { display: flex; }
.ce-mob-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .75rem;
  font-size: .9rem;
  color: var(--nav-text);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.ce-mob-link:hover { background: rgba(245,158,11,.1); color: var(--yellow-light); }
.ce-mob-link-sub { padding-left: 2.25rem; font-size: .85rem; color: var(--nav-muted); }
.ce-mob-link-accent { color: var(--yellow) !important; }
.ce-mob-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: .55rem .75rem;
  background: none; border: none;
  color: var(--nav-text); font-size: .9rem; font-weight: 500;
  cursor: pointer; border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
}
.ce-mob-toggle:hover { background: rgba(245,158,11,.08); color: var(--yellow); }
.ce-mob-toggle span { display: flex; align-items: center; gap: .6rem; }
.ce-mob-list { display: none; flex-direction: column; }
.ce-mob-list.open { display: flex; }
.ce-chev { transition: transform .2s; }
.ce-chev.rotated { transform: rotate(180deg); }
.ce-mob-divider { height: 1px; background: rgba(245,158,11,.1); margin: .4rem 0; }

/* ── FLASH ──────────────────────────────────────────────────── */
.ce-flash {
  display: flex; align-items: center; gap: .65rem;
  padding: .85rem 1.25rem;
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm);
  margin: 1rem 1.5rem;
  box-shadow: var(--shadow);
}
.ce-flash-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.ce-flash-error   { background: #fefce8; color: #92400e; border: 1px solid #fde68a; }
.ce-flash-close { margin-left: auto; background: none; border: none; cursor: pointer; opacity: .5; font-size: 1rem; }

/* ── MAIN ───────────────────────────────────────────────────── */
.ce-main { flex: 1; background: var(--bg-main); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.ce-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(245,158,11,.14);
}
.ce-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 768px) { .ce-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .ce-footer-inner { grid-template-columns: 1fr; } }

.ce-footer-tagline { color: var(--nav-muted); font-size: .875rem; line-height: 1.6; margin-top: .75rem; }
.ce-footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.ce-social-btn {
  width: 34px; height: 34px;
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--nav-muted); font-size: .85rem;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.ce-social-btn:hover { color: var(--yellow); border-color: var(--yellow); background: rgba(245,158,11,.08); }

.ce-footer-heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--yellow); margin-bottom: .85rem;
}
.ce-footer-link {
  display: block; font-size: .85rem; color: var(--nav-muted);
  margin-bottom: .45rem;
  transition: color var(--transition);
}
.ce-footer-link:hover { color: var(--nav-text); }
.ce-footer-bottom {
  border-top: 1px solid rgba(245,158,11,.1);
  padding: 1.25rem 1.5rem;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  font-size: .8rem; color: #5a3d10;
}
.ce-footer-bottom-links { display: flex; gap: 1.25rem; }
.ce-footer-bottom-links a { color: #5a3d10; transition: color var(--transition); }
.ce-footer-bottom-links a:hover { color: var(--yellow); }

/* ── HERO ───────────────────────────────────────────────────── */
.ce-hero {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 60%, #fde68a 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ce-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(245,158,11,.22) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.ce-hero::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.ce-hero-inner { max-width: 740px; margin: 0 auto; position: relative; z-index: 1; }
.ce-hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: var(--yellow-deeper);
  font-size: .8rem; font-weight: 700;
  padding: .35rem 1rem; border-radius: 99px;
  margin-bottom: 1.5rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.ce-hero-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1; color: var(--text-primary);
  margin-bottom: 1.25rem;
}
.ce-grad {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deeper));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ce-hero-sub {
  font-size: 1.1rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 2rem; font-weight: 300;
}
.ce-hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.ce-hero-btns .ce-btn-primary { padding: .8rem 2rem; font-size: 1rem; }

/* ── SECTION ────────────────────────────────────────────────── */
.ce-section { padding: 4rem 1.5rem; }
.ce-section-alt { background: var(--bg-section); }
.ce-section-inner { max-width: 1200px; margin: 0 auto; }
.ce-section-label {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--yellow-dark); margin-bottom: .75rem;
}
.ce-section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-primary); margin-bottom: .6rem;
}
.ce-section-sub {
  font-size: 1rem; color: var(--text-secondary);
  font-weight: 300; margin-bottom: 2.5rem;
}

/* ── CARD TOOLS GRID ────────────────────────────────────────── */
.ce-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 1000px) { .ce-cards-grid { grid-template-columns: repeat(5, 1fr); } }

.ce-tool-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column; gap: .6rem;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none; color: inherit;
}
.ce-tool-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ce-tool-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.ce-tool-name { font-weight: 700; font-size: .95rem; color: var(--text-primary); }
.ce-tool-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.ce-tool-arrow { font-size: .78rem; color: var(--yellow-dark); font-weight: 600; }

/* ── FEATURES ───────────────────────────────────────────────── */
.ce-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}
.ce-feature-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.ce-feature-icon { font-size: 1.6rem; margin-bottom: .85rem; }
.ce-feature-title { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; color: var(--text-primary); }
.ce-feature-desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ── CARD TOOL PAGE ─────────────────────────────────────────── */
.ce-tool-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.ce-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.ce-breadcrumb a { color: var(--yellow-dark); }
.ce-breadcrumb a:hover { text-decoration: underline; }

.ce-tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .ce-tool-layout { grid-template-columns: 1fr; } }

.ce-tool-form-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.ce-tool-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--border);
}
.ce-tool-icon-lg {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.ce-tool-title    { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:1.5rem; color:var(--text-primary); }
.ce-tool-subtitle { font-size:.875rem; color:var(--text-muted); margin-top:.15rem; font-weight:300; }

/* Form */
.ce-form { display: flex; flex-direction: column; gap: 1rem; }
.ce-field { display: flex; flex-direction: column; gap: .4rem; }
.ce-label { font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.ce-input-wrap { position: relative; }
.ce-field-icon {
  position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: .9rem; pointer-events: none;
}
.ce-input, .ce-select, .ce-textarea {
  width: 100%;
  padding: .65rem .9rem .65rem 2.4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  color: var(--text-primary);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.ce-input:focus, .ce-select:focus, .ce-textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
.ce-input::placeholder { color: var(--text-light); }
.ce-select { cursor: pointer; }
.ce-textarea { resize: vertical; min-height: 90px; padding-left: .9rem; }
.ce-input-no-icon { padding-left: .9rem !important; }
.ce-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .ce-field-row { grid-template-columns: 1fr; } }

.ce-btn-primary.w-full { width: 100%; margin-top: .5rem; padding: .8rem; }
.btn-spin { display: none; }

/* ── CARD PREVIEW PANEL ─────────────────────────────────────── */
.ce-preview-wrap {
  position: sticky;
  top: 80px;
}
.ce-preview-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.ce-preview-heading {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1.5px solid var(--border);
  display: flex; align-items: center; gap: .5rem;
}
.ce-preview-heading i { color: var(--yellow-dark); }

/* The actual card canvas */
.ce-card-canvas {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  font-family: 'Roboto', sans-serif;
  background: #fff9e6;
  border: 1.5px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
.ce-card-canvas.has-content { border-style: solid; }
.ce-card-placeholder {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}
.ce-card-placeholder i { font-size: 2.5rem; margin-bottom: .5rem; display: block; }
.ce-card-placeholder p { font-size: .85rem; }

/* Download actions */
.ce-preview-actions {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem;
}
.ce-btn-download {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: #1C1007;
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700; font-size: .875rem;
  border: none; cursor: pointer;
  transition: opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(245,158,11,.35);
}
.ce-btn-download:hover { opacity: .9; box-shadow: 0 4px 16px rgba(245,158,11,.5); }
.ce-btn-share {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  background: #fff;
  color: var(--yellow-dark);
  border: 1.5px solid var(--yellow);
  padding: .65rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .875rem; cursor: pointer;
  transition: background var(--transition);
}
.ce-btn-share:hover { background: var(--yellow-pale); }

/* ── CARD DESIGNS (rendered in browser) ─────────────────────── */
.card-render {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

/* ── INFO SECTION ───────────────────────────────────────────── */
.ce-info-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
}
.ce-info-title { font-family:'Roboto Condensed',sans-serif; font-weight:700; font-size:1.15rem; margin-bottom:.75rem; color:var(--text-primary); }
.ce-info-text  { font-size:.9rem; color:var(--text-secondary); line-height:1.7; font-weight:300; }
.ce-info-text strong { font-weight:600; color:var(--text-primary); }

/* ── AUTH ───────────────────────────────────────────────────── */
.ce-auth-body {
  background: linear-gradient(135deg, #fffbeb 0%, #fde68a 100%);
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.ce-auth-wrap {
  width: 100%; max-width: 420px;
  padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.ce-auth-card {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.ce-auth-title { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:1.5rem; color:var(--text-primary); margin-bottom:.25rem; }
.ce-auth-sub   { font-size:.875rem; color:var(--text-muted); margin-bottom:1.5rem; font-weight:300; }
.ce-auth-footer { font-size:.8rem; color:var(--text-light); }
.ce-auth-switch { font-size:.875rem; text-align:center; color:var(--text-muted); margin-top:1.25rem; }
.ce-auth-switch a { color:var(--yellow-dark); font-weight:600; }
.ce-pw-toggle {
  position: absolute; right:.75rem; top:50%; transform:translateY(-50%);
  background:none; border:none; cursor:pointer; color:var(--text-light); font-size:.9rem; padding:.25rem;
}
.ce-pw-toggle:hover { color:var(--yellow-dark); }

/* ── DASHBOARD ──────────────────────────────────────────────── */
.ce-dashboard { max-width:1100px; margin:0 auto; padding:2rem 1.5rem 4rem; }
.ce-dash-title { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:1.8rem; color:var(--text-primary); }
.ce-dash-sub   { font-size:.9rem; color:var(--text-muted); margin-top:.25rem; font-weight:300; }
.ce-dash-grid  { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:1rem; margin-top:1.5rem; }

/* ── TABLE ──────────────────────────────────────────────────── */
.ce-table-section { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; margin-top:2rem; }
.ce-table-head { display:flex; align-items:center; justify-content:space-between; padding:1.25rem 1.5rem; border-bottom:1.5px solid var(--border); }
.ce-table-title { font-weight:700; font-size:1rem; color:var(--text-primary); }
.ce-table { width:100%; border-collapse:collapse; }
.ce-table th { text-align:left; padding:.65rem 1.25rem; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); background:var(--bg-section); border-bottom:1.5px solid var(--border); }
.ce-table td { padding:.7rem 1.25rem; font-size:.875rem; color:var(--text-secondary); border-bottom:1px solid var(--bg-section); }
.ce-table tr:last-child td { border-bottom:none; }
.ce-table tr:hover td { background:var(--bg-section); }
.ce-table-empty { padding:2rem; text-align:center; color:var(--text-light); font-size:.875rem; }

/* ── ADMIN ──────────────────────────────────────────────────── */
.ce-admin-body { background:var(--bg-section); min-height:100vh; }
.ce-admin-shell { display:flex; min-height:100vh; }
.ce-admin-sidebar {
  width:230px; background:var(--nav-bg);
  border-right:1px solid rgba(245,158,11,.14);
  padding:1.5rem 1rem;
  display:flex; flex-direction:column; flex-shrink:0;
}
@media(max-width:768px){ .ce-admin-sidebar{display:none;} }
.ce-admin-logo { margin-bottom:2rem; }
.ce-admin-nav { display:flex; flex-direction:column; gap:.15rem; }
.ce-admin-nav-link {
  display:flex; align-items:center; gap:.65rem;
  padding:.6rem .85rem;
  font-size:.875rem; font-weight:500;
  color:var(--nav-muted); border-radius:var(--radius-sm);
  transition:color var(--transition),background var(--transition);
}
.ce-admin-nav-link:hover { color:var(--yellow); background:rgba(245,158,11,.1); }
.ce-admin-nav-divider { height:1px; background:rgba(245,158,11,.1); margin:.5rem 0; }
.ce-admin-main { flex:1; display:flex; flex-direction:column; overflow:hidden; }
.ce-admin-header {
  background:#fff; border-bottom:1.5px solid var(--border);
  padding:1rem 2rem;
  display:flex; align-items:center; justify-content:space-between;
}
.ce-admin-page-title { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:1.25rem; color:var(--text-primary); }
.ce-admin-user { font-size:.85rem; color:var(--text-muted); display:flex; align-items:center; gap:.4rem; }
.ce-admin-content { flex:1; padding:2rem; overflow-y:auto; }

.ce-stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:1.25rem; margin-bottom:2rem; }
.ce-stat-card { background:#fff; border:1.5px solid var(--border); border-radius:var(--radius); padding:1.5rem; text-align:center; }
.ce-stat-icon { font-size:1.5rem; margin-bottom:.5rem; }
.ce-stat-val   { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:2rem; color:var(--text-primary); }
.ce-stat-label { font-size:.8rem; color:var(--text-muted); margin-top:.15rem; font-weight:500; text-transform:uppercase; letter-spacing:.05em; }
.ce-admin-two-col { display:grid; grid-template-columns:1.5fr 1fr; gap:1.5rem; }
@media(max-width:900px){ .ce-admin-two-col{grid-template-columns:1fr;} }

/* ── STATIC PAGES ───────────────────────────────────────────── */
.ce-page { max-width:800px; margin:0 auto; padding:3rem 1.5rem 5rem; }
.ce-page-title { font-family:'Roboto Condensed',sans-serif; font-weight:800; font-size:2rem; color:var(--text-primary); margin-bottom:1.5rem; padding-bottom:1rem; border-bottom:2px solid var(--yellow-pale); }
.ce-page h2 { font-size:1.15rem; font-weight:700; margin:2rem 0 .5rem; color:var(--text-primary); }
.ce-page p  { font-size:.95rem; color:var(--text-secondary); line-height:1.75; margin-bottom:.85rem; font-weight:300; }
.ce-page ul { padding-left:1.5rem; margin-bottom:.85rem; }
.ce-page li { font-size:.95rem; color:var(--text-secondary); line-height:1.75; font-weight:300; margin-bottom:.25rem; }
.ce-page a  { color:var(--yellow-dark); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:768px) {
  .ce-nav-links { display:none; }
  .ce-tool-page { padding:1.5rem 1rem 3rem; }
  .ce-tool-form-wrap { padding:1.25rem; }
  .ce-section { padding:2.5rem 1rem; }
  .ce-preview-wrap { position:static; }
}

/* Spinner */
@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin .7s linear infinite; }
