/* ===== EMUG SYSTEM — styles.css ===== */
/* EMUG v2.1 dark sidebar */
:root {
  --navy:        #1a237e;
  --navy-dark:   #0d1257;
  --navy-light:  #283593;
  --navy-mid:    #1e2a8a;
  --lime:        #76b900;
  --lime-dark:   #5a8c00;
  --lime-light:  #8fd000;
  --lime-pale:   #f0f9e0;
  --black:       #111111;
  --white:       #ffffff;
  --gray-50:     #f8f9fa;
  --gray-100:    #f1f3f4;
  --gray-200:    #e8eaed;
  --gray-300:    #dadce0;
  --gray-400:    #bdc1c6;
  --gray-500:    #9aa0a6;
  --gray-600:    #80868b;
  --gray-700:    #5f6368;
  --gray-800:    #3c4043;
  --gray-900:    #202124;
  --danger:      #d32f2f;
  --danger-lt:   #ffebee;
  --warning:     #f57c00;
  --warning-lt:  #fff3e0;
  --success:     #2e7d32;
  --success-lt:  #e8f5e9;
  --info:        #0277bd;
  --info-lt:     #e1f5fe;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.08);
  --shadow:    0 2px 8px rgba(0,0,0,.12), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --r:    8px;
  --r-sm: 4px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl:32px;
  --tr: all .2s ease;
}

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
  font-family:'Segoe UI',system-ui,-apple-system,sans-serif;
  background:var(--gray-50);
  color:var(--gray-900);
  min-height:100vh;
  overflow-x:hidden;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; }

/* ===== STRIPE TRADEMARK ===== */
.stripe { display:flex; height:5px; width:100%; }
.stripe .s-lime { background:var(--lime); flex:1; }
.stripe .s-navy { background:var(--navy-dark); flex:2; }
.stripe.thin { height:3px; }
.stripe.thick { height:8px; }
.stripe.equal .s-navy { flex:1; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 22px; border:none; border-radius:var(--r);
  font-size:.95rem; font-weight:600; cursor:pointer;
  transition:var(--tr); text-decoration:none; white-space:nowrap; line-height:1.2;
}
.btn-primary {
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  color:var(--white); box-shadow:0 3px 12px rgba(26,35,126,.35);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(26,35,126,.45); }
.btn-primary:active { transform:translateY(0); }

.btn-lime {
  background:linear-gradient(135deg,var(--lime-dark) 0%,var(--lime) 100%);
  color:var(--white); box-shadow:0 3px 12px rgba(118,185,0,.4);
}
.btn-lime:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(118,185,0,.5); }

.btn-outline-white {
  background:transparent; border:2px solid rgba(255,255,255,.6);
  color:var(--white);
}
.btn-outline-white:hover { background:rgba(255,255,255,.15); border-color:var(--white); }

.btn-outline {
  background:transparent; border:2px solid var(--gray-300);
  color:var(--gray-700);
}
.btn-outline:hover { border-color:var(--navy); color:var(--navy); background:var(--gray-50); }

.btn-danger { background:var(--danger); color:var(--white); }
.btn-danger:hover { background:#b71c1c; transform:translateY(-1px); }

.btn-ghost { background:transparent; color:var(--navy); padding:8px 14px; }
.btn-ghost:hover { background:var(--gray-100); }

.btn-sm  { padding:7px 14px; font-size:.82rem; }
.btn-lg  { padding:14px 32px; font-size:1.05rem; }
.btn-xl  { padding:16px 40px; font-size:1.15rem; border-radius:var(--r-lg); }
.btn-block { width:100%; }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none !important; }

/* ===== FORMS ===== */
.form-group { margin-bottom:18px; }
.form-label {
  display:block; font-size:.78rem; font-weight:700; color:var(--gray-700);
  margin-bottom:7px; text-transform:uppercase; letter-spacing:.6px;
}
.form-label span.req { color:var(--danger); margin-left:2px; }
.form-control {
  width:100%; padding:11px 14px;
  border:2px solid var(--gray-200); border-radius:var(--r);
  font-size:.95rem; color:var(--gray-900); background:var(--gray-50);
  transition:var(--tr); outline:none; font-family:inherit;
}
.form-control:focus {
  border-color:var(--navy); background:var(--white);
  box-shadow:0 0 0 3px rgba(26,35,126,.1);
}
.form-control.lg { padding:13px 16px; font-size:1rem; }
select.form-control {
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%235f6368'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; padding-right:40px;
}
textarea.form-control { resize:vertical; min-height:90px; }
.input-icon-wrap { position:relative; }
.input-icon-wrap .form-control { padding-left:42px; }
.input-icon-wrap .i-icon { position:absolute; left:13px; top:50%; transform:translateY(-50%); color:var(--gray-500); font-size:1rem; pointer-events:none; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media(max-width:600px){ .form-row { grid-template-columns:1fr; } }

/* ===== CARDS ===== */
.card {
  background:var(--white); border-radius:var(--r-lg);
  box-shadow:var(--shadow-sm); border:1px solid var(--gray-200);
  overflow:hidden; margin-bottom:20px;
}
.card-header {
  padding:16px 20px; border-bottom:1px solid var(--gray-200);
  display:flex; align-items:center; justify-content:space-between;
}
.card-title { font-size:1rem; font-weight:700; color:var(--navy); display:flex; align-items:center; gap:8px; }
.card-body { padding:20px; }

/* ===== BADGES ===== */
.badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:20px;
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.3px; white-space:nowrap;
}
.badge-menunggu  { background:var(--warning-lt); color:var(--warning); }
.badge-berjalan  { background:var(--info-lt); color:var(--info); }
.badge-selesai   { background:var(--success-lt); color:var(--success); }
.badge-admin     { background:rgba(26,35,126,.1); color:var(--navy); }
.badge-staff     { background:rgba(118,185,0,.15); color:var(--lime-dark); }

/* ===== SECTION DIVIDER ===== */
.section-divider { display:flex; height:3px; margin:24px 0; border-radius:2px; overflow:hidden; }
.section-divider .sd-lime { background:var(--lime); flex:1; }
.section-divider .sd-navy { background:var(--navy); flex:2; }

/* ===== TOAST ===== */
.toast-container {
  position:fixed; bottom:24px; right:24px; z-index:9999;
  display:flex; flex-direction:column; gap:8px; pointer-events:none;
}
.toast {
  background:var(--gray-900); color:var(--white); padding:12px 20px;
  border-radius:var(--r); font-size:.88rem; box-shadow:var(--shadow-lg);
  display:flex; align-items:center; gap:10px;
  animation:toastIn .3s ease; pointer-events:all; max-width:340px;
}
.toast.success { background:var(--success); }
.toast.error   { background:var(--danger); }
.toast.info    { background:var(--navy); }
@keyframes toastIn { from{transform:translateX(110%);opacity:0} to{transform:translateX(0);opacity:1} }

/* ===== MODAL ===== */
.modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.55);
  z-index:500; display:none; align-items:center; justify-content:center; padding:16px;
}
.modal-overlay.open { display:flex; }
.modal {
  background:var(--white); border-radius:var(--r-xl);
  box-shadow:var(--shadow-xl); width:100%; max-width:520px; max-height:90vh; overflow-y:auto;
}
.modal-header { overflow:hidden; border-radius:var(--r-xl) var(--r-xl) 0 0; }
.modal-hinner {
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  color:var(--white); padding:20px 24px;
  display:flex; justify-content:space-between; align-items:center;
}
.modal-title { font-size:1.05rem; font-weight:700; }
.modal-close {
  background:none; border:none; color:var(--white);
  cursor:pointer; font-size:1.2rem; padding:4px 6px; border-radius:var(--r-sm);
  opacity:.8; transition:var(--tr);
}
.modal-close:hover { opacity:1; background:rgba(255,255,255,.15); }
.modal-body { padding:24px; }
.modal-footer { padding:16px 24px; border-top:1px solid var(--gray-200); display:flex; gap:10px; justify-content:flex-end; }
@media(max-width:480px){
  .modal { max-width:100%; border-radius:0; max-height:100vh; }
  .modal-overlay { padding:0; align-items:flex-end; }
}

/* ===== LANG TOGGLE ===== */
.lang-toggle {
  background:rgba(255,255,255,.15); border:1.5px solid rgba(255,255,255,.35);
  color:var(--white); padding:5px 12px; border-radius:20px;
  font-size:.75rem; font-weight:700; cursor:pointer; transition:var(--tr); letter-spacing:.5px;
}
.lang-toggle:hover { background:rgba(255,255,255,.28); }
.lang-toggle.dark {
  background:var(--gray-100); border-color:var(--gray-300);
  color:var(--navy); padding:5px 12px;
}
.lang-toggle.dark:hover { background:var(--gray-200); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width:6px; height:6px; }
::-webkit-scrollbar-track { background:var(--gray-100); }
::-webkit-scrollbar-thumb { background:var(--gray-300); border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--gray-400); }

/* ==========================================
   PUBLIC SECTION
   ========================================== */

/* Public Nav */
.pub-nav {
  position:sticky; top:0; z-index:200;
  background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 100%);
  box-shadow:0 2px 12px rgba(0,0,0,.25);
}
.pub-nav-stripe { display:flex; height:4px; }
.pub-nav-stripe .s-lime { background:var(--lime); flex:1; }
.pub-nav-stripe .s-navy { background:var(--navy-dark); flex:1; }
.pub-nav-inner {
  display:flex; align-items:center; padding:0 20px; height:60px; gap:12px; max-width:1200px; margin:0 auto;
}
.pub-nav-logo { display:flex; align-items:center; gap:10px; cursor:pointer; flex:1; }
.logo-nav { height:120px; width:auto; flex-shrink:0; object-fit:contain; }
.pub-nav-company { display:flex; flex-direction:column; }
.pub-nav-name { font-size:.85rem; font-weight:800; color:var(--white); line-height:1.2; }
.pub-nav-tag  { font-size:.65rem; color:var(--lime); }
.pub-nav-actions { display:flex; align-items:center; gap:10px; }
.staff-login-btn {
  background:rgba(255,255,255,.12); border:1.5px solid rgba(255,255,255,.3);
  color:var(--white); padding:7px 14px; border-radius:var(--r);
  font-size:.78rem; font-weight:600; cursor:pointer; transition:var(--tr);
  display:flex; align-items:center; gap:6px;
}
.staff-login-btn:hover { background:rgba(255,255,255,.22); }

