/* ============================================================
   assets/css/main.css — MBARIZA Complete Stylesheet
   ============================================================ */

:root {
  --green:       #00C896;
  --dark:        #0F172A;
  --white:       #FFFFFF;
  --accent:      #16A34A;
  --green-light: #E6FBF5;
  --green-mid:   #00A87E;
  --slate:       #64748B;
  --slate-light: #F1F5F9;
  --border:      #E2E8F0;
  --shadow:      0 2px 16px rgba(0,200,150,0.08), 0 1px 4px rgba(15,23,42,0.06);
  --shadow-lg:   0 8px 32px rgba(0,200,150,0.12), 0 2px 8px rgba(15,23,42,0.08);
  --radius:      14px;
  --radius-sm:   8px;
  --font:        'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo 
{ 
  display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; 

}
.nav-logo img

{
  width: 250px;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--green), var(--accent));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: white; font-size: 18px;
}
.nav-logo-text { font-weight: 800; font-size: 1.25rem; color: var(--dark); letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 0.25rem; align-items: center; }
.nav-links a {
  color: var(--slate); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 6px 12px; border-radius: var(--radius-sm); transition: all 0.2s; cursor: pointer;
}
.nav-links a:hover { color: var(--green); background: var(--green-light); }
.nav-cta {
  background: var(--green) !important; color: white !important; font-weight: 700 !important;
  padding: 8px 18px !important; border-radius: 20px !important;
}
.nav-cta:hover { background: var(--green-mid) !important; }
.nav-mobile-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav-mobile-btn span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; display: block; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
}

.nav-mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0;
  background: white; padding: 1rem; border-bottom: 1px solid var(--border);
  gap: 0.25rem; z-index: 999;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  color: var(--dark); text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 12px 16px; border-radius: var(--radius-sm); display: block; cursor: pointer;
}
.nav-mobile-menu a:hover { background: var(--green-light); color: var(--green); }

/* ===== PAGES ===== */
.page { display: none; }
.page.active { display: block; }
.page-content { padding-top: 64px; min-height: 100vh; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1E3A5F 50%, #0D2B45 100%);
  padding: 5rem 1.5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,200,150,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,200,150,0.15); border: 1px solid rgba(0,200,150,0.3);
  color: var(--green); border-radius: 20px; padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 900; color: white;
  line-height: 1.15; margin-bottom: 1.25rem; letter-spacing: -1px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero h1 span { color: var(--green); }
