/* =========================================================
   Chudhary.com – Main Stylesheet
   Color Scheme: Navy Blue & Copper
   Style: Clean & Minimal
   ========================================================= */

:root {
  --navy:         #0a1628;
  --navy-mid:     #1a2f4e;
  --navy-light:   #1e3a5f;
  --navy-bg:      #f0f4f8;
  --copper:       #b87333;
  --copper-light: #d4956a;
  --copper-bright:#e8aa7a;
  --copper-bg:    #fdf6f0;
  --text:         #0a1628;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg-light:     #f8fafc;
  --white:        #ffffff;
  --green:        #059669;
  --red:          #dc2626;
  --radius:       8px;
  --shadow:       0 1px 3px rgba(10,22,40,.07), 0 1px 2px rgba(10,22,40,.05);
  --shadow-md:    0 4px 14px rgba(10,22,40,.1), 0 2px 6px rgba(10,22,40,.07);
  --shadow-lg:    0 12px 32px rgba(10,22,40,.14), 0 4px 10px rgba(10,22,40,.08);
  --shadow-copper:0 4px 18px rgba(184,115,51,.25);
}

*, *::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(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

/* LAYOUT */
.container       { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow{ max-width: 760px; }
.section         { padding: 88px 0; }
.bg-light        { background: var(--bg-light); }
.bg-navy         { background: var(--navy-bg); }
.text-center     { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* TYPOGRAPHY */
h1 { font-size: clamp(1.9rem,4vw,3rem); font-weight: 800; line-height: 1.18; margin-bottom: 18px; letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem,2.8vw,2.1rem); font-weight: 700; margin-bottom: 18px; letter-spacing: -.015em; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
p  { margin-bottom: 14px; color: var(--text); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--copper);
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--copper);
  opacity: .5;
}

.accent { color: var(--copper-light); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .93rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
  text-decoration: none;
}
.btn-primary {
  background: var(--copper);
  color: #fff;
  border-color: var(--copper);
  box-shadow: var(--shadow-copper);
}
.btn-primary:hover {
  background: #9a6128;
  border-color: #9a6128;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(184,115,51,.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy-bg); text-decoration: none; }
.btn-white {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255,255,255,.3);
}
.btn-white:hover { background: var(--copper-bg); border-color: var(--copper); text-decoration: none; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-link { background: none; border: none; color: var(--copper); cursor: pointer; font-size: .9rem; padding: 4px 0; font-family: inherit; }
.btn-link:disabled { color: var(--muted); cursor: not-allowed; }

/* ── NAVBAR ── */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(10,22,40,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.03em;
}
.logo:hover { text-decoration: none; }
.logo-ch   { color: var(--navy); }
.logo-u    { color: var(--copper); }
.logo-rest { color: var(--navy); }
.logo-dot  { color: var(--copper); font-size: .55rem; vertical-align: middle; margin: 0 2px; }
.logo-com  { color: var(--muted); font-size: .72rem; font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .88rem; transition: color .15s; }
.nav-links a:hover { color: var(--copper); text-decoration: none; }
.nav-apply {
  background: var(--copper) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: .87rem !important;
  box-shadow: var(--shadow-copper) !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.nav-apply:hover { background: #9a6128 !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--navy); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 96px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,115,51,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30,58,95,.6) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--copper-bright), var(--copper), transparent);
}
.hero h1 { color: #fff; position: relative; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,115,51,.15);
  border: 1px solid rgba(184,115,51,.35);
  color: var(--copper-bright);
  padding: 7px 18px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: .05em;
  text-transform: uppercase;
  position: relative;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,.82);
  line-height: 1.78;
  position: relative;
}
.hero-cta  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.hero-trust {
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  position: relative;
}
.hero-trust span::before { content: '— '; color: var(--copper); }

/* ── DIVIDER ── */
.copper-divider {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  border: none;
  margin: 0;
}

/* ── 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-left: 4px solid var(--copper);
}
.itin-card h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.05rem; }
.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: stretch; gap: 0; margin: 36px 0; flex-wrap: wrap; justify-content: center; }
.step {
  flex: 1;
  min-width: 210px;
  max-width: 290px;
  background: var(--white);
  padding: 32px 26px;
  border: 1px solid var(--border);
  border-right: none;
  position: relative;
}
.step:first-of-type { border-radius: var(--radius) 0 0 var(--radius); }
.step:last-of-type  { border-radius: 0 var(--radius) var(--radius) 0; border-right: 1px solid var(--border); }
.step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 1;
  background: #fff;
  padding: 4px;
}
.step:last-of-type::after { display: none; }
.step-number {
  width: 44px; height: 44px;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.step-arrow { display: none; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1px; margin-top: 32px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--white); padding: 28px; transition: background .18s; }
.feature:hover { background: var(--copper-bg); }
.feature-icon { font-size: 2rem; display: block; margin-bottom: 12px; }

/* ── PRICING ── */
.pricing-card {
  max-width: 420px;
  margin: 36px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--copper));
  border-radius: var(--radius) var(--radius) 0 0;
}
.price-tag { font-size: 3.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-label { color: var(--muted); margin-bottom: 26px; font-weight: 600; font-size: .9rem; }
.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: .92rem; }
.price-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
}
.cta-section h2, .cta-section p { color: #fff; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 22px 0; }
.contact-info { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.65); }
.contact-info a { color: var(--copper-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);
  border-top: 3px solid var(--copper);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 6px; color: var(--navy); }