/* Public Page Wrapper */
.pub-page { display:none; }
.pub-page.active { display:block; }

/* ===== HERO ===== */
.hero {
  background:#4BB8FA;
  min-height:76vh; display:flex; align-items:center; justify-content:center;
  padding:60px 20px 120px; position:relative; overflow:hidden; text-align:center;
}
.hero-bg-dec {
  position:absolute; inset:0; pointer-events:none; overflow:hidden;
}
.hero-bg-dec::before {
  content:''; position:absolute; top:-20%; right:-10%;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle,rgba(118,185,0,.12) 0%,transparent 70%);
}
.hero-bg-dec::after {
  content:''; position:absolute; bottom:-10%; left:-10%;
  width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.04) 0%,transparent 70%);
}
.hero-content { position:relative; z-index:1; max-width:720px; }
.hero-logo { margin-bottom:24px; }
.logo-hero { height: 500px;px; width:auto; object-fit:contain; filter:drop-shadow(0 8px 24px rgba(0,0,0,.35)); }
.hero-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(118,185,0,.2); border:1px solid rgba(118,185,0,.4);
  color:var(--lime); padding:5px 16px; border-radius:20px;
  font-size:.78rem; font-weight:700; margin-bottom:16px; letter-spacing:.5px;
}
.hero-title {
  font-size:clamp(1.8rem,5vw,3rem); font-weight:900; color:var(--white);
  line-height:1.15; margin-bottom:10px; letter-spacing:-0.5px;
}
.hero-subtitle {
  font-size:clamp(1rem,2.5vw,1.3rem); color:rgba(255,255,255,.75);
  margin-bottom:8px; font-weight:400;
}
.hero-tagline {
  font-size:.9rem; color:var(--lime); font-weight:600; margin-bottom:32px;
}
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero-wave {
  position:absolute; bottom:-1px; left:0; right:0;
  height:80px; pointer-events:none;
}
.hero-wave svg { width:100%; height:100%; }

/* ===== SERVICES SECTION ===== */
.services-section {
  padding:72px 20px 64px; background:var(--gray-50); max-width:1200px; margin:0 auto;
}
.section-header { text-align:center; margin-bottom:44px; }
.section-tag {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--lime-pale); color:var(--lime-dark); padding:5px 16px;
  border-radius:20px; font-size:.78rem; font-weight:700; margin-bottom:12px; letter-spacing:.5px;
}
.section-title {
  font-size:clamp(1.4rem,3vw,1.9rem); font-weight:800; color:var(--navy); margin-bottom:8px;
}
.section-sub { color:var(--gray-600); font-size:.95rem; max-width:560px; margin:0 auto; }

.services-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
@media(max-width:860px){ .services-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:540px){ .services-grid { grid-template-columns:1fr 1fr; gap:12px; } }

.service-card {
  background:var(--white); border-radius:var(--r-lg); padding:28px 20px;
  text-align:center; border:1.5px solid var(--gray-200);
  transition:var(--tr); cursor:default; position:relative; overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.service-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--lime) 0%,var(--lime-dark) 100%);
  transform:scaleX(0); transition:transform .3s ease; transform-origin:left;
}
.service-card:hover { border-color:var(--lime); box-shadow:var(--shadow-md); transform:translateY(-3px); }
.service-card:hover::before { transform:scaleX(1); }
.service-icon {
  width:64px; height:64px; background:var(--lime-pale); border-radius:var(--r-lg);
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; margin:0 auto 14px; transition:var(--tr);
}
.service-card:hover .service-icon { background:var(--lime); }
.service-name { font-size:.98rem; font-weight:700; color:var(--navy); margin-bottom:6px; }
.service-desc { font-size:.8rem; color:var(--gray-600); line-height:1.5; }

/* ===== CTA BANNER ===== */
.cta-section {
  background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);
  padding:64px 20px; text-align:center; position:relative; overflow:hidden;
}
.cta-section::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  display:flex;
}
.cta-stripe { position:absolute; top:0; left:0; right:0; display:flex; height:5px; }
.cta-stripe .s-lime { background:var(--lime); flex:1; }
.cta-stripe .s-navy { background:var(--navy-dark); flex:2; }
.cta-stripe-bot { position:absolute; bottom:0; left:0; right:0; display:flex; height:5px; }
.cta-stripe-bot .s-lime { background:var(--lime); flex:1; }
.cta-stripe-bot .s-navy { background:var(--navy-dark); flex:2; }
.cta-content { max-width:640px; margin:0 auto; position:relative; z-index:1; }
.cta-title { font-size:clamp(1.3rem,3vw,1.9rem); font-weight:800; color:var(--white); margin-bottom:10px; }
.cta-sub { color:rgba(255,255,255,.75); margin-bottom:28px; font-size:.95rem; line-height:1.6; }
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ===== TRACK SECTION (Landing) ===== */
.track-section {
  padding:64px 20px; background:var(--white);
  border-top:1px solid var(--gray-200);
}
.track-section-inner { max-width:600px; margin:0 auto; }
.track-card {
  background:var(--gray-50); border:2px solid var(--gray-200); border-radius:var(--r-xl);
  padding:32px; text-align:center;
}
.track-card-icon { font-size:2.5rem; margin-bottom:12px; }
.track-card-title { font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:6px; }
.track-card-sub { color:var(--gray-600); font-size:.88rem; margin-bottom:20px; }
.track-input-row {
  display:flex; gap:10px;
}
.track-input-row .form-control { flex:1; }
@media(max-width:480px){ .track-input-row { flex-direction:column; } }

/* ===== CONTACT BAR ===== */
.contact-bar {
  background:var(--navy); padding:32px 20px;
}
.contact-bar-inner {
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:center;
}
@media(max-width:640px){ .contact-bar-inner { grid-template-columns:1fr; } }
.contact-item-icon { font-size:1.5rem; margin-bottom:6px; }
.contact-item-label { font-size:.72rem; color:var(--lime); font-weight:700; text-transform:uppercase; letter-spacing:.8px; }
.contact-item-val { font-size:.95rem; color:var(--white); font-weight:600; margin-top:2px; }

/* ===== FOOTER ===== */
.pub-footer {
  background:var(--navy-dark); padding:24px 20px; text-align:center; color:rgba(255,255,255,.45);
  font-size:.78rem;
}
.pub-footer a { color:rgba(255,255,255,.6); }
.pub-footer a:hover { color:var(--lime); }

/* ===== NEW LANDING PAGE ===== */
:root {
  --lp-navy:      #0d1b4b;
  --lp-lime:      #8bc34a;
  --lp-lime-dark: #3B6D11;
  --lp-lime-pale: #eef7de;
  --lp-border:    #eef0f5;
  --lp-grey-bg:   #f7f9fc;
  --lp-text-muted:#56617a;
}

/* Hero */
.lp-hero {
  background:#fff;
  padding:88px 24px 80px;
  border-bottom:1px solid var(--lp-border);
}
.lp-hero-inner {
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.lp-pill {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--lp-lime-pale); color:var(--lp-lime-dark);
  border:1px solid rgba(139,195,74,.35);
  padding:6px 14px; border-radius:100px;
  font-size:.78rem; font-weight:700; margin-bottom:22px; letter-spacing:.3px;
}
.lp-headline {
  font-size:clamp(2rem,4.5vw,3.1rem); font-weight:900;
  color:var(--lp-navy); line-height:1.1; margin-bottom:18px; letter-spacing:-1px;
}
.lp-headline-accent { color:var(--lp-lime); }
.lp-desc {
  font-size:1rem; color:var(--lp-text-muted); line-height:1.7;
  margin-bottom:30px; max-width:460px;
}
.lp-hero-btns { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:36px; }
.lp-btn-cta {
  background:var(--lp-lime); color:var(--lp-lime-dark) !important;
  border:2px solid var(--lp-lime); font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
}
.lp-btn-cta:hover { background:#7baf3a; border-color:#7baf3a; }
.lp-btn-outline {
  background:transparent; color:var(--lp-navy) !important;
  border:2px solid var(--lp-navy); font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
}
.lp-btn-outline:hover { background:var(--lp-navy); color:#fff !important; }
.lp-trust-row { display:flex; gap:20px; flex-wrap:wrap; }
.lp-trust-item {
  display:flex; align-items:center; gap:9px;
  font-size:.82rem; font-weight:600; color:#3a4460;
}
.lp-trust-icon {
  width:32px; height:32px; background:var(--lp-lime-pale); border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color:var(--lp-lime-dark); flex-shrink:0;
}

/* Hero right column — houses the animated status card */
.lp-hero-right { display:flex; justify-content:center; align-items:center; }

/* Service cards with photo thumbnails */
.service-card { padding:0; display:flex; flex-direction:column; }
.service-photo {
  width:100%; height:160px; overflow:hidden;
  background:var(--gray-100); flex-shrink:0;
}
.service-photo img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .55s ease;
}
.service-card:hover .service-photo img { transform:scale(1.07); }
.service-card-body { padding:22px 20px 26px; text-align:center; }
.service-card-body .service-icon {
  width:48px; height:48px; border-radius:12px; margin:0 auto 12px;
}

/* Gallery — Kerja Kami */
.lp-gallery-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:14px;
  margin-top:40px;
}
.lp-gallery-item {
  position:relative; aspect-ratio:1/1; overflow:hidden;
  border-radius:14px; background:var(--gray-100);
  box-shadow:0 4px 12px rgba(13,27,75,.06);
  cursor:default;
}
.lp-gallery-item img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s ease;
}
.lp-gallery-item::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(13,27,75,.5) 100%);
  opacity:0; transition:opacity .3s ease; pointer-events:none;
}
.lp-gallery-item:hover img { transform:scale(1.09); }
.lp-gallery-item:hover::after { opacity:1; }

