/* =========================================================
   222us.com – Main Stylesheet
   Color Scheme: Vibrant Teal + Electric Lime + Deep Slate
   Style: Modern, Bold, Fresh
   ========================================================= */

:root {
  --teal:          #0d9488;
  --teal-mid:      #14b8a6;
  --teal-light:    #2dd4bf;
  --teal-bg:       #f0fdfa;
  --teal-dark:     #0f766e;
  --lime:          #84cc16;
  --lime-bright:   #a3e635;
  --lime-dark:     #65a30d;
  --lime-bg:       #f7fee7;
  --slate:         #0f172a;
  --slate-mid:     #1e293b;
  --slate-light:   #334155;
  --text:          #0f172a;
  --muted:         #64748b;
  --border:        #e2e8f0;
  --bg-light:      #f8fafc;
  --white:         #ffffff;
  --green:         #059669;
  --red:           #ef4444;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 1px 3px rgba(13,148,136,.08), 0 1px 2px rgba(13,148,136,.05);
  --shadow-md:     0 4px 16px rgba(13,148,136,.12), 0 2px 8px rgba(13,148,136,.08);
  --shadow-lg:     0 16px 40px rgba(13,148,136,.15), 0 4px 12px rgba(13,148,136,.1);
  --shadow-lime:   0 4px 20px rgba(132,204,22,.35);
  --gradient-main: linear-gradient(135deg, #0f172a 0%, #0d9488 60%, #14b8a6 100%);
  --gradient-lime: linear-gradient(135deg, #84cc16, #2dd4bf);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', system-ui, sans-serif; color: var(--text); line-height: 1.65; background: #fff; }
img   { max-width: 100%; }
a     { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* LAYOUT */
.container        { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
.section          { padding: 88px 0; }
.bg-light         { background: var(--bg-light); }
.bg-teal          { background: var(--teal-bg); }
.text-center      { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* TYPOGRAPHY */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.02em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
p  { margin-bottom: 14px; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal-dark);
  background: var(--teal-bg);
  border: 1.5px solid var(--teal-light);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-label::before { content: '◆'; font-size: .5rem; color: var(--lime); }

.accent { color: var(--lime-bright); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-lime);
  color: var(--slate);
  border-color: transparent;
  box-shadow: var(--shadow-lime);
  font-weight: 800;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(132,204,22,.45);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal-bg); text-decoration: none; transform: translateY(-1px); }
.btn-white {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-white:hover { background: rgba(255,255,255,.25); text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-link { background: none; border: none; color: var(--teal); cursor: pointer; font-size: .9rem; padding: 4px 0; font-family: inherit; }
.btn-link:disabled { color: var(--muted); cursor: not-allowed; }

/* ── NAVBAR ── */
.navbar {
  background: rgba(15,23,42,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,212,191,.2);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(13,148,136,.2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.04em;
}
.logo:hover { text-decoration: none; }
.logo-222  { color: var(--lime-bright); text-shadow: 0 0 20px rgba(132,204,22,.4); }
.logo-us   { color: #fff; }
.logo-dot  { color: var(--teal-light); font-size: .55rem; vertical-align: middle; margin: 0 3px; }
.logo-com  { color: rgba(255,255,255,.35); font-size: .72rem; font-weight: 500; letter-spacing: .03em; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.75); font-weight: 500; font-size: .88rem; transition: color .15s; }
.nav-links a:hover { color: var(--teal-light); text-decoration: none; }
.nav-apply {
  background: var(--gradient-lime) !important;
  color: var(--slate) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 800 !important;
  font-size: .87rem !important;
  box-shadow: var(--shadow-lime) !important;
  text-decoration: none !important;
  display: inline-block !important;
  border: none !important;
}
.nav-apply:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(132,204,22,.5) !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ── HERO ── */
.hero {
  background: var(--gradient-main);
  color: #fff;
  padding: 110px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 50%, rgba(132,204,22,.1) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(45,212,191,.12) 0%, transparent 70%);
  pointer-events: none;
}
/* Animated grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,212,191,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero h1, .hero h2 { color: #fff; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132,204,22,.15);
  border: 1px solid rgba(132,204,22,.35);
  color: var(--lime-bright);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.88);
  line-height: 1.78;
  position: relative;
  z-index: 1;
}
.hero-cta   { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; position: relative; z-index: 1; }
.hero-trust {
  display: inline-flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero-trust span {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(4px);
}
.hero-trust span:first-child { border-radius: 8px 0 0 8px; }
.hero-trust span:last-child  { border-radius: 0 8px 8px 0; }

/* ── SECTION DIVIDER ── */
.teal-divider {
  height: 3px;
  background: var(--gradient-lime);
  border: none;
  margin: 0;
  opacity: .7;
}

/* ── TWO COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; margin-top: 32px; align-items: start; }

/* ── ITIN CARD ── */
.itin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.itin-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-lime);
}
.itin-card h3 { color: var(--teal-dark); margin-bottom: 14px; }
.itin-card ul { list-style: none; }
.itin-card li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .93rem; display: flex; align-items: center; gap: 8px; }
.itin-card li:last-child { border: none; }

/* ── STEPS ── */
.steps { display: flex; align-items: flex-start; gap: 12px; margin: 40px 0; flex-wrap: wrap; justify-content: center; }
.step {
  flex: 1;
  min-width: 210px;
  max-width: 290px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-lime);
}
.step-number {
  width: 52px; height: 52px;
  background: var(--gradient-lime);
  color: var(--slate);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lime);
}
.step-arrow { font-size: 1.8rem; color: var(--teal-light); align-self: center; padding-top: 12px; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 20px; margin-top: 32px; }
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature:hover::before { transform: scaleX(1); }
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }

/* ── PRICING ── */
.pricing-card {
  max-width: 440px;
  margin: 36px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--gradient-lime);
}
.price-tag   { font-size: 3.5rem; font-weight: 900; color: var(--teal-dark); line-height: 1; }
.price-label { color: var(--muted); margin-bottom: 28px; font-weight: 600; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .93rem; }
.price-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ── CTA SECTION ── */
.cta-section { background: var(--gradient-main); position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,212,191,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,212,191,.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta-section h2, .cta-section p { color: #fff; position: relative; z-index: 1; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0; position: relative; z-index: 1; }
.contact-info { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.7); position: relative; z-index: 1; }
.contact-info a { color: var(--lime-bright); }

/* ── FORMS ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-lime);
}
.form-group { margin-bottom: 20px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--slate); }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"],
input[type="password"], input[type="file"], select, textarea {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: inherit;
  transition: border-color .18s, box-shadow .18s;
  background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 3px rgba(20,184,166,.1);
}
.otp-input { letter-spacing: .4em; font-size: 1.6rem; font-weight: 900; text-align: center; }
.form-section-title {
  font-size: .82rem;
  font-weight: 800;
  color: var(--teal-dark);
  border-bottom: 2px solid var(--teal-bg);
  padding-bottom: 8px;
  margin: 28px 0 16px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.verified-badge { background: #d1fae5; color: #065f46; padding: 8px 16px; border-radius: 50px; font-size: .88rem; margin-bottom: 18px; display: inline-block; font-weight: 700; }
.disclaimer { background: var(--teal-bg); border-radius: var(--radius-sm); padding: 16px; border-left: 4px solid var(--teal-mid); }
.checkbox-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 500; font-size: .9rem; }

/* ── PROGRESS BAR ── */
.progress-bar { display: flex; gap: 4px; margin: 24px 0; }
.progress-step { flex: 1; padding: 10px; text-align: center; background: var(--border); border-radius: 50px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.progress-step.active { background: var(--gradient-lime); color: var(--slate); }
.progress-step.done   { background: var(--teal); color: #fff; }

/* ── ALERTS ── */
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 600; border-left: 4px solid; }
.alert-error   { background: #fef2f2; color: var(--red); border-color: var(--red); }
.alert-success { background: #d1fae5; color: #065f46; border-color: var(--green); }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 18px 4px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: .97rem; font-weight: 700; color: var(--text); gap: 12px; font-family: inherit; }
.faq-question:hover { color: var(--teal); }
.faq-icon { font-size: 1.2rem; font-weight: 400; color: var(--lime); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 4px 18px; color: var(--muted); font-size: .93rem; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px,1fr)); gap: 24px; margin-top: 32px; }
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-cover { width: 100%; height: 185px; object-fit: cover; display: block; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-bottom: 10px; }
.blog-title { font-size: .98rem; font-weight: 800; margin-bottom: 10px; line-height: 1.45; }
.blog-title a { color: var(--text); }
.blog-title a:hover { color: var(--teal); text-decoration: none; }
.blog-excerpt { font-size: .87rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.btn-sm-blog  { font-size: .84rem; padding: 8px 20px; border-radius: 50px; }

/* ── FOOTER ── */
.footer { background: var(--slate); color: #64748b; padding: 68px 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 44px; padding-bottom: 44px; }
.footer h4 { color: var(--lime-bright); font-weight: 800; margin-bottom: 16px; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; font-size: .88rem; }
.footer a { color: #64748b; }
.footer a:hover { color: var(--teal-light); }
.contact-list li { padding-left: 4px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; }
.footer-bottom p { font-size: .78rem; text-align: center; margin: 4px 0; color: rgba(255,255,255,.28); }

/* ── CONTACT LAYOUT ── */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin-top: 32px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); border: 1px solid var(--border); border-top: 3px solid var(--teal-mid); transition: transform .15s; }
.contact-card:hover { transform: translateY(-2px); }
.contact-card h3 { margin-bottom: 8px; font-size: .97rem; color: var(--teal-dark); }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-main   { flex: 1; margin-left: 224px; padding: 0 32px 48px; min-width: 0; background: #f0fdfa; }
.sidebar { width: 224px; background: var(--slate); color: #64748b; position: fixed; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; z-index: 200; border-right: 1px solid rgba(45,212,191,.15); }
.sidebar-logo { font-size: 1.15rem; font-weight: 900; color: #fff; padding: 22px 20px; border-bottom: 2px solid var(--teal-mid); }
.sidebar-logo .accent { color: var(--lime-bright); }
.sidebar-sub  { font-size: .62rem; font-weight: 600; color: #334155; display: block; text-transform: uppercase; letter-spacing: .06em; margin-top: -2px; }
.sidebar-nav  { display: flex; flex-direction: column; padding: 12px 0; flex: 1; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 20px; color: #64748b; font-size: .9rem; font-weight: 600; border-left: 3px solid transparent; transition: all .15s; text-decoration: none; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--teal-light); background: rgba(45,212,191,.06); border-left-color: var(--lime); }
.sidebar-badge { margin-left: auto; background: var(--lime); color: var(--slate); font-size: .7rem; font-weight: 800; padding: 1px 7px; border-radius: 50px; }
.sidebar-footer { display: flex; align-items: center; gap: 10px; padding: 16px 16px 20px; border-top: 1px solid rgba(255,255,255,.05); margin-top: auto; }
.admin-avatar  { width: 32px; height: 32px; background: var(--gradient-lime); color: var(--slate); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; flex-shrink: 0; }
.admin-info    { flex: 1; min-width: 0; }
.admin-name    { display: block; font-size: .82rem; font-weight: 700; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-email   { display: block; font-size: .72rem; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-logout { color: #334155; font-size: 1.1rem; flex-shrink: 0; transition: color .15s; text-decoration: none; }
.sidebar-logout:hover { color: #f87171; }
.admin-topbar  { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 18px; border-bottom: 2px solid var(--teal-mid); margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.35rem; font-weight: 900; color: var(--teal-dark); }
.admin-topbar span { font-size: .88rem; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(155px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card  { background: var(--white); border-radius: var(--radius-sm); padding: 22px 18px; box-shadow: var(--shadow); text-align: center; border-top: 3px solid var(--lime); }
.stat-num   { font-size: 2.2rem; font-weight: 900; color: var(--teal-dark); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.admin-section { background: var(--white); border-radius: var(--radius-sm); padding: 26px; box-shadow: var(--shadow); margin-bottom: 24px; border: 1px solid var(--border); }
.admin-section h2 { font-size: .85rem; font-weight: 800; margin-bottom: 16px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .08em; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-head h2 { margin-bottom: 0; }
.admin-table  { width: 100%; border-collapse: collapse; font-size: .87rem; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--slate); color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; }
.admin-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--teal-bg); }
.row-new td { background: var(--lime-bg) !important; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.badge-new, .badge-submitted    { background: #ccfbf1; color: var(--teal-dark); }
.badge-read, .badge-under-review{ background: #fef3c7; color: #92400e; }
.badge-replied, .badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-pending  { background: #fef3c7; color: #92400e; }
.badge-paid     { background: #d1fae5; color: #065f46; }
.badge-lg { font-size: .88rem; padding: 6px 18px; }
.btn-sm { display: inline-block; padding: 4px 12px; background: var(--teal-bg); color: var(--teal-dark); border-radius: 50px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.btn-sm:hover { background: #99f6e4; text-decoration: none; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .87rem; font-weight: 600; margin-bottom: 22px; }
.btn-back:hover { color: var(--teal); text-decoration: none; }
.empty-state { color: var(--muted); font-size: .93rem; padding: 24px 0; }
.table-count { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-tab { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 50px; font-size: .81rem; font-weight: 700; color: var(--muted); background: var(--white); border: 1.5px solid var(--border); transition: all .15s; text-decoration: none; }
.filter-tab:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }
.filter-tab.active { background: var(--teal); color: #fff; border-color: var(--teal); }
.tab-count { background: rgba(0,0,0,.08); padding: 1px 7px; border-radius: 50px; font-size: .72rem; }
.filter-tab.active .tab-count { background: rgba(255,255,255,.2); }
.search-bar { display: flex; gap: 8px; margin-bottom: 22px; align-items: center; }
.search-bar input { flex: 1; max-width: 380px; padding: 9px 16px; border: 2px solid var(--border); border-radius: 50px; font-size: .9rem; font-family: inherit; }
.search-bar input:focus { outline: none; border-color: var(--teal-mid); }
.detail-table { width: 100%; border-collapse: collapse; font-size: .87rem; margin-top: 8px; }
.detail-table th { text-align: left; padding: 9px 12px; background: var(--teal-bg); font-weight: 700; border-bottom: 1px solid var(--border); color: var(--teal-dark); width: 38%; font-size: .82rem; }
.detail-table td { padding: 9px 12px; border-bottom: 1px solid var(--border); }
.app-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.status-panel .current-status { font-size: .9rem; margin-bottom: 10px; }
.msg-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.msg-body { background: var(--teal-bg); border-radius: var(--radius-sm); padding: 16px; font-size: .93rem; line-height: 1.75; margin-bottom: 20px; border-left: 4px solid var(--teal-mid); }
.msg-reply-sent { background: #d1fae5; border-radius: var(--radius-sm); padding: 14px; margin-bottom: 20px; font-size: .88rem; border-left: 4px solid var(--green); }
.reply-actions { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--gradient-main); }
.login-card { background: var(--white); border-radius: var(--radius); padding: 50px 44px; text-align: center; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; position: relative; overflow: hidden; }
.login-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--gradient-lime); }
.mt-3 { margin-top: 20px; }
.quick-actions h3 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.notes-box { background: var(--bg-light); border-radius: var(--radius-sm); padding: 12px; font-size: .9rem; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--slate-mid); border-bottom: 2px solid var(--teal-mid); padding: 16px 24px; gap: 16px; z-index: 99; }
  .nav-links.open { display: flex; }
  .two-col, .form-row, .contact-layout, .app-detail-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; position: relative; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .sidebar-nav a { border-left: none; border-bottom: 3px solid transparent; padding: 10px 14px; }
  .sidebar-nav a.active { border-bottom-color: var(--lime); background: none; }
  .admin-main { margin-left: 0; padding: 16px; }
}