/* ==========================================================================
   APP.CSS — Landing / Customer-Facing Pages
   CodeIgniter 4 Vehicle Rental System
   Bootstrap 5.3+ Color Mode powered (data-bs-theme="light|dark")
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. THEME VARIABLES
   Semua warna diturunkan dari variabel Bootstrap (--bs-*) supaya otomatis
   berganti saat data-bs-theme berubah. Tidak ada hex/rgb custom di luar ini.
   -------------------------------------------------------------------------- */
:root,
[data-bs-theme="light"] {
  --app-bg: var(--bs-body-bg);
  --app-bg-elevated: var(--bs-white);
  --app-surface: var(--bs-tertiary-bg);
  --app-border: var(--bs-border-color);
  --app-text: var(--bs-body-color);
  --app-text-muted: var(--bs-secondary-color);
  --app-shadow: 0 0.5rem 1.5rem rgba(var(--bs-dark-rgb), 0.08);
  --app-shadow-hover: 0 0.75rem 2rem rgba(var(--bs-dark-rgb), 0.14);
  --app-overlay: rgba(var(--bs-dark-rgb), 0.55);
  --app-navbar-bg: rgba(var(--bs-body-bg-rgb), 0.92);
  --app-skeleton: var(--bs-secondary-bg);
  --app-footer-grad-top: #111827;
  --app-footer-grad-bottom: #0f172a;
  --app-footer-text: rgba(255, 255, 255, 0.92);
  --app-footer-text-muted: rgba(255, 255, 255, 0.6);
  --app-footer-surface: rgba(255, 255, 255, 0.08);
  --app-footer-border: rgba(255, 255, 255, 0.1);
  --app-auth-side-bg: var(--bs-dark);
  --app-auth-side-text: rgba(255, 255, 255, 0.92);
  --app-auth-side-text-muted: rgba(255, 255, 255, 0.65);
}

[data-bs-theme="dark"] {
  --app-bg: var(--bs-body-bg);
  --app-bg-elevated: var(--bs-dark);
  --app-surface: var(--bs-tertiary-bg);
  --app-border: var(--bs-border-color);
  --app-text: var(--bs-body-color);
  --app-text-muted: var(--bs-secondary-color);
  --app-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.45);
  --app-shadow-hover: 0 0.75rem 2rem rgba(0, 0, 0, 0.6);
  --app-overlay: rgba(0, 0, 0, 0.65);
  --app-navbar-bg: rgba(var(--bs-body-bg-rgb), 0.85);
  --app-skeleton: var(--bs-secondary-bg);
  --app-footer-grad-top: #05070d;
  --app-footer-grad-bottom: #000103;
  --app-footer-text: rgba(255, 255, 255, 0.92);
  --app-footer-text-muted: rgba(255, 255, 255, 0.55);
  --app-footer-surface: rgba(255, 255, 255, 0.05);
  --app-footer-border: rgba(255, 255, 255, 0.08);
  --app-auth-side-bg: rgba(255, 255, 255, 0.04);
  --app-auth-side-text: rgba(255, 255, 255, 0.92);
  --app-auth-side-text-muted: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   2. BASE / RESET
   -------------------------------------------------------------------------- */
body { background-color: var(--app-bg); color: var(--app-text); min-height: 100vh; transition: background-color 0.25s ease, color 0.25s ease; }
a { text-decoration: none; }
::selection { background-color: var(--bs-primary); color: var(--bs-white); }

/* Scrollbar mengikuti tema */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--app-surface); }
::-webkit-scrollbar-thumb { background: var(--bs-secondary-color); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--bs-primary); }

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
.app-navbar {
  background-color: var(--app-navbar-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--app-border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.app-navbar .navbar-brand { font-weight: 700; letter-spacing: 0.02em; color: var(--app-text) !important; }
.app-navbar .nav-link { color: var(--app-text-muted) !important; font-weight: 500; position: relative; transition: color 0.2s ease; }
.app-navbar .nav-link:hover,
.app-navbar .nav-link.active { color: var(--bs-primary) !important; }
.app-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: -2px;
  height: 2px;
  background-color: var(--bs-primary);
  border-radius: 2px;
}

/* Theme toggle button di navbar */
#themeToggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--app-border);
  background-color: var(--app-surface);
  color: var(--app-text);
  transition: all 0.2s ease;
}
#themeToggle:hover { background-color: var(--bs-primary); color: var(--bs-white); border-color: var(--bs-primary); transform: rotate(15deg); }

/* --------------------------------------------------------------------------
   4. HERO SECTION (Landing)
   -------------------------------------------------------------------------- */