/* Shared section layout */
.lp-section { padding:72px 24px; }
.lp-section-white { background:#fff; border-top:1px solid var(--lp-border); }
.lp-section-grey { background:var(--lp-grey-bg); border-top:1px solid var(--lp-border); }
.lp-section-inner { max-width:1100px; margin:0 auto; }

/* Cara Kerja */
.lp-steps-row {
  display:flex; align-items:flex-start; margin-top:48px;
}
.lp-how-step { flex:1; text-align:center; padding:0 20px; }
.lp-how-connector {
  width:80px; flex-shrink:0; height:2px; align-self:flex-start; margin-top:50px;
  background:linear-gradient(90deg,var(--lp-lime) 0%,rgba(139,195,74,.2) 100%);
}
.lp-how-num {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; background:var(--lp-navy); color:var(--lp-lime);
  border-radius:50%; font-size:1rem; font-weight:900; margin:0 auto 14px;
}
.lp-how-icon {
  width:64px; height:64px; background:var(--lp-lime-pale); border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  color:var(--lp-lime-dark); margin:0 auto 16px; transition:var(--tr);
}
.lp-how-step:hover .lp-how-icon { background:var(--lp-lime); color:#fff; }
.lp-how-title { font-size:.98rem; font-weight:800; color:var(--lp-navy); margin-bottom:8px; }
.lp-how-desc { font-size:.84rem; color:var(--lp-text-muted); line-height:1.65; }

/* CTA section */
.lp-cta { background:var(--lp-navy); padding:80px 24px; text-align:center; }
.lp-cta-inner { max-width:680px; margin:0 auto; }
.lp-cta-title {
  font-size:clamp(1.5rem,3.5vw,2.1rem); font-weight:900;
  color:#fff; margin-bottom:12px; line-height:1.2;
}
.lp-cta-sub {
  color:rgba(255,255,255,.7); font-size:.95rem;
  line-height:1.65; margin-bottom:32px;
}
.lp-cta-outline {
  background:transparent; color:#fff !important;
  border:2px solid rgba(255,255,255,.45); font-weight:700;
  display:inline-flex; align-items:center; gap:8px;
}
.lp-cta-outline:hover { border-color:#fff; background:rgba(255,255,255,.1); }

/* Track section tweak */
.lp-track-section { border-top:1px solid var(--lp-border); }
.lp-track-inner { max-width:580px; }
.track-card-icon {
  color:var(--lp-navy); font-size:0; margin-bottom:12px;
  display:flex; justify-content:center;
}

/* Footer */
.lp-footer { background:#0a1238; }
.lp-footer-inner {
  max-width:1100px; margin:0 auto; padding:56px 24px 40px;
  display:grid; grid-template-columns:1fr 1.8fr; gap:56px; align-items:start;
}
.lp-footer-logo {
  height:48px; width:auto; object-fit:contain;
  filter:brightness(0) invert(1); opacity:.8; margin-bottom:12px; display:block;
}
.lp-footer-brand-name { font-size:.88rem; font-weight:700; color:#fff; margin-bottom:4px; }
.lp-footer-brand-tag { font-size:.75rem; color:rgba(255,255,255,.4); }
.lp-footer-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.lp-footer-col-icon {
  width:36px; height:36px; background:rgba(139,195,74,.15); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--lp-lime); margin-bottom:12px;
}
.lp-footer-col-label {
  font-size:.66rem; text-transform:uppercase; letter-spacing:1px;
  font-weight:700; color:var(--lp-lime); margin-bottom:6px;
}
.lp-footer-col-val { font-size:.84rem; color:rgba(255,255,255,.72); line-height:1.7; }
.lp-footer-bar {
  border-top:1px solid rgba(255,255,255,.07); padding:14px 24px;
  text-align:center; font-size:.74rem; color:rgba(255,255,255,.28);
}
.lp-footer-bar a { color:rgba(255,255,255,.4); text-decoration:none; }
.lp-footer-bar a:hover { color:var(--lp-lime); }

/* ── ANIMATED STATUS CARD ───────────────────────────────────────────────────
   Self-contained dark card in the hero right column.
   All animation driven by CSS keyframes + vanilla JS class toggles.
   ─────────────────────────────────────────────────────────────────────────── */

/* Right column sizing — card replaces the photo wrapper */
#sc-root {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card shell */
.sc-card {
  background: #0d1b4b;
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 24px 60px rgba(13,27,75,.35), 0 4px 16px rgba(13,27,75,.15);
  /* entrance: card itself fades in */
  animation: scCardIn .5s ease both;
}
@keyframes scCardIn {
  from { opacity:0; transform:translateY(12px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Header row */
.sc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sc-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.42);
  text-transform: uppercase;
}
/* Live badge */
.sc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,195,74,.12);
  border: 1px solid rgba(139,195,74,.3);
  color: #8bc34a;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 100px;
}
/* Pulsing green dot */
.sc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8bc34a;
  flex-shrink: 0;
  animation: scDotPulse 1.8s ease-in-out infinite;
}
@keyframes scDotPulse {
  0%,100% { opacity:1;   transform:scale(1); }
  50%      { opacity:.35; transform:scale(.7); }
}
/* Done state: dot turns static white */
.sc-badge-done .sc-dot {
  animation: none;
  background: #fff;
}

/* Ref box */
.sc-ref-box {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sc-ref-num {
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
}
.sc-ref-sep { color: rgba(255,255,255,.2); font-size:.9rem; }
.sc-ref-type {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* Steps container */
.sc-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

/* Individual step */
.sc-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  /* entrance animation — JS adds .sc-visible to trigger */
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .4s ease, transform .4s ease;
}
.sc-step.sc-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Left column: circle + connector */
.sc-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 28px;
}

/* Step circles */
.sc-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  transition: background .5s ease, border-color .5s ease;
}
.sc-circle-done {
  background: #8bc34a;
  color: #1d3d08;
}
.sc-circle-active {
  background: rgba(255,255,255,.10);
  border: 2px solid #8bc34a;
  color: #8bc34a;
}
.sc-circle-pending {
  background: rgba(255,255,255,.05);
  border: 2px solid rgba(255,255,255,.15);
}
/* Spinning / cycling icon in active circle */
.sc-spin-icon {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  animation: scSpin 1.6s linear infinite;
  /* JS swaps content between ⟳ → • → … */
}
@keyframes scSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* When step becomes "done" mid-animation, swap to checkmark */
.sc-circle-active.sc-circle-done .sc-spin-icon { display: none; }

/* Vertical connector between steps */
.sc-connector {
  width: 2px;
  flex: 1;
  min-height: 18px;
  background: rgba(139,195,74,.35);
  margin: 4px 0;
  border-radius: 2px;
  transition: background .5s ease;
}
.sc-connector-dim {
  background: rgba(255,255,255,.08);
}

/* Step text */
.sc-step-body {
  padding-bottom: 16px;
  flex: 1;
}
.sc-step:last-child .sc-step-body { padding-bottom: 0; }
.sc-step-title {
  font-size: .86rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  margin-bottom: 3px;
  transition: color .4s ease;
}
.sc-step-title-active { color: #fff; }
.sc-step-title-pending { color: rgba(255,255,255,.3); }
.sc-step-sub {
  font-size: .7rem;
  color: rgba(255,255,255,.38);
  line-height: 1.4;
}
.sc-step-sub-active {
  color: #8bc34a;
  animation: scSubFade 1.8s ease-in-out infinite;
}
@keyframes scSubFade {
  0%,100% { opacity:1; }
  50%      { opacity:.55; }
}

/* Progress bar */
.sc-progress-wrap {
  margin-bottom: 16px;
}
.sc-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}
.sc-progress-lbl {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
}
.sc-progress-pct {
  font-size: .8rem;
  font-weight: 800;
  color: #8bc34a;
  transition: color .4s ease;
}
.sc-progress-pct-done { color: #fff; }
.sc-progress-track {
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  overflow: hidden;
}
.sc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #5a9e1a, #8bc34a);
  border-radius: 6px;
  transition: width .9s cubic-bezier(.4,0,.2,1), background .5s ease;
}
.sc-progress-fill-done {
  background: linear-gradient(90deg, #8bc34a, #aee065);
}

/* ETA strip */
.sc-eta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 9px 14px;
}
.sc-eta-lbl {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .6px;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}
.sc-eta-val {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  transition: color .4s ease;
}
.sc-eta-val-done { color: #8bc34a; }

/* Responsive: hide card on very small screens to save vertical space */
@media (max-width: 480px) {
  #sc-root { display: none; }
}

/* ── PARALLAX BANDS ─────────────────────────────────────────────────────────
   Desktop: CSS background-attachment:fixed gives a native parallax effect.
   Mobile:  background-attachment:scroll (fixed is janky/unsupported on iOS).
   JS:      A tiny IntersectionObserver drives a CSS custom property
            (--pb-offset) for a transform-based parallax layer on browsers
            that support it — the CSS fallback works without JS.
   prefers-reduced-motion: disables all motion, static photo only.
   ──────────────────────────────────────────────────────────────────────────── */
.lp-parallax-band {
  position: relative;
  height: 240px;           /* compact — context band, not a hero */
  overflow: hidden;
  isolation: isolate;      /* stacking context so overlay is self-contained */
}

/* The photo layer — pseudo-element so we control it independently */
.lp-parallax-band::before {
  content: '';
  position: absolute;
  inset: -30% 0;            /* extra vertical bleed for parallax travel */
  background-image: var(--pb-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* CSS parallax on desktop */
  transform: translateY(var(--pb-offset, 0px));
  will-change: transform;
  z-index: 0;
}

/* Navy overlay — brand-anchored, guarantees text contrast */
.lp-parallax-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 75, 0.78);
  z-index: 1;
}

/* Text content above both layers */
.lp-parallax-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  text-align: center;
}