.hero p {
  color: rgba(255,255,255,0.75); font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 560px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--green); color: white; border: none; border-radius: 28px;
  padding: 14px 32px; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(0,200,150,0.4);
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 28px; padding: 12px 28px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); background: rgba(0,200,150,0.08); }
.hero-stats { display: flex; gap: 2.5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 1.75rem; font-weight: 900; color: var(--green); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ===== SECTIONS ===== */
section { padding: 4rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block; background: var(--green-light); color: var(--green);
  border-radius: 20px; padding: 4px 14px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.5px; margin-bottom: 0.75rem; text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 900; color: var(--dark);
  letter-spacing: -0.5px; margin-bottom: 0.75rem;
}
.section-sub { color: var(--slate); font-size: 1rem; max-width: 520px; margin: 0 auto; }

/* ===== CATEGORY CARDS ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.category-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; cursor: pointer; transition: all 0.25s; text-align: center;
  box-shadow: var(--shadow);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.category-icon {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.category-icon.irembo { background: linear-gradient(135deg, #E6F7FF, #BAE7FF); }
.category-icon.rdb    { background: linear-gradient(135deg, #F6FFED, #B7EB8F); }
.category-icon.nla    { background: linear-gradient(135deg, #FFF7E6, #FFD591); }
.category-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.category-card p  { color: var(--slate); font-size: 0.875rem; line-height: 1.6; }
.card-count {
  display: inline-block; background: var(--green-light); color: var(--green);
  border-radius: 12px; padding: 3px 10px; font-size: 0.75rem; font-weight: 700; margin-top: 1rem;
}

/* ===== WHY / STEPS ===== */
.why-section { background: var(--slate-light); }
.why-grid    { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.why-card {
  background: white; border-radius: var(--radius); padding: 1.75rem; text-align: center;
  box-shadow: var(--shadow); transition: all 0.2s;
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.why-card p  { color: var(--slate); font-size: 0.85rem; line-height: 1.6; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.step-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.25rem; text-align: center; transition: all 0.2s; box-shadow: var(--shadow);
}
.step-card:hover { border-color: var(--green); transform: translateY(-2px); }
.step-num {
  width: 44px; height: 44px; background: linear-gradient(135deg, var(--green), var(--accent));
  border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center;
  justify-content: center; color: white; font-weight: 900; font-size: 1rem;
}
.step-card h3 { font-size: 0.9rem; font-weight: 800; color: var(--dark); margin-bottom: 0.4rem; }
.step-card p  { color: var(--slate); font-size: 0.8rem; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.testimonial-stars  { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; }
.testimonial-text   { color: var(--slate); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem; flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.testimonial-loc  { font-size: 0.78rem; color: var(--slate); }

/* ===== FAQ ===== */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 0.75rem; overflow: hidden; transition: all 0.2s;
}
.faq-item.open { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,200,150,0.1); }
.faq-q {
  padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 700; font-size: 0.95rem; color: var(--dark);
  user-select: none; background: white;
}
.faq-q:hover { background: var(--green-light); }
.faq-q .icon { font-size: 1.2rem; color: var(--green); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 1.25rem 1.1rem; color: var(--slate); font-size: 0.875rem; line-height: 1.7; background: white; }
.faq-item.open .faq-a { display: block; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 1rem; }
.contact-info p  { color: var(--slate); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-detail  { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--green-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.8rem; color: var(--slate); font-weight: 600; }
.contact-detail-text span   { font-size: 0.95rem; color: var(--dark); font-weight: 500; }

/* ===== FORMS ===== */
.form-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.form-group label span { color: #EF4444; margin-left: 2px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--dark); background: white; font-family: var(--font);
  transition: all 0.2s; outline: none; appearance: none;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,200,150,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.2s;
  background: var(--slate-light); position: relative;
}
.file-upload-area:hover { border-color: var(--green); background: var(--green-light); }
.file-upload-area input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.file-upload-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.file-upload-text { font-size: 0.85rem; color: var(--slate); line-height: 1.6; }
.file-upload-text strong { color: var(--green); }

/* ===== BUTTONS ===== */
.btn-green {
  background: var(--green); color: white; border: none; border-radius: 28px;
  padding: 14px 32px; font-size: 1rem; font-weight: 700; cursor: pointer;
  width: 100%; transition: all 0.2s; font-family: var(--font);
}
.btn-green:hover    { background: var(--green-mid); }
.btn-green:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-dark {
  background: var(--dark); color: white; border: none; border-radius: var(--radius-sm);
  padding: 10px 20px; font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font);
}
.btn-dark:hover { background: #1e293b; }
.btn-sm { padding: 7px 14px !important; font-size: 0.78rem !important; }

/* ===== SERVICE PAGES ===== */
.services-header {
  background: linear-gradient(135deg, var(--dark), #1a2d4a);
  padding: 3rem 1.5rem 2rem; text-align: center;
}
.services-header h1 { color: white; font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 0.75rem; }
.services-header p  { color: rgba(255,255,255,0.7); font-size: 1rem; }

.subcategory-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border); background: white;
  position: sticky; top: 64px; z-index: 100; overflow-x: auto;
}
.subcategory-tab {
  padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  background: white; color: var(--slate); white-space: nowrap; font-family: var(--font);
}
.subcategory-tab.active { background: var(--green); color: white; border-color: var(--green); }
.subcategory-tab:hover:not(.active) { border-color: var(--green); color: var(--green); }

.services-list { padding: 1.5rem; max-width: 1100px; margin: 0 auto; }
.service-item {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 0.875rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  box-shadow: var(--shadow); cursor: pointer; transition: all 0.2s;
}
.service-item:hover { border-color: var(--green); transform: translateX(4px); box-shadow: var(--shadow-lg); }
.service-item-info h3 { font-size: 0.975rem; font-weight: 800; color: var(--dark); margin-bottom: 0.25rem; }
.service-item-info p  { font-size: 0.82rem; color: var(--slate); }
.service-item-right   { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.price-badge {
  background: var(--green-light); color: var(--green);
  border-radius: 20px; padding: 5px 14px; font-size: 0.82rem; font-weight: 800;
}
.call-badge {
  background: #FFF7ED; color: #EA580C;
  border-radius: 20px; padding: 5px 14px; font-size: 0.82rem; font-weight: 700;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.65);
  z-index: 2000; align-items: center; justify-content: center;
  padding: 1rem; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: var(--radius); width: 100%; max-width: 620px;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-header {
  padding: 1.5rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: white; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-header h2 { font-size: 1.15rem; font-weight: 900; color: var(--dark); }
.modal-header p  { font-size: 0.82rem; color: var(--slate); margin-top: 3px; }
.modal-close {
  background: var(--slate-light); border: none; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.modal-body   { padding: 1.5rem; }
.modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); }

.service-desc-box {
  background: var(--green-light); border-radius: var(--radius-sm);
  padding: 1rem; margin-bottom: 1.5rem;
}
.service-desc-box .price { font-size: 1.5rem; font-weight: 900; color: var(--green); }
.service-desc-box p { font-size: 0.85rem; color: var(--slate); margin-top: 4px; }

.req-list { margin-bottom: 1.5rem; }
.req-list h4 { font-size: 0.85rem; font-weight: 800; color: var(--dark); margin-bottom: 0.75rem; }
.req-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.82rem; color: var(--slate); margin-bottom: 0.4rem;
}
.req-item::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

.file-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-light); color: var(--green);
  border-radius: 20px; padding: 4px 10px; font-size: 0.78rem; font-weight: 600; margin: 3px;
}

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 20px; padding: 4px 12px; font-size: 0.78rem; font-weight: 700;
  white-space: nowrap;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-byakiriwe::before  { background: #0369A1; }
.status-byakiriwe          { background: #E0F2FE; color: #0369A1; }
.status-gutunganywa::before{ background: #A16207; }
.status-gutunganywa        { background: #FEF9C3; color: #A16207; }
.status-byarangiye::before { background: #15803D; }
.status-byarangiye         { background: #DCFCE7; color: #15803D; }
.status-byanzwe::before    { background: #DC2626; }
.status-byanzwe            { background: #FEE2E2; color: #DC2626; }

/* ===== TRACKING ===== */
.tracking-page { padding: 2.5rem 1.5rem; max-width: 700px; margin: 0 auto; }
.tracking-box {
  background: white; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.status-timeline { margin-top: 1.5rem; }
.timeline-item   { display: flex; gap: 16px; margin-bottom: 1rem; align-items: flex-start; }
.timeline-dot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}
.timeline-dot.done    { background: var(--green); color: white; }
.timeline-dot.current { background: var(--dark);  color: white; animation: pulse 1.5s infinite; }
.timeline-dot.pending { background: var(--border); color: var(--slate); }
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(15,23,42,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(15,23,42,0); }
}
.timeline-content h4 { font-size: 0.9rem; font-weight: 700; }
.timeline-content p  { font-size: 0.8rem; color: var(--slate); }

/* ===== ALERTS ===== */
.alert {
  padding: 0.875rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
}
.alert-info    { background: #E0F2FE; color: #0369A1; border-left: 4px solid #0369A1; }
.alert-warn    { background: #FEF9C3; color: #A16207; border-left: 4px solid #F59E0B; }
.alert-success { background: #DCFCE7; color: #15803D; border-left: 4px solid #16A34A; }
.alert-error   { background: #FEE2E2; color: #DC2626; border-left: 4px solid #EF4444; }

/* ===== AUTH ===== */
.auth-page {
  min-height: calc(100vh - 64px); display: flex; align-items: center;
  justify-content: center; padding: 2rem 1.5rem; background: var(--slate-light);
}
.auth-card {
  background: white; border-radius: var(--radius); padding: 2.5rem;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.6rem; font-weight: 900; color: var(--dark); margin-bottom: 0.5rem; }
.auth-card p  { color: var(--slate); font-size: 0.875rem; margin-bottom: 2rem; }
.tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 2rem; }
.tab-btn {
  flex: 1; padding: 10px; background: none; border: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; color: var(--slate);
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s;
  font-family: var(--font);
}
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

/* ===== ADMIN LOGIN ===== */
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: 1.5rem; background: var(--dark);
}
.admin-login-card {
  background: white; border-radius: var(--radius); padding: 2.5rem;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.admin-login-card h1 { font-size: 1.5rem; font-weight: 900; color: var(--dark); }
.admin-login-card p  { color: var(--slate); font-size: 0.875rem; }

/* ===== DASHBOARD ===== */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 64px); }
@media (max-width: 768px) { .dash-layout { grid-template-columns: 1fr; } }

.dash-sidebar {
  background: var(--dark); color: white; padding: 1.5rem 0;
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto;
}
@media (max-width: 768px) { .dash-sidebar { display: none; } }

.dash-sidebar-logo { padding: 0 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; }
.dash-sidebar-logo h3 { font-size: 1rem; font-weight: 800; color: var(--green); }
.dash-sidebar-logo p  { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

.dash-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 1.25rem;
  color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.2s;
  font-size: 0.875rem; font-weight: 500; border-left: 3px solid transparent;
}
.dash-nav-item:hover  { color: white; background: rgba(255,255,255,0.05); }
.dash-nav-item.active { color: var(--green); border-left-color: var(--green); background: rgba(0,200,150,0.08); font-weight: 700; }

.dash-main   { padding: 2rem; background: var(--slate-light); overflow-x: hidden; }
.dash-header { margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.5rem; font-weight: 900; color: var(--dark); }
.dash-header p  { color: var(--slate); font-size: 0.875rem; margin-top: 4px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: white; border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow); border-left: 4px solid transparent;
}
.stat-card.green  { border-left-color: var(--green); }
.stat-card.blue   { border-left-color: #3B82F6; }
.stat-card.yellow { border-left-color: #F59E0B; }
.stat-card.red    { border-left-color: #EF4444; }
.stat-card .stat-num   { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1; }
.stat-card .stat-label { font-size: 0.75rem; color: var(--slate); font-weight: 600; margin-top: 4px; }
.stat-card .stat-icon  { font-size: 1.4rem; margin-bottom: 0.5rem; }

.data-table-wrap {
  background: white; border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow); overflow-x: auto;
}
.data-table-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; flex-wrap: wrap; gap: 0.75rem;
}
.data-table-header h3 { font-size: 1rem; font-weight: 800; color: var(--dark); }
.table-search {
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 20px;
  font-size: 0.85rem; outline: none; width: 220px; font-family: var(--font);
  transition: border-color 0.2s;
}
.table-search:focus { border-color: var(--green); }

table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th {
  text-align: left; padding: 10px 12px; font-size: 0.72rem; font-weight: 800;
  color: var(--slate); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--dark); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--slate-light); }

.filter-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }

/* ===== DOCUMENTS ===== */
.doc-card {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1rem; display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem;
  transition: all 0.2s;
}
.doc-card:hover { border-color: var(--green); }
.doc-icon  { font-size: 2rem; flex-shrink: 0; }
.doc-info  { flex: 1; min-width: 0; }
.doc-info h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-info p  { font-size: 0.78rem; color: var(--slate); }
.btn-download {
  background: var(--green); color: white; border: none; border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s;
  flex-shrink: 0; text-decoration: none; font-family: var(--font);
}
.btn-download:hover { background: var(--green-mid); }

/* ===== INFO LABELS ===== */
.info-label { font-size: 0.72rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.info-val   { font-size: 0.9rem; font-weight: 600; color: var(--dark); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--slate); }
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.empty-state p { font-size: 0.9rem; }

/* ===== TOAST ===== */
.notif-toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9998;
  background: var(--dark); color: white; border-radius: var(--radius-sm);
  padding: 1rem 1.5rem; min-width: 260px; max-width: 380px;
  box-shadow: var(--shadow-lg); border-left: 4px solid var(--green);
  transform: translateX(120%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  font-size: 0.875rem; display: flex; align-items: center; gap: 12px;
}
.notif-toast.show    { transform: translateX(0); }
.notif-icon          { font-size: 1.25rem; flex-shrink: 0; }
.notif-title         { font-weight: 700; margin-bottom: 2px; }
.notif-msg           { color: rgba(255,255,255,0.75); font-size: 0.8rem; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3rem 1.5rem 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem;
  max-width: 1100px; margin: 0 auto 2rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand h3      { font-size: 1.4rem; font-weight: 900; color: white; margin-bottom: 0.75rem; }
.footer-brand h3 span { color: var(--green); }
.footer-brand p       { font-size: 0.85rem; line-height: 1.7; max-width: 260px; }
.footer-col h4        { font-size: 0.82rem; font-weight: 800; color: white; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a         { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover   { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; gap: 0.5rem;
}
.footer-green { color: var(--green); }

/* ===== SPINNER ===== */
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--green); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  section { padding: 2.5rem 1rem; }
  .modal { max-height: 100vh; border-radius: 0; }
  .modal-overlay { padding: 0; align-items: flex-end; }
  .tracking-page { padding: 1.5rem 1rem; }
  .dash-main { padding: 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