.app-hero { position: relative; background-color: var(--app-bg-elevated); border-bottom: 1px solid var(--app-border); overflow: hidden; }
.app-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(var(--bs-primary-rgb), 0.12), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(var(--bs-primary-rgb), 0.08), transparent 50%);
  pointer-events: none;
}
.app-hero-title { font-weight: 800; letter-spacing: -0.02em; color: var(--app-text); }
.app-hero-subtitle { color: var(--app-text-muted); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   5. CARDS — Vehicle / Reservation Listing
   -------------------------------------------------------------------------- */
.app-card {
  background-color: var(--app-bg-elevated);
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  box-shadow: var(--app-shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--app-shadow-hover); border-color: rgba(var(--bs-primary-rgb), 0.35); }
.app-card-img-wrap { position: relative; background-color: var(--app-surface); aspect-ratio: 16 / 10; overflow: hidden; }
.app-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.app-card:hover .app-card-img-wrap img { transform: scale(1.06); }
.app-card-badge { position: absolute; top: 0.75rem; left: 0.75rem; backdrop-filter: blur(4px); }
.app-card-title { color: var(--app-text); font-weight: 700; }
.app-card-meta { color: var(--app-text-muted); font-size: 0.875rem; }
.app-card-price { color: var(--bs-primary); font-weight: 700; font-size: 1.25rem; }
.app-card-price small { color: var(--app-text-muted); font-weight: 400; font-size: 0.8rem; }

/* --------------------------------------------------------------------------
   6. FILTER / SEARCH BAR
   -------------------------------------------------------------------------- */
.app-filter-bar { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 0.85rem; box-shadow: var(--app-shadow); }
.app-filter-bar .form-control,
.app-filter-bar .form-select { background-color: var(--app-surface); border-color: var(--app-border); color: var(--app-text); }
.app-filter-bar .form-control:focus,
.app-filter-bar .form-select:focus { background-color: var(--app-bg-elevated); border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18); }
.app-filter-bar .form-control::placeholder { color: var(--app-text-muted); }

/* --------------------------------------------------------------------------
   7. DETAIL PAGE — Vehicle Detail / Reservation Summary
   -------------------------------------------------------------------------- */
.app-detail-gallery { border-radius: 1rem; overflow: hidden; border: 1px solid var(--app-border); background-color: var(--app-surface); }
.app-detail-spec { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 0.85rem; padding: 1rem 1.25rem; }
.app-detail-spec-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background-color: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-detail-spec-label { color: var(--app-text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.app-detail-spec-value { color: var(--app-text); font-weight: 600; }

/* --------------------------------------------------------------------------
   8. STEPPER — Reservation / Payment Flow
   -------------------------------------------------------------------------- */
.app-stepper { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.app-stepper li { position: relative; color: var(--app-text-muted); font-weight: 600; font-size: 0.875rem; flex: 1; text-align: center; }
.app-stepper li::before {
  content: attr(data-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background-color: var(--app-surface);
  border: 2px solid var(--app-border);
  color: var(--app-text-muted);
  font-weight: 700;
  transition: all 0.25s ease;
}
.app-stepper li::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--app-border);
  z-index: -1;
}
.app-stepper li:first-child::after { display: none; }
.app-stepper li.active,
.app-stepper li.completed { color: var(--app-text); }
.app-stepper li.active::before,
.app-stepper li.completed::before { background-color: var(--bs-primary); border-color: var(--bs-primary); color: var(--bs-white); }
.app-stepper li.completed::after { background-color: var(--bs-primary); }

/* --------------------------------------------------------------------------
   9. PAYMENT SUMMARY CARD
   -------------------------------------------------------------------------- */
.app-summary-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 1rem; box-shadow: var(--app-shadow); }
.app-summary-row { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--app-border); color: var(--app-text-muted); }
.app-summary-row:last-of-type { border-bottom: none; }
.app-summary-row.total {
  color: var(--app-text);
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--app-border);
  border-bottom: none;
  padding-top: 0.85rem;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   10. EMPTY STATE
   -------------------------------------------------------------------------- */
.app-empty-state { text-align: center; padding: 3.5rem 1.5rem; color: var(--app-text-muted); }
.app-empty-state-icon { font-size: 3rem; color: var(--app-text-muted); opacity: 0.5; margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   11. SKELETON LOADING
   -------------------------------------------------------------------------- */
.app-skeleton {
  background: linear-gradient(90deg, var(--app-skeleton) 25%, var(--app-surface) 37%, var(--app-skeleton) 63%);
  background-size: 400% 100%;
  animation: app-skeleton-loading 1.4s ease infinite;
  border-radius: 0.5rem;
}
@keyframes app-skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* --------------------------------------------------------------------------
   12. FOOTER (simple variant)
   -------------------------------------------------------------------------- */
.app-footer { background-color: var(--app-bg-elevated); border-top: 1px solid var(--app-border); color: var(--app-text-muted); }
.app-footer a { color: var(--app-text-muted); transition: color 0.2s ease; }
.app-footer a:hover { color: var(--bs-primary); }
.app-footer-brand { color: var(--app-text); font-weight: 700; }

/* --------------------------------------------------------------------------
   12b. FOOTER PREMIUM (varian gelap dengan social, newsletter, map)
   -------------------------------------------------------------------------- */
.footer-premium { background: linear-gradient(180deg, var(--app-footer-grad-top) 0%, var(--app-footer-grad-bottom) 100%); color: var(--app-footer-text); transition: background 0.25s ease; }
.footer-premium h5,
.footer-premium h6 { color: var(--app-footer-text); }
.footer-premium .text-white-50 { color: var(--app-footer-text-muted) !important; }
.footer-logo-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background-color: var(--app-footer-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--app-footer-text);
}
.footer-social-link {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background-color: var(--app-footer-surface);
  color: var(--app-footer-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-social-link:hover { background-color: var(--bs-primary); color: var(--bs-white); transform: translateY(-2px); }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--app-footer-text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--app-footer-text); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; color: var(--app-footer-text-muted); }