.lp-parallax-stat {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #8bc34a;           /* lime */
  letter-spacing: -1px;
  line-height: 1;
}
.lp-parallax-stat span {   /* the "+" */
  color: rgba(255,255,255,.6);
  font-size: .6em;
  font-weight: 700;
}
.lp-parallax-tagline {
  font-size: clamp(.88rem, 2vw, 1.05rem);
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  letter-spacing: .3px;
  max-width: 520px;
}

/* ── Mobile: drop background-attachment:fixed (iOS doesn't support it) ── */
@media (max-width: 768px) {
  .lp-parallax-band { height: 200px; }
  .lp-parallax-band::before {
    inset: 0;               /* no bleed — static background */
    background-attachment: scroll;
    transform: none !important;   /* disable JS transform too */
  }
}

/* ── Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .lp-parallax-band::before {
    background-attachment: scroll;
    transform: none !important;
    transition: none;
  }
}

/* ── COMPACT HERO overrides ── */
.lp-hero-compact { padding:56px 24px 48px; }
.lp-hero-compact .lp-headline { font-size:clamp(1.7rem,3.8vw,2.6rem); margin-bottom:14px; }
.lp-hero-compact .lp-desc { font-size:.93rem; margin-bottom:24px; }
.lp-hero-compact .lp-pill { margin-bottom:16px; font-size:.74rem; }
.lp-hero-btns-focus { gap:10px; margin-bottom:28px; }
.lp-hero-btns-focus .btn-lg { padding:12px 22px; font-size:.95rem; }
/* Make the CTA button the visual anchor */
.lp-hero-btns-focus .lp-btn-cta { font-size:1rem; padding:14px 28px; }
.lp-trust-item { font-size:.79rem; }
.lp-trust-icon { width:28px; height:28px; }

/* ── FLAT service cards (no photo) ── */
.service-card-flat { padding:20px 16px 22px; display:block; }
.service-card-flat .service-icon {
  width:44px; height:44px; border-radius:10px; margin:0 auto 10px;
}
.service-card-flat .service-name { font-size:.9rem; margin-bottom:4px; }
.service-card-flat .service-desc { font-size:.78rem; }
/* compact header for services/cara kerja */
.section-header-sm { margin-bottom:28px; }
.section-header-sm .section-title { font-size:clamp(1.2rem,2.5vw,1.6rem); margin-bottom:4px; }
.section-header-sm .section-sub { font-size:.88rem; }