input[type="text"], input[type="email"], input[type="date"], input[type="tel"],
input[type="password"], input[type="file"], select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .93rem;
  font-family: inherit;
  transition: border-color .18s;
  background: var(--white);
  color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--copper); }
.otp-input { letter-spacing: .4em; font-size: 1.6rem; font-weight: 800; text-align: center; }
.form-section-title {
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid var(--navy-bg);
  padding-bottom: 8px;
  margin: 28px 0 16px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.verified-badge { background: #d1fae5; color: #065f46; padding: 8px 16px; border-radius: var(--radius); font-size: .88rem; margin-bottom: 18px; display: inline-block; font-weight: 600; }
.disclaimer { background: var(--navy-bg); border-radius: var(--radius); padding: 16px; border-left: 3px solid var(--copper); }
.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: 0; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.progress-step { flex: 1; padding: 10px; text-align: center; background: var(--bg-light); font-size: .82rem; font-weight: 700; color: var(--muted); border-right: 1px solid var(--border); }
.progress-step:last-child { border-right: none; }
.progress-step.active { background: var(--navy); color: #fff; }
.progress-step.done   { background: var(--copper); color: #fff; }

/* ── ALERTS ── */
.alert { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600; border: 1px solid; font-size: .9rem; }
.alert-error   { background: #fef2f2; color: var(--red); border-color: #fecaca; }
.alert-success { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: .97rem; font-weight: 700; color: var(--navy); gap: 12px; font-family: inherit; }
.faq-question:hover { color: var(--copper); }
.faq-icon { font-size: 1.2rem; font-weight: 400; color: var(--copper); flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-answer p { padding: 0 0 18px; color: var(--muted); font-size: .93rem; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,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: box-shadow .18s, transform .18s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.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: 14px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); margin-bottom: 10px; }
.blog-title { font-size: .98rem; font-weight: 700; margin-bottom: 10px; line-height: 1.45; }
.blog-title a { color: var(--navy); }
.blog-title a:hover { color: var(--copper); text-decoration: none; }
.blog-excerpt { font-size: .87rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.btn-sm-blog { font-size: .84rem; padding: 8px 18px; }

/* ── FOOTER ── */
.footer { background: var(--navy); color: #7a95b4; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 44px; padding-bottom: 44px; }
.footer h4 { color: var(--copper-bright); font-weight: 700; margin-bottom: 16px; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; font-size: .88rem; }
.footer a { color: #7a95b4; }
.footer a:hover { color: var(--copper-bright); }
.contact-list li { padding-left: 4px; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; }
.footer-bottom p { font-size: .78rem; text-align: center; margin: 4px 0; color: rgba(255,255,255,.3); }

/* ── 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); padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow); border-bottom: 2px solid var(--copper); }
.contact-card h3 { margin-bottom: 8px; font-size: .97rem; color: var(--navy); }

/* ── ADMIN ── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-main   { flex: 1; margin-left: 224px; padding: 0 32px 48px; min-width: 0; background: #f8fafc; }
.sidebar { width: 224px; background: var(--navy); color: #7a95b4; position: fixed; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; z-index: 200; }
.sidebar-logo { font-size: 1.1rem; font-weight: 800; color: #fff; padding: 22px 20px; border-bottom: 2px solid var(--copper); letter-spacing: -.02em; }
.sidebar-logo .accent { color: var(--copper-light); }
.sidebar-sub  { font-size: .62rem; font-weight: 500; color: #3d6080; 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: #7a95b4; 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: #fff; background: rgba(184,115,51,.08); border-left-color: var(--copper); }
.sidebar-badge { margin-left: auto; background: var(--copper); color: #fff; 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,.06); margin-top: auto; }
.admin-avatar  { width: 32px; height: 32px; background: var(--copper); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 800; 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: #3d6080; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-logout { color: #3d6080; 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(--copper); margin-bottom: 28px; }
.admin-topbar h1 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.admin-topbar span { font-size: .88rem; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card  { background: var(--white); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow); text-align: center; border-left: 3px solid var(--copper); }
.stat-num   { font-size: 2.1rem; font-weight: 800; color: var(--navy); 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); padding: 26px; box-shadow: var(--shadow); margin-bottom: 24px; border: 1px solid var(--border); }
.admin-section h2 { font-size: .88rem; font-weight: 800; margin-bottom: 18px; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.section-head  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; border: none; padding: 0; }
.admin-table   { width: 100%; border-collapse: collapse; font-size: .87rem; }
.admin-table th { text-align: left; padding: 10px 12px; background: var(--navy); color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.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(--copper-bg); }
.row-new td { background: #fffbeb !important; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge-new, .badge-submitted    { background: #dbeafe; color: #1e40af; }
.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 16px; }
.btn-sm { display: inline-block; padding: 4px 12px; background: var(--navy-bg); color: var(--navy); border-radius: 4px; font-size: .78rem; font-weight: 700; text-decoration: none; }
.btn-sm:hover { background: #d1e0ee; 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(--copper); 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 14px; border-radius: 4px; font-size: .81rem; font-weight: 700; color: var(--muted); background: var(--white); border: 1px solid var(--border); transition: all .15s; text-decoration: none; }
.filter-tab:hover { border-color: var(--copper); color: var(--copper); text-decoration: none; }
.filter-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.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,.18); }
.search-bar { display: flex; gap: 8px; margin-bottom: 22px; align-items: center; }
.search-bar input { flex: 1; max-width: 360px; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-size: .9rem; font-family: inherit; }
.search-bar input:focus { outline: none; border-color: var(--copper); }
.detail-table { width: 100%; border-collapse: collapse; font-size: .87rem; margin-top: 8px; }
.detail-table th { text-align: left; padding: 9px 12px; background: var(--navy-bg); font-weight: 700; border-bottom: 1px solid var(--border); color: var(--navy); 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(--navy-bg); border-radius: var(--radius); padding: 16px; font-size: .93rem; line-height: 1.75; margin-bottom: 20px; border-left: 3px solid var(--copper); }
.msg-reply-sent { background: #d1fae5; border-radius: var(--radius); padding: 14px; margin-bottom: 20px; font-size: .88rem; }
.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(--navy); }
.login-card { background: var(--white); border-radius: var(--radius); padding: 48px 42px; text-align: center; box-shadow: var(--shadow-lg); width: 100%; max-width: 400px; border-top: 4px solid var(--copper); }
.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); 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: 66px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--copper); padding: 16px 24px; gap: 16px; z-index: 99; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .two-col, .form-row, .contact-layout, .app-detail-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: stretch; }
  .step { border-right: 1px solid var(--border); border-bottom: none; border-radius: 0; }
  .step:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
  .step:last-of-type  { border-radius: 0 0 var(--radius) var(--radius); border-bottom: 1px solid var(--border); }
  .step::after { 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(--copper); background: none; }
  .admin-main { margin-left: 0; padding: 16px; }
}