.footer-contact-list i { color: var(--bs-primary); margin-top: 0.15rem; }
.footer-map { border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--app-footer-border); }
.footer-map iframe { border-radius: 0.75rem; }
.footer-newsletter-box { background-color: var(--app-footer-surface); border: 1px solid var(--app-footer-border); border-radius: 0.85rem; padding: 0.9rem; }
.footer-newsletter-box .form-control { background-color: rgba(255, 255, 255, 0.95); border: none; color: var(--bs-body-color); }
.footer-newsletter-box .form-control::placeholder { color: var(--bs-secondary-color); }
.footer-premium hr { border-color: var(--app-footer-border); opacity: 1; }
.footer-premium .badge.text-bg-light { background-color: var(--app-footer-surface) !important; color: var(--app-footer-text) !important; }

/* --------------------------------------------------------------------------
   12c. HERO CAROUSEL (banner home)
   -------------------------------------------------------------------------- */
.hero-section { width: 100%; }
.hero-section .carousel-inner { border-radius: 1rem; overflow: hidden; box-shadow: var(--app-shadow); }
.hero-banner { height: 480px; object-fit: cover; object-position: center; display: block; }
@media (max-width: 991.98px) {
  .hero-banner { height: 360px; }
}
@media (max-width: 767.98px) {
  .hero-section { margin-bottom: 1rem; }
  .hero-banner { height: 220px; }
  .hero-section .carousel-inner { border-radius: 1rem; }
  .hero-section .carousel-control-prev-icon,
  .hero-section .carousel-control-next-icon { transform: scale(0.8); }
}

/* --------------------------------------------------------------------------
   12d. VALUE PROPOSITION CARDS
   -------------------------------------------------------------------------- */
.app-value-card {
  background-color: var(--app-bg-elevated);
  border: 1px solid var(--app-border);
  border-radius: 1rem;
  box-shadow: var(--app-shadow);
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-value-card:hover { transform: translateY(-4px); box-shadow: var(--app-shadow-hover); }
.app-value-card h6 { color: var(--app-text); }
.app-value-card small { color: var(--app-text-muted); }

/* --------------------------------------------------------------------------
   12e. CARD HOVER LIFT (listing kendaraan)
   -------------------------------------------------------------------------- */
.hover-shadow { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-shadow:hover { transform: translateY(-4px); box-shadow: var(--app-shadow-hover); }
.hover-shadow .card-footer { background-color: var(--app-bg-elevated) !important; border-top: 1px solid var(--app-border); }
.hover-shadow .badge.bg-light { background-color: var(--app-surface) !important; color: var(--app-text) !important; border-color: var(--app-border) !important; }

/* --------------------------------------------------------------------------
   12f. FLOATING SOCIAL + INSTALL APP BUTTON
   -------------------------------------------------------------------------- */
.social-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1040; display: flex; flex-direction: column; gap: 0.75rem; }
.social-btn {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--bs-white);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 0.6rem 1.5rem rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}
.social-btn:hover { transform: translateY(-3px) scale(1.05); color: var(--bs-white); }
.social-btn i { font-size: 1.75rem; line-height: 1; }
.social-btn.download-app { background-color: var(--bs-primary); }
.social-btn.download-app:hover { filter: brightness(0.92); }
.social-btn.whatsapp { background-color: #25d366; }
.social-btn.whatsapp:hover { background-color: #1ebe5d; }
.social-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
@media (max-width: 767.98px) {
  .social-float { right: 0.9rem; bottom: 0.9rem; gap: 0.6rem; }
  .social-btn { width: 3.4rem; height: 3.4rem; }
  .social-btn i { font-size: 1.6rem; }
}

/* --------------------------------------------------------------------------
   12g. PAGE HERO (dark section, dipakai Gallery / About / dll)
   -------------------------------------------------------------------------- */
.app-page-hero { background-color: var(--bs-dark); color: var(--bs-white); }
.app-page-hero .text-white-50 { color: rgba(255, 255, 255, 0.7) !important; }

/* --------------------------------------------------------------------------
   12h. STAT STRIP (mis. statistik gallery / dashboard ringan)
   -------------------------------------------------------------------------- */
.app-stat-strip { background-color: var(--app-bg-elevated); border-bottom: 1px solid var(--app-border); }
.app-stat-box { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 1rem; padding: 1rem; height: 100%; box-shadow: var(--app-shadow); }
.app-stat-box small { color: var(--app-text-muted); }
.app-stat-box .fs-4 { color: var(--app-text); }

/* --------------------------------------------------------------------------
   12i. FILTER SECTION (toolbar di atas grid/listing)
   -------------------------------------------------------------------------- */
.app-toolbar-section { background-color: var(--app-surface); }
.app-toolbar-section h5 { color: var(--app-text); }
.app-toolbar-section p { color: var(--app-text-muted); }
.app-filter-btn.btn-outline-primary { --bs-btn-color: var(--bs-primary); --bs-btn-border-color: var(--bs-primary); background-color: var(--app-bg-elevated); }

/* --------------------------------------------------------------------------
   12j. GALLERY CARD (grid foto dengan hover overlay)
   -------------------------------------------------------------------------- */
.gallery-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--app-shadow-hover); }
.gallery-card .card-body { background-color: var(--app-bg-elevated); }
.gallery-img { height: 240px; object-fit: cover; cursor: pointer; }
.gallery-category-badge { background-color: rgba(0, 0, 0, 0.55); color: var(--bs-white) !important; backdrop-filter: blur(4px); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

/* --------------------------------------------------------------------------
   12k. IMAGE PREVIEW MODAL
   -------------------------------------------------------------------------- */
.app-modal-media { background-color: var(--bs-dark); }
.app-modal-info { background-color: var(--app-bg-elevated); color: var(--app-text); }
.app-modal-info small,
.app-modal-info p { color: var(--app-text-muted); }
.modal-gallery-image { max-height: 75vh; object-fit: contain; }

/* --------------------------------------------------------------------------
   12l. TESTIMONIAL CARD
   -------------------------------------------------------------------------- */
.testimonial-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--app-shadow-hover); }
.testimonial-avatar { width: 3.25rem; height: 3.25rem; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   12m. CTA SECTION (banner ajakan, biasanya di akhir halaman)
   -------------------------------------------------------------------------- */
.app-cta-section { background-color: var(--app-surface); }
.app-cta-section h3 { color: var(--app-text); }

/* --------------------------------------------------------------------------
   12n. COMPANY STORY (teks panjang + gambar pendamping)
   -------------------------------------------------------------------------- */
.story-text { color: var(--app-text-muted); text-align: justify; line-height: 1.9; font-size: 1rem; white-space: pre-line; }
.company-story-image { width: 100%; max-height: 420px; object-fit: cover; border: 1px solid var(--app-border); }
@media (max-width: 991.98px) {
  .company-story-image { max-height: 360px; }
  .story-text { font-size: 0.98rem; line-height: 1.8; }
}
@media (max-width: 767.98px) {
  .story-text { font-size: 0.95rem; line-height: 1.75; }
  .company-story-image { max-height: 260px; }
}

/* --------------------------------------------------------------------------
   12o. VISION & MISSION SECTION
   -------------------------------------------------------------------------- */
.app-vision-section { background-color: var(--app-surface); }
.app-vision-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; }