/* ── REVIEW STRIP ── */
.lp-review-strip {
  background:var(--lp-grey-bg);
  border-top:1px solid var(--lp-border);
  border-bottom:1px solid var(--lp-border);
  padding:18px 24px;
}
.lp-review-strip-inner {
  max-width:1100px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.lp-review-strip-left {
  display:flex; align-items:center; gap:10px;
  font-size:.86rem; color:var(--lp-text-muted); font-weight:500;
}
.lp-review-star { color:#f5a623; font-size:1.1rem; }
.lp-btn-review {
  background:transparent; color:var(--lp-navy) !important;
  border:1.5px solid var(--lp-navy); font-weight:700;
  font-size:.84rem; padding:9px 18px; border-radius:8px;
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  transition:var(--tr);
}
.lp-btn-review:hover { background:var(--lp-navy); color:#fff !important; }
/* mini reviews when data exists */
.lp-reviews-mini { display:flex; gap:12px; flex-wrap:wrap; margin-top:10px; }
.lp-review-mini-card {
  background:#fff; border:1px solid var(--lp-border); border-radius:10px;
  padding:10px 14px; max-width:240px; font-size:.78rem; color:var(--lp-text-muted);
}
.lp-review-mini-card .mini-stars { color:#f5a623; font-size:.85rem; margin-bottom:4px; }
.lp-review-mini-card .mini-author { font-weight:700; color:var(--lp-navy); font-size:.75rem; margin-top:5px; }

/* Reduce lp-section top padding a touch */
.lp-section { padding:56px 24px; }

/* Responsive */
@media (max-width:900px) {
  .lp-hero-inner { grid-template-columns:1fr; gap:32px; }
  .lp-hero-right { order:-1; justify-content:center; }
  .lp-footer-inner { grid-template-columns:1fr; gap:32px; }
  .lp-footer-cols { grid-template-columns:1fr; gap:20px; }
  .lp-steps-row { flex-direction:column; align-items:center; gap:28px; }
  .lp-how-connector { display:none; }
  .lp-how-step { padding:0; max-width:300px; }
}
@media (max-width:600px) {
  .lp-hero-compact { padding:40px 20px 36px; }
  .lp-section { padding:44px 20px; }
  .lp-trust-row { gap:12px; }
  .lp-hero-btns-focus { flex-direction:column; }
  .lp-hero-btns-focus .btn { width:100%; justify-content:center; }
  .services-grid { grid-template-columns:1fr 1fr; gap:10px; }
  .lp-review-strip-inner { flex-direction:column; align-items:flex-start; }
}

/* ===== COMPLAINT FORM PAGE ===== */
.complaint-page {
  min-height:calc(100vh - 64px); background:var(--gray-50); padding:32px 20px 60px;
}
.complaint-inner { max-width:700px; margin:0 auto; }
.complaint-header { text-align:center; margin-bottom:32px; }
.complaint-header-icon { font-size:2.5rem; margin-bottom:10px; }
.complaint-title { font-size:1.5rem; font-weight:800; color:var(--navy); }
.complaint-sub { color:var(--gray-600); margin-top:6px; font-size:.9rem; }
.complaint-card {
  background:var(--white); border-radius:var(--r-xl); box-shadow:var(--shadow-md);
  overflow:hidden; border:1px solid var(--gray-200);
}
.complaint-card-header {
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  padding:20px 28px; color:var(--white);
}
.complaint-card-title { font-size:1rem; font-weight:700; }
.complaint-card-sub { font-size:.8rem; opacity:.75; margin-top:3px; }
.complaint-form { padding:28px; }

/* Confirmation State */
.confirm-state {
  text-align:center; padding:40px 28px;
}
.confirm-icon { font-size:3.5rem; margin-bottom:16px; animation:popIn .4s ease; }
@keyframes popIn { 0%{transform:scale(0)} 70%{transform:scale(1.2)} 100%{transform:scale(1)} }
.confirm-title { font-size:1.25rem; font-weight:800; color:var(--success); margin-bottom:8px; }
.confirm-sub { color:var(--gray-600); font-size:.9rem; margin-bottom:20px; line-height:1.6; }
.ref-display {
  background:var(--gray-100); border:2px dashed var(--gray-300);
  border-radius:var(--r-lg); padding:20px; margin:16px 0;
}
.ref-label { font-size:.75rem; color:var(--gray-500); text-transform:uppercase; letter-spacing:.8px; font-weight:600; margin-bottom:8px; }
.ref-number {
  font-size:1.7rem; font-weight:900; color:var(--navy); letter-spacing:3px;
  font-family:'Courier New',monospace;
}
.confirm-actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:20px; }

/* ===== TRACK STATUS PAGE ===== */
.track-page { min-height:calc(100vh - 64px); background:var(--gray-50); padding:32px 20px 60px; }
.track-inner { max-width:640px; margin:0 auto; }
.track-header { text-align:center; margin-bottom:32px; }
.track-search-card {
  background:var(--white); border-radius:var(--r-xl); box-shadow:var(--shadow-md);
  padding:28px; margin-bottom:24px; border:1px solid var(--gray-200);
}
.track-result-card {
  background:var(--white); border-radius:var(--r-xl); box-shadow:var(--shadow-md);
  overflow:hidden; border:1px solid var(--gray-200); animation:fadeIn .3s ease;
}
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.track-result-header {
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  padding:20px 24px; color:var(--white);
}
.track-result-ref { font-size:.8rem; opacity:.7; margin-bottom:4px; }
.track-result-name { font-size:1.1rem; font-weight:700; }
.track-result-body { padding:24px; }
.track-status-big {
  display:flex; align-items:center; justify-content:center; gap:12px;
  padding:20px; border-radius:var(--r-lg); margin-bottom:20px;
  font-size:1.1rem; font-weight:700;
}
.track-status-big.menunggu  { background:var(--warning-lt); color:var(--warning); }
.track-status-big.berjalan  { background:var(--info-lt); color:var(--info); }
.track-status-big.selesai   { background:var(--success-lt); color:var(--success); }
.track-detail-row {
  display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--gray-100); font-size:.9rem;
}
.track-detail-row:last-child { border-bottom:none; }
.track-detail-label { color:var(--gray-500); font-weight:500; min-width:130px; flex-shrink:0; }
.track-detail-val { color:var(--gray-900); font-weight:600; }
.track-error {
  background:var(--danger-lt); border:1.5px solid rgba(211,47,47,.25);
  border-radius:var(--r-lg); padding:20px; text-align:center; color:var(--danger);
  font-size:.9rem; animation:fadeIn .3s ease;
}

/* ===== STAFF LOGIN ===== */
.login-page {
  min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center;
  background:linear-gradient(150deg,var(--navy-dark) 0%,var(--navy) 60%,var(--navy-light) 100%);
  padding:20px; position:relative; overflow:hidden;
}
.login-page::before {
  content:''; position:absolute; top:-30%; right:-20%;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(118,185,0,.08) 0%,transparent 70%); pointer-events:none;
}
.login-stripe-t { position:absolute; top:0; left:0; right:0; display:flex; height:5px; }
.login-stripe-t .s-l { background:var(--lime); flex:1; }
.login-stripe-t .s-n { background:var(--navy-dark); flex:1; }
.login-stripe-b { position:absolute; bottom:0; left:0; right:0; display:flex; height:5px; }
.login-stripe-b .s-l { background:var(--lime); flex:1; }
.login-stripe-b .s-n { background:var(--navy-dark); flex:1; }
.login-card {
  background:var(--white); border-radius:var(--r-2xl);
  box-shadow:var(--shadow-xl); width:100%; max-width:400px; overflow:hidden;
  position:relative; z-index:1;
}
.login-card-header {
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  padding:32px 32px 24px; text-align:center;
}
.login-logo { margin-bottom:14px; }
.logo-login { height:80px; width:auto; object-fit:contain; filter:drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
.login-company { font-size:.95rem; font-weight:800; color:var(--white); line-height:1.3; letter-spacing:.3px; }
.login-tagline { font-size:.72rem; color:var(--lime); margin-top:4px; font-style:italic; }
.login-card-stripe { display:flex; height:4px; }
.login-card-stripe .s-l { background:var(--lime); flex:1; }
.login-card-stripe .s-n { background:var(--navy-dark); flex:1; }
.login-body { padding:28px 28px 32px; }
.login-title { font-size:1rem; font-weight:700; color:var(--navy); text-align:center; margin-bottom:20px; }
.login-error {
  background:var(--danger-lt); border:1.5px solid rgba(211,47,47,.25);
  border-radius:var(--r); color:var(--danger); padding:10px 14px;
  font-size:.84rem; margin-bottom:14px; display:none; align-items:center; gap:8px;
}
.login-error.show { display:flex; }
.demo-section { margin-top:18px; padding-top:16px; border-top:1px solid var(--gray-200); }
.demo-label { font-size:.72rem; color:var(--gray-500); text-align:center; margin-bottom:8px; }
.demo-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.demo-btn {
  background:var(--gray-100); border:1px solid var(--gray-200);
  border-radius:var(--r-sm); padding:7px 10px; font-size:.72rem;
  cursor:pointer; color:var(--gray-700); transition:var(--tr); text-align:center; font-weight:500;
}
.demo-btn:hover { background:var(--navy); color:var(--white); border-color:var(--navy); }
.back-to-home {
  margin-top:16px; text-align:center;
}
.back-to-home button {
  background:none; border:none; color:rgba(255,255,255,.6);
  font-size:.8rem; cursor:pointer; transition:var(--tr);
  display:flex; align-items:center; gap:6px; margin:0 auto;
}
.back-to-home button:hover { color:var(--white); }
.login-footer {
  margin-top:20px; text-align:center; color:rgba(255,255,255,.4); font-size:.7rem; line-height:1.6; position:relative; z-index:1;
}

/* ==========================================
   PRIVATE DASHBOARD
   ========================================== */
#page-app { display:none; flex-direction:column; min-height:100vh; }
#page-app.active { display:flex; }

.app-header {
  background:var(--white); color:var(--gray-900);
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--gray-200); box-shadow:var(--shadow-sm);
}
.app-header-stripe { display:flex; height:4px; }
.app-header-stripe .s-l { background:var(--lime); flex:1; }
.app-header-stripe .s-n { background:var(--navy-dark); flex:2; }
.app-header-inner {
  display:flex; align-items:center; padding:0 16px; height:48px; gap:12px;
  max-width:none; /* full width */
}
.app-menu-btn {
  background:none; border:none; color:var(--navy); cursor:pointer;
  padding:6px; border-radius:var(--r-sm); display:flex; align-items:center; transition:var(--tr);
}
.app-menu-btn:hover { background:var(--gray-100); }
.app-logo-wrap { display:flex; align-items:center; gap:10px; flex:1; cursor:pointer; }
.logo-app { height:40px; width:auto; flex-shrink:0; object-fit:contain; }
.app-logo-name { font-size:.85rem; font-weight:700; line-height:1.2; color:var(--navy); }
.app-logo-tag  { font-size:.63rem; color:var(--lime); }
.app-header-actions { display:flex; align-items:center; gap:8px; }

.notif-wrap { position:relative; }
.notif-btn {
  background:none; border:none; color:var(--gray-700); cursor:pointer;
  padding:6px; border-radius:var(--r-sm); position:relative; transition:var(--tr); font-size:1.1rem;
}
.notif-btn:hover { background:var(--gray-100); }
.notif-badge {
  position:absolute; top:1px; right:1px; background:var(--lime); color:var(--navy);
  border-radius:50%; width:16px; height:16px; font-size:.6rem; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.notif-dd {
  position:absolute; top:calc(100% + 8px); right:0; width:320px;
  background:var(--white); border-radius:var(--r-lg); box-shadow:var(--shadow-lg);
  border:1px solid var(--gray-200); z-index:300; overflow:hidden; display:none;
}
.notif-dd.open { display:block; }
.notif-dd-head {
  padding:12px 16px; background:var(--navy); color:var(--white);
  display:flex; justify-content:space-between; align-items:center;
  font-size:.88rem; font-weight:700;
}
.notif-dd-head button { background:none; border:none; color:var(--lime); font-size:.72rem; cursor:pointer; font-weight:700; }
.notif-dd-list { max-height:300px; overflow-y:auto; }
.notif-item {
  padding:12px 16px; border-bottom:1px solid var(--gray-100);
  display:flex; gap:10px; cursor:pointer; transition:var(--tr);
}
.notif-item:hover { background:var(--gray-50); }
.notif-item.unread { background:rgba(26,35,126,.04); }
.notif-item:last-child { border-bottom:none; }
.notif-dot { width:8px; height:8px; border-radius:50%; background:var(--lime); margin-top:5px; flex-shrink:0; }
.notif-item.read .notif-dot { background:var(--gray-300); }
.notif-text { font-size:.82rem; color:var(--gray-800); line-height:1.4; font-weight:500; }
.notif-item.read .notif-text { font-weight:400; }
.notif-time { font-size:.7rem; color:var(--gray-400); margin-top:2px; }

.user-wrap { position:relative; }
.user-avatar {
  width:34px; height:34px; background:var(--lime); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:.78rem; font-weight:800; color:var(--navy); cursor:pointer;
  border:2px solid var(--gray-200); transition:var(--tr);
}
.user-avatar:hover { border-color:var(--navy); }
.user-dd {
  position:absolute; top:calc(100% + 8px); right:0;
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r);
  box-shadow:var(--shadow-md); z-index:300; min-width:170px; overflow:hidden; display:none;
}
.user-dd.open { display:block; }
.user-dd-item {
  padding:10px 16px; font-size:.88rem; cursor:pointer; color:var(--gray-800);
  display:flex; align-items:center; gap:10px; transition:var(--tr);
}
.user-dd-item:hover { background:var(--gray-50); color:var(--navy); }
.user-dd-item.danger { color:var(--danger); }
.user-dd-item.danger:hover { background:var(--danger-lt); }

/* App Body */
.app-body { display:flex; flex:1; overflow:hidden; }
.sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:90; }
.sidebar-overlay.open { display:block; }