/* --------------------------------------------------------------------------
   12p. SERVICE CARD (grid layanan / fitur)
   -------------------------------------------------------------------------- */
.service-card { border: 1px solid var(--app-border); border-radius: 1rem; background-color: var(--app-bg-elevated); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--app-shadow-hover); }
@media (max-width: 767.98px) {
  .service-card { padding: 1.25rem; }
  .service-card h6 { font-size: 0.95rem; }
}

/* --------------------------------------------------------------------------
   12q. INFO BOX (label + value, dipakai di halaman profile/account)
   -------------------------------------------------------------------------- */
.app-info-box { background-color: var(--app-surface); border: 1px solid var(--app-border) !important; border-radius: 1rem; padding: 0.85rem 1rem; height: 100%; }
.app-info-box small { color: var(--app-text-muted); }
.app-info-box .fw-semibold { color: var(--app-text); }

/* --------------------------------------------------------------------------
   12r. FORM INPUT-GROUP (dipakai di luar auth, mis. ganti password di account)
   -------------------------------------------------------------------------- */
.app-card .input-group-text { background-color: var(--app-surface); border-color: var(--app-border); color: var(--app-text-muted); }
.app-card .form-control { background-color: var(--app-bg-elevated); border-color: var(--app-border); color: var(--app-text); }
.app-card .form-control:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18); }
.app-card .form-text { color: var(--app-text-muted); }

/* --------------------------------------------------------------------------
   12s. VEHICLE CARD GRID (listing lengkap dengan meta info)
   -------------------------------------------------------------------------- */
.vehicle-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; transition: all 0.25s ease; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--app-shadow-hover); }
.vehicle-card .card-footer { background-color: var(--app-bg-elevated) !important; border-top: 1px solid var(--app-border); }
.vehicle-img { height: 190px; object-fit: cover; }
.vehicle-meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 0.75rem; }
.vehicle-meta-item { display: flex; flex-direction: column; background-color: var(--app-surface); border-radius: 0.75rem; padding: 0.5rem 0.6rem; line-height: 1.3; }
.vehicle-meta-item .text-muted { color: var(--app-text-muted) !important; font-size: 0.75rem; }
.vehicle-description { min-height: 2.6rem; color: var(--app-text-muted); }
@media (max-width: 991.98px) {
  .vehicle-img { height: 170px; }
}
@media (max-width: 767.98px) {
  .vehicle-img { height: 155px; }
  .vehicle-meta-list { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .vehicle-meta-item { padding: 0.45rem 0.55rem; font-size: 0.8rem; }
}
@media (max-width: 575.98px) {
  .vehicle-img { height: 190px; }
  .vehicle-description { min-height: auto; }
}

/* --------------------------------------------------------------------------
   12t. SEARCH / FILTER FORM CARD
   -------------------------------------------------------------------------- */
.app-filter-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border) !important; }
.app-filter-card .form-label { color: var(--app-text-muted); }
.app-filter-card .form-control,
.app-filter-card .form-select { background-color: var(--app-surface); border-color: var(--app-border); color: var(--app-text); }
.app-filter-card .form-control:focus,
.app-filter-card .form-select:focus { background-color: var(--app-bg-elevated); border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18); }
.app-filter-card .form-control::placeholder { color: var(--app-text-muted); }

/* --------------------------------------------------------------------------
   12u. PAGINATION (mengikuti tema)
   -------------------------------------------------------------------------- */
.app-pagination .page-link { background-color: var(--app-bg-elevated); border-color: var(--app-border); color: var(--app-text); }
.app-pagination .page-item.active .page-link { background-color: var(--bs-primary); border-color: var(--bs-primary); color: var(--bs-white); }
.app-pagination .page-item.disabled .page-link { background-color: var(--app-surface); color: var(--app-text-muted); }
.app-pagination .page-link:hover { background-color: var(--app-surface); color: var(--bs-primary); }

/* --------------------------------------------------------------------------
   12v. VEHICLE DETAIL PAGE — GALLERY
   -------------------------------------------------------------------------- */
.gallery-main { width: 100%; height: 420px; object-fit: cover; border-radius: 1rem; border: 1px solid var(--app-border); }
.gallery-placeholder {
  height: 420px;
  background-color: var(--app-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  color: var(--app-text-muted);
  border: 1px solid var(--app-border);
}
.thumb-wrapper { margin-top: 0.25rem; }
.thumb-img { width: 5.25rem; height: 4.25rem; object-fit: cover; border-radius: 0.6rem; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s ease; }
.thumb-img:hover,
.thumb-img.active-thumb { border-color: var(--bs-primary); }
@media (max-width: 991.98px) {
  .gallery-main, .gallery-placeholder { height: 340px; }
}
@media (max-width: 767.98px) {
  .gallery-main, .gallery-placeholder { height: 260px; }
  .thumb-img { width: 4.4rem; height: 3.6rem; }
}
@media (max-width: 575.98px) {
  .gallery-main, .gallery-placeholder { height: 220px; }
}

/* --------------------------------------------------------------------------
   12w. VEHICLE DETAIL PAGE — PRICE BOX & DETAIL CARD
   -------------------------------------------------------------------------- */
.price-box { background-color: var(--app-surface); padding: 1.25rem; border-radius: 1rem; border: 1px solid var(--app-border); }
.detail-card { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 1rem; padding: 1.1rem; }
@media (max-width: 767.98px) {
  .detail-card { padding: 0.95rem; }
}
@media (max-width: 575.98px) {
  .price-box { padding: 1rem; }
}

/* --------------------------------------------------------------------------
   12x. VEHICLE DETAIL PAGE — SPEC GRID & LIST CHIP
   -------------------------------------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 767.98px) {
  .spec-grid { grid-template-columns: 1fr; }
}
.spec-item { background-color: var(--app-surface); border-radius: 0.75rem; padding: 0.6rem 0.75rem; display: flex; flex-direction: column; line-height: 1.35; }
.spec-label { font-size: 0.75rem; color: var(--app-text-muted); margin-bottom: 0.2rem; }
.spec-value { font-weight: 600; color: var(--app-text); }
.list-chip {
  display: flex;
  align-items: flex-start;
  background-color: var(--app-surface);
  border-radius: 0.75rem;
  padding: 0.6rem 0.75rem;
  height: 100%;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--app-text);
}
.include-chip { background-color: rgba(var(--bs-primary-rgb), 0.08); }

/* --------------------------------------------------------------------------
   12y. RELATED VEHICLES (kartu rekomendasi di bawah detail)
   -------------------------------------------------------------------------- */
.related-img { height: 160px; object-fit: cover; }

/* --------------------------------------------------------------------------
   12z. RESERVATION FORM — INFO BOX & PRICE SUMMARY
   -------------------------------------------------------------------------- */
.reservation-box { background-color: var(--app-surface); padding: 1.1rem; border-radius: 0.75rem; border: 1px solid var(--app-border); }
.price-summary { background-color: var(--app-surface); padding: 1.25rem; border-radius: 0.75rem; border: 1px solid var(--app-border); }
.price-summary .border-end { border-color: var(--app-border) !important; }
@media (max-width: 767.98px) {
  .price-summary .border-end {
    border-right: none !important;
    border-bottom: 1px solid var(--app-border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   12aa. CITY AUTOCOMPLETE DROPDOWN
   -------------------------------------------------------------------------- */
#cityDropdown { background-color: var(--app-bg-elevated); border: 1px solid var(--app-border); z-index: 1000; max-height: 250px; overflow-y: auto; display: none; }
#cityDropdown .list-group-item { cursor: pointer; border: none; background-color: var(--app-bg-elevated); color: var(--app-text); }
#cityDropdown .list-group-item:hover { background-color: var(--bs-primary); color: var(--bs-white); }

/* --------------------------------------------------------------------------
   12ab. APP TABLE (riwayat reservasi/transaksi di sisi publik)
   -------------------------------------------------------------------------- */
.app-table thead th {
  background-color: var(--app-surface);
  color: var(--app-text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  border-bottom: 1px solid var(--app-border);
  white-space: nowrap;
}
.app-table tbody td { color: var(--app-text); border-color: var(--app-border); }
.app-table tbody tr:hover { background-color: var(--app-surface); }

/* ==========================================================================
   12ac. INVOICE MODULE (Theme Aware & Cleaned UI)
   ========================================================================== */
.invoice-wrapper { min-height: 100vh; background: var(--app-bg); padding: 1.5rem 0.75rem; transition: background-color 0.25s ease; }
.invoice-container { width: 100%; max-width: 1100px; }
.invoice-card { background: var(--app-bg-elevated); border: 1px solid var(--app-border); border-radius: 1.25rem; overflow: hidden; box-shadow: var(--app-shadow); transition: background-color 0.25s ease, border-color 0.25s ease; }
.invoice-body { padding: 2rem; color: var(--app-text); }
.invoice-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.invoice-header > div:first-child { flex: 1; }
.invoice-header > div:last-child { min-width: 220px; text-align: right; }
.company-title { font-size: 1.8rem; font-weight: 800; color: var(--app-text); }
.invoice-title { font-size: 1.5rem; font-weight: 700; color: var(--app-text); }
.invoice-divider { border-color: var(--app-border); margin: 1.5rem 0; opacity: 0.2; }
.section-title { color: var(--app-text); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.invoice-box { height: 100%; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 1rem; padding: 1rem; color: var(--app-text); }

/* --- Perbaikan Spasi Konten Dalam Kotak --- */
.invoice-group { margin-bottom: 0.65rem; display: flex; flex-direction: column; }
.invoice-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--app-text-muted); letter-spacing: 0.02em; line-height: 1.2; }
.invoice-value { font-size: 0.92rem; font-weight: 500; color: var(--app-text); line-height: 1.3; margin-top: 1px; }
.invoice-box p { margin-bottom: 0.4rem; line-height: 1.35; }
.invoice-box p:last-child { margin-bottom: 0; }
.invoice-box strong { display: block; margin-bottom: 2px; }
.invoice-table-box { overflow: hidden; border-radius: 1rem; border: 1px solid var(--app-border); }
.invoice-table { width: 100%; margin: 0; }
.invoice-table thead th {
  background: var(--app-surface);
  color: var(--app-text);
  padding: 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-bottom: 1px solid var(--app-border);
  white-space: nowrap;
}
.invoice-table td { padding: 0.95rem; color: var(--app-text); border-color: var(--app-border); vertical-align: middle; }
.invoice-table tbody tr:hover { background: var(--app-surface); }
.invoice-list { margin: 0; padding-left: 1.1rem; font-size: 0.85rem; color: var(--app-text); }
.invoice-list li { margin-bottom: 0.4rem; }
.summary-box { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 1rem; padding: 1.25rem; color: var(--app-text); }
.summary-box hr { border-color: var(--app-border); }
.total-row { font-size: 1.15rem; font-weight: 700; }
.invoice-note { background: var(--app-surface); color: var(--app-text-muted); border: 1px solid var(--app-border); border-radius: 1rem; padding: 1rem; line-height: 1.7; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   12ad. PAYMENT — PROOF UPLOAD PREVIEW
   -------------------------------------------------------------------------- */
.payment-proof-preview { max-width: 220px; border-color: var(--app-border) !important; }
.payment-qris-img { max-width: 220px; }

/* --------------------------------------------------------------------------
   13. UTILITIES
   Rule .text-muted di bawah ini menggantikan seluruh deklarasi
   "<komponen> .text-muted { color: var(--app-text-muted) !important; }"
   yang sebelumnya terduplikasi di banyak section (gallery, testimonial,
   cta, vision, service, detail, reservation, price-summary, table, invoice).
   -------------------------------------------------------------------------- */
.app-text-muted,
.hover-shadow .text-muted,
.gallery-card .text-muted,
.testimonial-card .text-muted,
.app-cta-section .text-muted,
.app-vision-card .text-muted,
.service-card .text-muted,
.detail-card .text-muted,
.reservation-box .text-muted,
.price-summary .text-muted,
.app-table .text-muted,
.invoice-box .text-muted { color: var(--app-text-muted) !important; }
.app-surface { background-color: var(--app-surface) !important; }
.app-border { border-color: var(--app-border) !important; }
.app-fade-in { animation: app-fade-in 0.4s ease both; }
@keyframes app-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE TWEAKS & MOBILE INVOICE
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .app-hero-title { font-size: 1.85rem; }
  .app-stepper li { font-size: 0.72rem; }
  .app-stepper li::before { width: 1.9rem; height: 1.9rem; }

  /* Invoice Mobile Reset */
  .invoice-body { padding: 1rem; }
  .invoice-header { flex-direction: column; gap: 1rem; }
  .invoice-header > div:last-child { text-align: left; min-width: auto; }
  .summary-box { margin-top: 0.5rem; }
  .no-print { flex-direction: column; gap: 0.5rem; }
  .no-print .btn { width: 100%; }
  .invoice-wrapper { padding-left: 0.25rem; padding-right: 0.25rem; }
  .invoice-container { max-width: 100%; }
}

/* ==========================================================================
   MODUL: AUTH (Login / Register / Forgot Password)
   ========================================================================== */
.auth-body { background-color: var(--app-bg); color: var(--app-text); min-height: 100vh; display: flex; flex-direction: column; transition: background-color 0.25s ease, color 0.25s ease; }
.auth-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.auth-shell { border: none; border-radius: 1.5rem; overflow: hidden; background-color: var(--app-bg-elevated); box-shadow: var(--app-shadow); }
@media (max-width: 767.98px) {
  .auth-shell { border-radius: 1.25rem; }
}
.auth-side { background-color: var(--app-auth-side-bg); color: var(--app-auth-side-text); padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(var(--bs-primary-rgb), 0.35), transparent 50%),
    radial-gradient(circle at 80% 85%, rgba(var(--bs-primary-rgb), 0.2), transparent 55%);
  pointer-events: none;
}
.auth-side-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.25rem; position: relative; z-index: 1; }
.auth-side-title { font-weight: 800; font-size: 1.6rem; line-height: 1.3; position: relative; z-index: 1; }
.auth-side-text { color: var(--app-auth-side-text-muted); position: relative; z-index: 1; }
.auth-side-feature { display: flex; align-items: center; gap: 0.6rem; color: var(--app-auth-side-text); font-size: 0.9rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.auth-side-feature i { color: var(--bs-primary); }
@media (max-width: 767.98px) {
  .auth-side { display: none; }
}
.auth-feature-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.auth-feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--app-auth-side-text); padding: 0.55rem 0; font-size: 0.875rem; }
.auth-feature-list i { font-size: 1rem; margin-top: 0.1rem; color: var(--bs-primary); }
.auth-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1.5rem; position: relative; z-index: 1; }
.auth-metric-card {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.85rem 0.6rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.auth-metric-card strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--app-auth-side-text); }
.auth-metric-card span { font-size: 0.75rem; color: var(--app-auth-side-text-muted); }
.auth-form-panel { padding: 2.75rem 3rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 575.98px) {
  .auth-form-panel { padding: 2rem 1.5rem; }
}
.auth-title { color: var(--app-text); font-weight: 800; font-size: 1.6rem; margin-bottom: 0.25rem; }
.auth-subtitle { color: var(--app-text-muted); margin-bottom: 1.75rem; font-size: 0.92rem; }
.auth-theme-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--app-border);
  background-color: var(--app-surface);
  color: var(--app-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}