.sidebar {
  width: 220px;
  background: #0a1f44 !important;
  color: white;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar .nav-item {
  color: rgba(255,255,255,0.6) !important;
  border-left: 2px solid transparent;
}
.sidebar .nav-item:hover {
  background: rgba(255,255,255,0.06) !important;
  color: white !important;
}
.sidebar .nav-item.active {
  background: rgba(168,212,74,0.12) !important;
  color: #a8d44a !important;
  border-left: 2px solid #a8d44a !important;
}
.sidebar .sidebar-user {
  background: rgba(0,0,0,0.2) !important;
}
.sidebar .sidebar-user * {
  color: white !important;
}
#btn-logout {
  color: rgba(255,255,255,0.45) !important;
}
#btn-logout:hover {
  color: #f07070 !important;
}
.sb-brand {
  display:flex; align-items:center; gap:8px;
  padding:16px 16px 12px; border-bottom:1px solid rgba(255,255,255,.08);
}
.sb-brand-dot { color:#a8d44a; font-size:1.1rem; line-height:1; }
.sb-brand-text { color:white; font-weight:700; font-size:.78rem; letter-spacing:.8px; }
.sidebar-user {
  padding:14px 16px 14px;
  background:transparent;
  color:var(--white);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.sidebar-av {
  width:40px; height:40px; background:var(--lime); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; font-weight:800; color:var(--navy);
  margin-bottom:8px; border:2px solid rgba(255,255,255,.2);
}
.sidebar-name { font-size:.88rem; font-weight:700; color:white; }
.sidebar-role-badge {
  display:inline-block; background:#a8d44a; color:#0a1f44;
  padding:2px 8px; border-radius:10px; font-size:.64rem; font-weight:800;
  margin-top:4px; text-transform:uppercase; letter-spacing:.3px;
}
.sidebar-stripe { display:none; }
.sidebar-nav { flex:1; padding:8px 0; }
.nav-sec-label {
  font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:1px;
  color:rgba(255,255,255,.3); padding:10px 16px 4px;
}
.nav-item {
  display:flex; align-items:center; gap:12px; padding:11px 16px;
  cursor:pointer; transition:var(--tr); border-left:2px solid transparent;
  color:rgba(255,255,255,.6); font-size:.88rem; font-weight:500;
}
.nav-item:hover { background:rgba(255,255,255,.06); color:white; }
.nav-item.active {
  background:rgba(168,212,74,.12); color:#a8d44a;
  border-left-color:#a8d44a; font-weight:600;
}
.nav-icon { font-size:1rem; width:20px; text-align:center; }
.nav-badge {
  margin-left:auto; background:#a8d44a; color:#0a1f44;
  padding:1px 7px; border-radius:10px; font-size:.62rem; font-weight:800;
}
.sidebar-bottom { padding:12px; border-top:1px solid rgba(255,255,255,.08); }
.sidebar-bottom .btn-outline {
  color:rgba(255,255,255,.45); border-color:rgba(255,255,255,.18);
  background:transparent; width:100%;
}
.sidebar-bottom .btn-outline:hover {
  color:#f07070; border-color:#f07070; background:rgba(240,112,112,.08);
}

/* Main Content */
.main-content { flex:1; overflow-y:auto; padding:24px; height:calc(100vh - 48px); }

/* Page Sections */
.dash-page { display:none; }
.dash-page.active { display:block; }

.page-header { margin-bottom:24px; }
.page-header-row { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.page-title { font-size:1.4rem; font-weight:800; color:var(--navy); display:flex; align-items:center; gap:10px; }
.page-sub { color:var(--gray-600); font-size:.84rem; margin-top:4px; }

/* Stats Grid */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(155px,1fr)); gap:16px; margin-bottom:24px; }
.stat-card {
  background:var(--white); border-radius:var(--r-lg); padding:18px 20px;
  box-shadow:var(--shadow-sm); border:1px solid var(--gray-200);
  position:relative; overflow:hidden; transition:var(--tr); cursor:default;
}
.stat-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.stat-card::before { content:''; position:absolute; top:0; left:0; bottom:0; width:4px; }
.stat-icon-box {
  width:34px; height:34px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.05rem; margin-bottom:12px;
}
.si-red   { background:rgba(220,38,38,.1); }
.si-warn  { background:rgba(245,158,11,.1); }
.si-blue  { background:rgba(59,130,246,.1); }
.si-green { background:rgba(22,163,74,.1); }
.si-navy  { background:rgba(26,35,126,.1); }
.si-lime  { background:rgba(118,185,0,.1); }
.stat-value { font-size:1.375rem; font-weight:500; color:var(--gray-900); line-height:1; }
.stat-label { font-size:.75rem; color:var(--gray-500); margin-top:4px; font-weight:500; }
.stat-action { font-size:.7rem; color:var(--gray-400); margin-top:8px; font-weight:500; }
.priority-dot { display:inline-block; width:8px; height:8px; border-radius:50%; vertical-align:middle; }
.priority-high { background:var(--danger); }
.priority-med  { background:var(--warning); }
.priority-low  { background:var(--success); }
.stat-card.c-navy::before   { background:var(--navy); }
.stat-card.c-lime::before   { background:var(--lime); }
.stat-card.c-warn::before   { background:var(--warning); }
.stat-card.c-success::before{ background:var(--success); }
.stat-card.c-info::before   { background:var(--info); }
.stat-card.c-danger::before { background:var(--danger); }
.stat-label { font-size:.76rem; color:var(--gray-500); margin-top:4px; font-weight:500; }

/* Table */
.table-wrap { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:.88rem; }
thead th {
  background:var(--gray-50); padding:10px 14px; text-align:left;
  font-size:.73rem; font-weight:700; text-transform:uppercase; letter-spacing:.5px;
  color:var(--gray-600); border-bottom:2px solid var(--gray-200); white-space:nowrap;
}
tbody td { padding:12px 14px; border-bottom:1px solid var(--gray-100); vertical-align:middle; }
tbody tr:last-child td { border-bottom:none; }
tbody tr:hover { background:var(--gray-50); }

/* Job Cards */
.job-card {
  background:var(--white); border-radius:var(--r-lg); box-shadow:var(--shadow-sm);
  border:1px solid var(--gray-200); padding:16px; margin-bottom:12px;
  border-left:4px solid var(--gray-300); transition:var(--tr);
}
.job-card:hover { box-shadow:var(--shadow-md); }
.job-card.menunggu { border-left-color:var(--warning); }
.job-card.berjalan  { border-left-color:var(--info); }
.job-card.selesai   { border-left-color:var(--success); }
.job-card-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:8px; }
.job-ref  { font-size:.75rem; font-weight:700; color:var(--gray-400); }
.job-name { font-size:1rem; font-weight:700; color:var(--gray-900); margin-bottom:3px; }
.job-prob { font-size:.84rem; color:var(--gray-600); margin-bottom:8px; }
.job-meta { display:flex; flex-wrap:wrap; gap:8px; }
.job-meta-item { display:flex; align-items:center; gap:4px; font-size:.78rem; color:var(--gray-600); }
.job-actions { margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }

/* Timeline */
.timeline-item {
  display:flex; gap:12px; padding:10px 0; border-bottom:1px solid var(--gray-100); align-items:flex-start;
}
.timeline-item:last-child { border-bottom:none; }
.tl-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; margin-top:5px; }
.tl-dot.menunggu { background:var(--warning); }
.tl-dot.berjalan  { background:var(--info); }
.tl-dot.selesai   { background:var(--success); }
.tl-time { font-size:.74rem; color:var(--gray-500); font-weight:600; min-width:44px; }
.tl-info { flex:1; }
.tl-title { font-size:.88rem; font-weight:600; color:var(--gray-900); }
.tl-sub   { font-size:.76rem; color:var(--gray-500); margin-top:2px; }

/* Bar Chart */
.bar-chart-item { margin-bottom:14px; }
.bar-chart-label { display:flex; justify-content:space-between; font-size:.82rem; color:var(--gray-700); margin-bottom:5px; font-weight:600; }
.bar-track { background:var(--gray-100); border-radius:4px; height:10px; overflow:hidden; }
.bar-fill { height:100%; border-radius:4px; transition:width .6s ease; }
.bar-fill.navy    { background:var(--navy); }
.bar-fill.lime    { background:var(--lime); }
.bar-fill.warning { background:var(--warning); }
.bar-fill.success { background:var(--success); }
.bar-fill.info    { background:var(--info); }

/* Search */
.search-bar {
  display:flex; align-items:center; gap:8px; background:var(--white);
  border:2px solid var(--gray-200); border-radius:var(--r); padding:0 12px; transition:var(--tr);
}
.search-bar:focus-within { border-color:var(--navy); box-shadow:0 0 0 3px rgba(26,35,126,.1); }
.search-bar input { border:none; outline:none; padding:10px 0; flex:1; font-size:.9rem; background:transparent; }
.search-icon { color:var(--gray-400); font-size:.9rem; }

/* Filter Chips */
.filter-chips { display:flex; flex-wrap:wrap; gap:6px; }
.chip {
  padding:5px 14px; border-radius:20px; font-size:.78rem; font-weight:600;
  cursor:pointer; border:2px solid var(--gray-200); background:var(--white);
  color:var(--gray-600); transition:var(--tr);
}
.chip.active, .chip:hover { border-color:var(--navy); background:var(--navy); color:var(--white); }

/* Empty State */
.empty-state { text-align:center; padding:48px 20px; color:var(--gray-400); }
.empty-state-icon { font-size:3rem; margin-bottom:12px; }
.empty-state p { font-size:.9rem; }

/* Schedule */
.schedule-tabs { display:flex; gap:4px; background:var(--gray-100); padding:4px; border-radius:var(--r); }
.schedule-tab {
  flex:1; padding:8px; border:none; background:transparent; border-radius:var(--r-sm);
  font-size:.85rem; font-weight:600; cursor:pointer; color:var(--gray-600); transition:var(--tr);
}
.schedule-tab.active { background:var(--white); color:var(--navy); box-shadow:var(--shadow-sm); }
.date-nav { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.date-nav-btn {
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--r);
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:var(--tr);
}
.date-nav-btn:hover { border-color:var(--navy); color:var(--navy); }
.date-display { flex:1; text-align:center; font-weight:700; font-size:1rem; color:var(--navy); }
.week-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; margin-bottom:20px; }
.week-cell { border:1px solid var(--gray-200); border-radius:var(--r); overflow:hidden; min-height:120px; }
.week-cell-head {
  background:var(--navy); color:var(--white); padding:6px 4px; text-align:center; font-size:.7rem; font-weight:700;
}
.week-cell-head.today { background:var(--lime-dark); }
.wc-num { font-size:.85rem; }
.wc-day { font-size:.63rem; opacity:.8; }
.week-job-dot {
  margin:2px 4px; padding:2px 4px; border-radius:3px;
  font-size:.62rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer;
}
.week-job-dot.menunggu { background:var(--warning-lt); color:var(--warning); }
.week-job-dot.berjalan  { background:var(--info-lt); color:var(--info); }
.week-job-dot.selesai   { background:var(--success-lt); color:var(--success); }