.auth-theme-toggle:hover { background-color: var(--bs-primary); color: var(--bs-white); border-color: var(--bs-primary); }
.auth-form-panel .form-label { color: var(--app-text); font-weight: 600; font-size: 0.875rem; }
.auth-input-group { position: relative; }
.auth-form-panel .form-control { background-color: var(--app-surface); border: 1px solid var(--app-border); color: var(--app-text); padding: 0.65rem 0.9rem; border-radius: 0.6rem; }
.auth-form-panel .form-control:focus { background-color: var(--app-bg-elevated); border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18); color: var(--app-text); }
.auth-form-panel .form-control::placeholder { color: var(--app-text-muted); }
.auth-input-icon { position: absolute; top: 50%; left: 0.9rem; transform: translateY(-50%); color: var(--app-text-muted); pointer-events: none; }
.auth-input-icon ~ .form-control { padding-left: 2.4rem; }
.auth-password-toggle { position: absolute; top: 50%; right: 0.9rem; transform: translateY(-50%); color: var(--app-text-muted); background: none; border: none; cursor: pointer; transition: color 0.2s ease; z-index: 2; }
.auth-input-group:has(.auth-password-toggle) .form-control { padding-right: 2.6rem; }
.auth-password-toggle:hover { color: var(--bs-primary); }
/* Hint teks di bawah field (mis. "Min. 8 karakter...") */
.auth-form-panel .form-text { color: var(--app-text-muted); font-size: 0.78rem; margin-top: 0.4rem; }
/* Pesan error validasi — warna merah eksplisit agar muncul benar di tema gelap */
.auth-form-panel .invalid-feedback { color: var(--bs-danger); font-size: 0.8rem; }
/* Input is-invalid: pertahankan background tema, jangan override jadi putih */
.auth-form-panel .form-control.is-invalid,
.auth-form-panel .form-control.is-invalid:focus { background-color: var(--app-surface); color: var(--app-text); }
/* Textarea (Alamat) di register: padding vertikal tetap rapi */
.auth-form-panel textarea.form-control { padding-top: 0.65rem; padding-bottom: 0.65rem; resize: vertical; }
.auth-form-panel .form-check-label { color: var(--app-text-muted); font-size: 0.875rem; }
.auth-forgot-link { font-size: 0.85rem; font-weight: 600; color: var(--bs-primary); }
.auth-btn-submit { background-color: var(--bs-primary); border: none; color: var(--bs-white); font-weight: 700; padding: 0.7rem 1rem; border-radius: 0.6rem; transition: filter 0.2s ease, transform 0.15s ease; }
.auth-btn-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.auth-btn-submit:active { transform: translateY(0); }
.auth-divider { display: flex; align-items: center; gap: 0.75rem; color: var(--app-text-muted); font-size: 0.8rem; margin: 1.5rem 0; }
.auth-divider::before,
.auth-divider::after { content: ""; flex: 1; height: 1px; background-color: var(--app-border); }
.auth-footer-text { text-align: center; color: var(--app-text-muted); font-size: 0.9rem; }
.auth-footer-text a { color: var(--bs-primary); font-weight: 700; text-decoration: none; }
.auth-footer-text a:hover { text-decoration: underline; }
.auth-page-footer { text-align: center; color: var(--app-text-muted); font-size: 0.8rem; padding: 0 1rem 1.5rem; }
.auth-page-footer a { color: var(--app-text-muted); text-decoration: none; }
.auth-page-footer a:hover { color: var(--bs-primary); text-decoration: underline; }
.auth-alert { border-radius: 0.6rem; border: 1px solid transparent; font-size: 0.875rem; padding: 0.75rem 1rem; }
.auth-alert.danger { background-color: rgba(var(--bs-danger-rgb), 0.1); border-color: rgba(var(--bs-danger-rgb), 0.25); color: var(--bs-danger); }
.auth-alert.success { background-color: rgba(var(--bs-success-rgb), 0.1); border-color: rgba(var(--bs-success-rgb), 0.25); color: var(--bs-success); }
.invalid-feedback { font-size: 0.8rem; }
.ktp-preview {
  display: none;
  margin-top: 0.75rem;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  border: 1px solid var(--app-border);
  border-radius: 0.6rem;
  padding: 0.4rem;
  background-color: var(--app-surface);
}
.auth-otp-group { display: flex; gap: 0.6rem; justify-content: center; }
.auth-otp-group input { width: 3rem; height: 3.25rem; text-align: center; font-size: 1.25rem; font-weight: 700; background-color: var(--app-surface); border: 1px solid var(--app-border); border-radius: 0.6rem; color: var(--app-text); }
.auth-otp-group input:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18); outline: none; }
.auth-btn-submit.loading { position: relative; pointer-events: none; color: transparent; }
.auth-btn-submit.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--bs-white);
  border-radius: 50%;
  animation: auth-spin 0.7s linear infinite;
}
@keyframes auth-spin {
  to { transform: rotate(360deg); }
}
.auth-back-btn {
  position: fixed;
  left: 1.5rem;
  top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background-color: var(--app-bg-elevated);
  border: 1px solid var(--app-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--app-text);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: var(--app-shadow);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.auth-back-btn:hover { transform: translateX(-2px); color: var(--bs-primary); border-color: var(--bs-primary); }
.auth-back-btn i { font-size: 1.1rem; }
@media (max-width: 575.98px) {
  .auth-back-btn { width: 2.75rem; height: 2.75rem; padding: 0; justify-content: center; }
  .auth-back-btn span { display: none; }
}

/* ==========================================================================
   PRINT MEDIA RULES (Dioptimalkan untuk hasil cetak A4 Bersih)
   ========================================================================== */
@media print {
  @page { size: A4 portrait; margin: 15mm 10mm; }
  html, body { background: #fff !important; color: #000 !important; margin: 0 !important; padding: 0 !important; font-size: 12px; }
  body * { visibility: hidden !important; }
  #print-area,
  #print-area * { visibility: visible !important; }
  #print-area { position: absolute; inset: 0; width: 100% !important; }
  .no-print { display: none !important; }
  .invoice-wrapper,
  .invoice-container { background: #fff !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; }
  .invoice-card { background: #fff !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; width: 100% !important; }
  .invoice-body { padding: 0 !important; color: #000 !important; }
  .row { display: flex !important; flex-wrap: wrap !important; }
  .col-12 { width: 100% !important; flex: 0 0 100% !important; }
  .col-sm-6 { width: 50% !important; flex: 0 0 50% !important; }
  .col-md-5 { width: 41.667% !important; flex: 0 0 41.667% !important; margin-left: auto !important; }
  .invoice-header { display: flex !important; justify-content: space-between !important; gap: 18px !important; }
  .text-sm-end { text-align: right !important; }
  .company-title,
  .invoice-title,
  .section-title { color: #000 !important; }
  .invoice-box,
  .summary-box,
  .invoice-note { background: #f8f9fa !important; border: 1px solid #ddd !important; padding: 12px !important; break-inside: avoid; }

  /* Reset Spasasi Label Cetak */
  .invoice-group { margin-bottom: 6px !important; }

  .table-responsive { overflow: visible !important; }
  .invoice-table { border-collapse: collapse !important; width: 100% !important; }
  .invoice-table th,
  .invoice-table td { padding: 8px !important; font-size: 11px !important; border: 1px solid #ddd !important; background: #fff !important; color: #000 !important; }
  .invoice-table thead th { background: #f1f3f5 !important; font-weight: bold !important; }
  .invoice-table td::before { display: none !important; }
  .invoice-list { font-size: 11px !important; color: #444 !important; }
  .total-row { font-size: 13px !important; font-weight: 700 !important; }
  .invoice-note { font-size: 11px !important; line-height: 1.6 !important; }
}