/* Responsive */
@media(max-width:768px){
  .sidebar {
    position:fixed; top:60px; left:0; bottom:0; z-index:95;
    transform:translateX(-100%); height:auto;
  }
  .sidebar.open { transform:translateX(0); }
  .main-content { padding:16px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .week-grid { grid-template-columns:repeat(4,1fr); }
  .app-logo-tag { display:none; }
  .notif-dd { width:280px; right:-60px; }
  .dash-cols { grid-template-columns:1fr !important; }
}
@media(max-width:480px){
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .week-grid { grid-template-columns:repeat(3,1fr); }
  .pub-nav-name { font-size:.78rem; }
}
@media print {
  .sidebar,.app-header,.job-actions { display:none; }
  .main-content { padding:0; }
}

/* Utility */
.d-flex { display:flex; } .align-c { align-items:center; } .just-b { justify-content:space-between; }
.gap-1 { gap:8px; } .gap-2 { gap:16px; }
.mt-1 { margin-top:8px; } .mt-2 { margin-top:16px; } .mt-3 { margin-top:24px; }
.mb-1 { margin-bottom:8px; } .mb-2 { margin-bottom:16px; }
.text-navy { color:var(--navy); } .text-lime { color:var(--lime-dark); }
.text-muted { color:var(--gray-500); } .text-sm { font-size:.84rem; } .text-xs { font-size:.74rem; }
.fw-bold { font-weight:700; } .fw-black { font-weight:900; }
.w-full { width:100%; } .text-center { text-align:center; }

/* ==========================================
   FEATURE ADDITIONS
   ========================================== */

/* ===== MEDIA UPLOAD ===== */
.media-upload-area {
  border:2px dashed var(--gray-300); border-radius:var(--r-lg);
  background:var(--gray-50); cursor:pointer; transition:var(--tr);
  overflow:hidden;
}
.media-upload-area:hover { border-color:var(--lime); background:var(--lime-pale); }
.media-upload-placeholder {
  padding:28px; text-align:center; pointer-events:none;
}
.media-upload-placeholder .up-icon { font-size:2.2rem; margin-bottom:8px; }
.media-upload-placeholder .up-label { font-size:.9rem; font-weight:600; color:var(--gray-700); }
.media-upload-placeholder .up-sub   { font-size:.76rem; color:var(--gray-500); margin-top:4px; }
.media-preview-grid {
  display:grid; grid-template-columns:repeat(5,1fr); gap:8px; padding:12px;
}
@media(max-width:480px){ .media-preview-grid { grid-template-columns:repeat(3,1fr); } }
.media-thumb {
  position:relative; aspect-ratio:1; border-radius:var(--r);
  overflow:hidden; background:var(--gray-200); cursor:pointer;
}
.media-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.media-thumb .vid-overlay {
  position:absolute; inset:0; background:rgba(0,0,0,.45);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:white; font-size:.6rem; font-weight:600; text-align:center; padding:4px;
}
.media-thumb .vid-overlay .vid-icon { font-size:1.3rem; margin-bottom:2px; }
.media-thumb-remove {
  position:absolute; top:3px; right:3px; width:20px; height:20px;
  background:rgba(0,0,0,.6); border-radius:50%; color:white; font-size:.7rem;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:var(--tr); z-index:2; border:none;
}
.media-thumb-remove:hover { background:var(--danger); }
.media-count-bar {
  display:flex; justify-content:space-between; align-items:center;
  padding:6px 10px; background:var(--gray-100); border-radius:0 0 var(--r-lg) var(--r-lg);
  font-size:.78rem; color:var(--gray-600); font-weight:600;
}

/* ===== LOCATION PIN ===== */
.location-btn {
  display:inline-flex; align-items:center; gap:7px;
  background:var(--navy); color:var(--white); border:none;
  padding:8px 16px; border-radius:var(--r); font-size:.82rem;
  font-weight:600; cursor:pointer; transition:var(--tr);
}
.location-btn:hover { background:var(--navy-light); transform:translateY(-1px); }
.location-btn.found { background:var(--success); }
.location-btn.loading { background:var(--gray-500); cursor:wait; }
.location-result {
  margin-top:10px; padding:10px 14px;
  background:var(--success-lt); border:1px solid rgba(46,125,50,.25);
  border-radius:var(--r); font-size:.82rem; color:var(--success);
  display:flex; align-items:flex-start; gap:8px; animation:fadeIn .3s ease;
}
.location-result .loc-icon { font-size:1rem; margin-top:1px; flex-shrink:0; }
.location-result .loc-coords { font-size:.74rem; color:var(--gray-600); margin-top:3px; }
.maps-btn {
  display:inline-flex; align-items:center; gap:6px;
  background:#1a73e8; color:white; border:none;
  padding:7px 14px; border-radius:var(--r); font-size:.8rem;
  font-weight:600; cursor:pointer; transition:var(--tr); text-decoration:none;
}
.maps-btn:hover { background:#1558c0; transform:translateY(-1px); }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding:72px 20px 64px; background:var(--white);
  border-top:1px solid var(--gray-100);
}
.testimonials-inner { max-width:1200px; margin:0 auto; }
.avg-rating-banner {
  display:flex; align-items:center; justify-content:center; gap:16px;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  color:var(--white); border-radius:var(--r-xl); padding:24px 32px;
  margin-bottom:36px; flex-wrap:wrap; text-align:center;
}
.avg-rating-num { font-size:3rem; font-weight:900; line-height:1; }
.avg-stars { font-size:1.4rem; margin:4px 0; letter-spacing:2px; }
.avg-label { font-size:.82rem; color:rgba(255,255,255,.75); }
.avg-divider { width:1px; height:60px; background:rgba(255,255,255,.2); }
@media(max-width:560px){ .avg-divider { display:none; } }
.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
@media(max-width:860px){ .testimonials-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:540px){ .testimonials-grid { grid-template-columns:1fr; } }
.testi-card {
  background:var(--gray-50); border:1.5px solid var(--gray-200);
  border-radius:var(--r-lg); padding:22px; transition:var(--tr);
  position:relative;
}
.testi-card:hover { border-color:var(--lime); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.testi-card::before {
  content:'"'; position:absolute; top:-2px; left:16px;
  font-size:3.5rem; color:var(--lime); opacity:.35; line-height:1; font-family:serif;
}
.testi-stars { color:#f59e0b; font-size:1rem; letter-spacing:2px; margin-bottom:10px; }
.testi-text { font-size:.88rem; color:var(--gray-700); line-height:1.6; margin-bottom:14px; font-style:italic; }
.testi-footer { display:flex; justify-content:space-between; align-items:center; }
.testi-name { font-size:.82rem; font-weight:700; color:var(--navy); }
.testi-date { font-size:.72rem; color:var(--gray-400); }
.testi-problem { font-size:.72rem; color:var(--lime-dark); font-weight:600; margin-top:3px; }

/* ===== FEEDBACK FORM ===== */
.feedback-page { min-height:calc(100vh - 64px); background:var(--gray-50); padding:32px 20px 60px; }
.feedback-inner { max-width:600px; margin:0 auto; }
.star-rating-group { margin-bottom:18px; }
.star-row {
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0; border-bottom:1px solid var(--gray-100);
}
.star-row:last-child { border-bottom:none; }
.star-row-label { font-size:.88rem; font-weight:600; color:var(--gray-800); }
.star-picker { display:flex; gap:4px; }
.star-picker .star {
  font-size:1.5rem; cursor:pointer; transition:transform .15s ease;
  color:var(--gray-300); line-height:1;
}
.star-picker .star.active,
.star-picker .star:hover,
.star-picker .star:hover ~ .star { color:#f59e0b; }
.star-picker:hover .star { color:#f59e0b; }
.star-picker .star:hover ~ .star { color:var(--gray-300); }
/* JS-controlled active state takes precedence */
.overall-rating-display {
  text-align:center; padding:20px;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-light) 100%);
  border-radius:var(--r-lg); color:var(--white); margin-bottom:18px;
}
.overall-num { font-size:2.5rem; font-weight:900; line-height:1; }
.overall-stars { font-size:1.2rem; margin-top:4px; letter-spacing:3px; color:#f59e0b; }
.overall-label { font-size:.76rem; opacity:.75; margin-top:4px; }

/* ===== JOB GALLERY ===== */
.gallery-modal .modal { max-width:680px; }
.gallery-tabs {
  display:flex; background:var(--gray-100); border-radius:var(--r);
  padding:4px; gap:4px; margin-bottom:16px;
}
.gallery-tab {
  flex:1; padding:8px 6px; border:none; background:transparent;
  border-radius:var(--r-sm); font-size:.82rem; font-weight:600;
  cursor:pointer; color:var(--gray-600); transition:var(--tr); text-align:center;
}
.gallery-tab.active { background:var(--white); color:var(--navy); box-shadow:var(--shadow-sm); }
.gallery-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px; min-height:120px;
}
@media(max-width:480px){ .gallery-grid { grid-template-columns:repeat(2,1fr); } }
.gallery-item {
  position:relative; aspect-ratio:1; border-radius:var(--r);
  overflow:hidden; background:var(--gray-100); cursor:pointer;
  transition:var(--tr);
}
.gallery-item:hover { transform:scale(1.03); box-shadow:var(--shadow-md); }
.gallery-item img { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-item-meta {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.65));
  padding:6px 6px 4px; color:white; font-size:.62rem; line-height:1.3;
}
.gallery-item-del {
  position:absolute; top:4px; right:4px; width:22px; height:22px;
  background:rgba(0,0,0,.55); border-radius:50%; color:white;
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem; cursor:pointer; border:none; transition:var(--tr); z-index:2;
}
.gallery-item-del:hover { background:var(--danger); }
.gallery-upload-btn {
  border:2px dashed var(--gray-300); border-radius:var(--r); aspect-ratio:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  cursor:pointer; transition:var(--tr); gap:4px; background:var(--gray-50);
  font-size:.72rem; color:var(--gray-500); font-weight:600;
}
.gallery-upload-btn:hover { border-color:var(--lime); background:var(--lime-pale); color:var(--lime-dark); }
.gallery-empty { text-align:center; padding:32px; color:var(--gray-400); grid-column:1/-1; }
.gallery-empty-icon { font-size:2rem; margin-bottom:8px; }

/* ===== FULLSCREEN VIEWER ===== */
.fullscreen-viewer {
  position:fixed; inset:0; background:rgba(0,0,0,.92);
  z-index:9000; display:none; align-items:center; justify-content:center;
  flex-direction:column; padding:16px;
}
.fullscreen-viewer.open { display:flex; }
.fullscreen-viewer img {
  max-width:100%; max-height:80vh; object-fit:contain;
  border-radius:var(--r); box-shadow:0 0 60px rgba(0,0,0,.5);
}
.fullscreen-close {
  position:absolute; top:16px; right:16px; background:rgba(255,255,255,.15);
  border:none; color:white; font-size:1.4rem; cursor:pointer;
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition:var(--tr);
}
.fullscreen-close:hover { background:rgba(255,255,255,.3); }
.fullscreen-caption {
  color:rgba(255,255,255,.7); font-size:.8rem; margin-top:12px; text-align:center;
}
.fullscreen-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  display:flex; justify-content:space-between; width:100%; padding:0 12px; pointer-events:none;
}
.fullscreen-nav button {
  background:rgba(255,255,255,.15); border:none; color:white;
  width:44px; height:44px; border-radius:50%; font-size:1.2rem;
  cursor:pointer; pointer-events:all; transition:var(--tr);
  display:flex; align-items:center; justify-content:center;
}
.fullscreen-nav button:hover { background:rgba(255,255,255,.3); }

/* ===== ADMIN FEEDBACK SECTION ===== */
.feedback-summary-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:20px;
}
@media(max-width:600px){ .feedback-summary-grid { grid-template-columns:1fr; } }
.feedback-avg-card {
  background:var(--white); border-radius:var(--r-lg); padding:18px;
  border:1px solid var(--gray-200); box-shadow:var(--shadow-sm); text-align:center;
}
.feedback-avg-num { font-size:2.2rem; font-weight:900; color:var(--navy); line-height:1; }
.feedback-avg-stars { color:#f59e0b; font-size:.9rem; margin:4px 0; }
.feedback-avg-label { font-size:.76rem; color:var(--gray-500); }
.feedback-row {
  display:flex; gap:14px; padding:14px 0; border-bottom:1px solid var(--gray-100);
  align-items:flex-start;
}
.feedback-row:last-child { border-bottom:none; }
.feedback-stars-sm { color:#f59e0b; font-size:.85rem; letter-spacing:1px; }
.feedback-toggle {
  margin-left:auto; flex-shrink:0;
  display:flex; align-items:center; gap:6px; cursor:pointer;
  background:none; border:none; font-size:.78rem; font-weight:600; transition:var(--tr);
}
.feedback-toggle.published { color:var(--success); }
.feedback-toggle.unpublished { color:var(--gray-400); }
.toggle-track {
  width:36px; height:20px; border-radius:10px; position:relative;
  transition:var(--tr); flex-shrink:0;
}
.toggle-track.on { background:var(--success); }
.toggle-track.off { background:var(--gray-300); }
.toggle-thumb {
  position:absolute; top:2px; width:16px; height:16px; border-radius:50%;
  background:white; transition:var(--tr); box-shadow:0 1px 3px rgba(0,0,0,.2);
}
.toggle-track.on .toggle-thumb { left:18px; }
.toggle-track.off .toggle-thumb { left:2px; }

/* ===== FEEDBACK LINK ON TRACK PAGE ===== */
.feedback-cta {
  margin-top:12px; padding:16px; border-radius:var(--r-lg);
  background:linear-gradient(135deg,var(--lime-pale),rgba(118,185,0,.1));
  border:1.5px solid rgba(118,185,0,.3); text-align:center;
  animation:fadeIn .4s ease;
}
.feedback-cta-title { font-size:.95rem; font-weight:700; color:var(--navy); margin-bottom:8px; }
.feedback-cta-sub { font-size:.8rem; color:var(--gray-600); margin-bottom:12px; }

/* ===== ADMIN FEEDBACK IN JOB VIEW ===== */
.job-has-feedback {
  display:inline-flex; align-items:center; gap:4px;
  background:rgba(245,158,11,.1); color:#92400e;
  padding:2px 8px; border-radius:10px; font-size:.72rem; font-weight:700;
}

/* ===== OPERATOR DASHBOARD ===== */
.job-card.op-new {
  border-left:4px solid var(--lime);
}
.job-card.op-mine {
  border-left:4px solid var(--navy);
}

.op-photo-summary {
  display:flex; gap:6px; flex-wrap:wrap; margin:10px 0;
}
.op-photo-cat {
  padding:4px 10px; border-radius:20px; font-size:.72rem; font-weight:600;
}
.op-photo-cat.done {
  background:rgba(118,185,0,.15); color:#3a6000; border:1px solid rgba(118,185,0,.4);
}
.op-photo-cat.empty {
  background:var(--gray-100); color:var(--gray-500); border:1px solid var(--gray-200);
}

.op-complete-btn {
  background:linear-gradient(135deg,var(--lime),#5a8c00);
  color:white; border:none; font-weight:700;
  padding:8px 18px; border-radius:var(--r); cursor:pointer;
  font-size:.85rem; transition:var(--tr);
}
.op-complete-btn:hover { opacity:.9; transform:translateY(-1px); }

.op-photo-hint {
  font-size:.75rem; color:var(--gray-500); font-style:italic;
  display:flex; align-items:center; gap:4px;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size:.78rem; font-weight:700; color:var(--navy);
  text-transform:uppercase; letter-spacing:.5px; margin-bottom:8px;
}

/* ===== TRACK PAGE GALLERY TABS ===== */
.track-gallery-tab {
  flex:1; padding:8px 4px; background:none; border:none;
  border-bottom:2px solid transparent; font-size:.82rem;
  cursor:pointer; color:var(--gray-500); transition:var(--tr);
  font-weight:400;
}
.track-gallery-tab:hover { color:var(--navy); }

/* ===== JOB MODAL CUSTOMER PHOTOS ===== */
#mj-cust-photos .section-label {
  font-size:.76rem; color:var(--navy); margin-bottom:6px;
}

/* ===== OPERATOR ACCEPT BADGE ===== */
.badge-operator {
  background:linear-gradient(135deg,var(--lime),#5a8c00);
  color:white;
}

/* ===== OPERATOR CARD SECTIONS ===== */
.op-cust-photos {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.op-section-hd {
  font-size: .74rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 4px;
}
.op-missing-warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--r);
  padding: 8px 12px;
  font-size: .78rem;
  color: #92400e;
  margin: 6px 0 4px;
}
.op-complete-btn {
  background: linear-gradient(135deg, var(--lime), #5a8c00);
  color: white;
  border: none;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--r);
  cursor: pointer;
  font-size: .85rem;
  transition: var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.op-complete-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ===== BOOKING CALENDAR WIDGET ===== */
.bk-widget {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Calendar wrapper */
#bk-cal-wrap { padding: 14px 14px 10px; }

.bk-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.bk-cal-nav-label {
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.bk-nav-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  width: 32px; height: 32px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--tr);
  color: var(--navy);
}
.bk-nav-btn:hover { background: var(--navy); color: white; }

/* Day header row */
.bk-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.bk-day-hdr {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  padding: 4px 0;
}

/* Day grid */
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.bk-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--r);
  font-size: .82rem;
  position: relative;
  gap: 2px;
  min-height: 38px;
}
.bk-day-empty { background: transparent; }
.bk-day-disabled {
  color: var(--gray-400);
  background: var(--gray-50);
  cursor: not-allowed;
}
.bk-day-active {
  cursor: pointer;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-weight: 500;
  color: var(--gray-800);
  transition: var(--tr);
}
.bk-day-active:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.bk-day-active:hover .bk-dot { opacity: .8; }
.bk-day-selected {
  background: var(--navy) !important;
  color: white !important;
  border-color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
}
.bk-day-num { font-size: .8rem; line-height: 1; }

/* Availability dots */
.bk-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.bk-dot.green  { background: #16a34a; }
.bk-dot.orange { background: #ea580c; }
.bk-dot.grey   { background: var(--gray-400); }

/* Legend */
.bk-legend {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 8px 0 4px;
  flex-wrap: wrap;
}
.bk-leg-item { display: flex; align-items: center; gap: 5px; font-size: .73rem; color: var(--gray-600); }
.bk-leg-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}
.bk-leg-dot.green  { background: #16a34a; }
.bk-leg-dot.orange { background: #ea580c; }
.bk-leg-dot.grey   { background: var(--gray-400); }

/* Slots panel */
#bk-slots-wrap { padding: 14px; }
.bk-slots-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.bk-slots-back-btn {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 5px 12px;
  font-size: .8rem;
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  transition: var(--tr);
  white-space: nowrap;
}
.bk-slots-back-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.bk-slots-date-lbl {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.bk-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.bk-slot {
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  padding: 10px 12px;
  cursor: pointer;
  background: var(--white);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bk-slot:hover {
  border-color: var(--navy);
  background: #eef0fc;
}
.bk-slot-selected {
  border-color: var(--navy) !important;
  background: var(--navy) !important;
  color: white;
}
.bk-slot-selected .bk-slot-time,
.bk-slot-selected .bk-slot-avail { color: white !important; }
.bk-slot-full {
  background: var(--gray-100);
  border-color: var(--gray-200);
  cursor: not-allowed;
  opacity: .65;
}
.bk-slot-time {
  font-size: .84rem;
  font-weight: 700;
  color: var(--gray-800);
}
.bk-slot-avail {
  font-size: .73rem;
  color: var(--gray-500);
}
.bk-slot-full .bk-slot-avail { color: var(--danger); }

/* Summary */
.bk-summary { border-top: 1px solid var(--gray-200); }
.bk-summary-inner {
  padding: 12px 14px;
  background: linear-gradient(135deg, #eef0fc, #f0fdf4);
}
.bk-summary-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.bk-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--gray-700);
  padding: 2px 0;
}
.bk-summary-row strong { color: var(--navy); }

/* ===== SIDEBAR DARK OVERRIDE (highest specificity) ===== */
nav#sidebar,
nav.sidebar,
#sidebar {
  background-color: #0a1f44 !important;
  background: #0a1f44 !important;
}

nav#sidebar .nav-item,
nav.sidebar .nav-item {
  color: rgba(255,255,255,0.6) !important;
}

nav#sidebar .nav-item.active,
nav.sidebar .nav-item.active {
  background: rgba(168,212,74,0.12) !important;
  color: #a8d44a !important;
  border-left: 2px solid #a8d44a !important;
}
