h1, h2, h3, h4, h5, h6 {
    color: #f0d080 !important;
}

section.container.mx-auto.py-8.sm\:py-12.border-b {
    padding: 0 5px 3px 5px;
}

section.my-10 {
    max-width: 80rem;
    justify-self: anchor-center;
}

body[page="home"] #floatcontainer {
    display: flex;
}

#floatcontainer {
    position: fixed;
    left: 0;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* jarak antar banner */
    z-index: 9999;
}

.floating-tng {
    display: block;
    width: 80px;
    animation: movemove 18s ease-in-out infinite;
}

.floating-tng img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes movemove {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

button.absolute.right-4.top-4.rounded-sm.opacity-70.ring-offset-background.transition-opacity.hover\:opacity-100.focus\:outline-none.focus\:ring-2.focus\:ring-ring.focus\:ring-offset-2.disabled\:pointer-events-none.data-\[state\=open\]\:bg-accent.data-\[state\=open\]\:text-muted-foreground {
    background: red;
    padding: 5px;
}

/* ---------- 1. Ukuran dasar (mobile lebih dulu) ---------- */
:root {
  --hdr-h: 56px;
  --hdr-pad: 14px;
  --hdr-max: 1240px;
  --hdr-logo-w: 104px;
  --hdr-logo-max-h: 34px;
  --hdr-ctl: 40px;
}

/* ---------- 2. Bar header ---------- */
header.sticky.top-0.z-50 {
  background: hsl(var(--background) / .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid hsl(var(--primary) / .16);
  box-shadow: 0 10px 30px -18px rgb(0 0 0 / .75);
}

/* "container" bawaan Tailwind hanya 768px pada layar 768-1023px,
   dan memaksa isi header sempit. Diganti lebar fluid. */
header.sticky.top-0.z-50 > div.container {
  width: 100%;
  max-width: var(--hdr-max);
  margin-inline: auto;
  height: var(--hdr-h);
  padding-inline: var(--hdr-pad);
  gap: 12px;
}

/* ---------- 3. Logo ---------- */
header.sticky.top-0.z-50 > div.container > a:first-child {
  flex: none;
  display: flex;
  align-items: center;
}
header.sticky.top-0.z-50 > div.container > a:first-child img {
  width: var(--hdr-logo-w) !important;   /* menimpa style="width:25px" dari komponen */
  height: auto !important;
  max-height: var(--hdr-logo-max-h);
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

/* ---------- 4. Menu utama (desktop) ---------- */
header.sticky.top-0.z-50 > div.container > nav {
  margin-left: clamp(12px, 2.4vw, 40px);
  gap: 2px;
  min-width: 0;
}
/* menghapus jarak "space-x-6" bawaan, diganti gap + padding */
header.sticky.top-0.z-50 > div.container > nav > a,
header.sticky.top-0.z-50 > div.container > nav > button {
  margin: 0 !important;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  white-space: nowrap;                    /* tidak lagi pecah jadi 2-3 baris */
  transition: color .15s ease, background-color .15s ease;
}
header.sticky.top-0.z-50 > div.container > nav > a:hover,
header.sticky.top-0.z-50 > div.container > nav > button:hover,
header.sticky.top-0.z-50 > div.container > nav > button[data-state="open"] {
  background: hsl(var(--primary) / .09);
  color: hsl(var(--primary));
}
header.sticky.top-0.z-50 > div.container > nav .nav-link-active {
  background: hsl(var(--primary) / .10);
}
header.sticky.top-0.z-50 > div.container > nav .nav-link-active::after {
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
}
header.sticky.top-0.z-50 > div.container > nav > button svg {
  width: 14px;
  height: 14px;
  opacity: .7;
  transition: transform .2s ease;
}
header.sticky.top-0.z-50 > div.container > nav > button[data-state="open"] svg {
  transform: rotate(180deg);
}

/* ---------- 5. Kanan: login / daftar / tema / hamburger ---------- */
header.sticky.top-0.z-50 > div.container > div.ml-auto {
  flex: none;
  gap: 8px;
}
header.sticky.top-0.z-50 > div.container > div.ml-auto a.btn-gold {
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 13px;
  border-radius: 10px;
}
header.sticky.top-0.z-50 > div.container > div.ml-auto a[href="/login"] {
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
}
/* tombol akun (jika sudah login) */
header.sticky.top-0.z-50 > div.container > div.ml-auto > div.hidden button {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
}
/* tombol ikon: tema + hamburger */
header.sticky.top-0.z-50 > div.container > div.ml-auto > button,
header.sticky.top-0.z-50 > div.container > div.ml-auto > div.md\:hidden > button {
  width: var(--hdr-ctl);
  height: var(--hdr-ctl);
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  transition: border-color .15s ease, background-color .15s ease;
}
header.sticky.top-0.z-50 > div.container > div.ml-auto > button:hover,
header.sticky.top-0.z-50 > div.container > div.ml-auto > div.md\:hidden > button:hover {
  border-color: hsl(var(--primary) / .5);
  background: hsl(var(--primary) / .08);
}

/* ---------- 5b. Fokus keyboard yang jelas ---------- */
header.sticky.top-0.z-50 a:focus-visible,
header.sticky.top-0.z-50 button:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* =====================================================================
   TABLET  768px - 1099px
   Menu 5-6 item + tombol akun tidak muat di lebar ini, jadi memakai laci (hamburger)
   yang sama seperti mobile. Tombol "Sign up" tetap tampil.
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1099.98px) {
  :root {
    --hdr-h: 64px;
    --hdr-pad: 20px;
    --hdr-logo-w: 120px;
    --hdr-logo-max-h: 38px;
    --hdr-ctl: 40px;
  }
  header.sticky.top-0.z-50 > div.container > nav { display: none !important; }
  header.sticky.top-0.z-50 > div.container > div.ml-auto > div.md\:hidden { display: block !important; }
  header.sticky.top-0.z-50 > div.container > div.ml-auto a[href="/login"] { display: none; }
}

/* =====================================================================
   DESKTOP  >= 1100px
   ===================================================================== */
@media (min-width: 1100px) {
  :root {
    --hdr-h: 68px;
    --hdr-pad: 24px;
    --hdr-logo-w: 128px;
    --hdr-logo-max-h: 40px;
    --hdr-ctl: 38px;
  }
}
/* 1100-1279: rapatkan sedikit supaya semua menu tetap satu baris */
@media (min-width: 1100px) and (max-width: 1279.98px) {
  header.sticky.top-0.z-50 > div.container > nav > a,
  header.sticky.top-0.z-50 > div.container > nav > button {
    padding: 8px 9px;
    font-size: 13px;
  }
  header.sticky.top-0.z-50 > div.container > nav .nav-link-active::after { left: 9px; right: 9px; }
}
/* layar lebar */
@media (min-width: 1440px) {
  :root { --hdr-max: 1320px; --hdr-h: 72px; --hdr-logo-w: 136px; --hdr-logo-max-h: 44px; }
}

/* =====================================================================
   MOBILE  <= 767px  (nilai dasar di :root sudah untuk mobile)
   ===================================================================== */
@media (max-width: 380px) {
  :root { --hdr-pad: 12px; --hdr-logo-w: 92px; --hdr-ctl: 38px; }
  header.sticky.top-0.z-50 > div.container { gap: 8px; }
}

/* ---------- Hormati pengguna yang mematikan animasi ---------- */
@media (prefers-reduced-motion: reduce) {
  header.sticky.top-0.z-50 * { transition: none !important; }
}

a.dmca-badge {
    display: none;
}
/* ---------- card ---------- */
.bg-gray-50 {
background : transparent;
}
.sm\:p-2 {
    padding: 0;
    max-width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 1rem;
}
.rounded-lg.border.bg-card.text-card-foreground.shadow-sm.flex.h-full.flex-col.p-2.sm\:p-3.transition-all.duration-300.hover\:shadow-xl.group.card-company-item {
    padding: 0px 5px 5px 5px;
}
h3.text-xs.sm\:text-sm.font-semibold.font-headline.line-clamp-2.leading-tight {
    font-size: .5rem;
}

.text-muted-foreground {
    color: white;
}

.light {
    --background: 0 0% 50%;
    --foreground: 224 15% 10%;
    --card: 0 0% 100%;
    --card-foreground: 224 15% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 224 15% 10%;
    --primary: 43 54% 42%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 14% 94%;
    --secondary-foreground: 224 15% 20%;
    --muted: 220 14% 94%;
    --muted-foreground: 215 16% 47%;
    --accent: 220 14% 94%;
    --accent-foreground: 224 15% 20%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 220 13% 88%;
    --input: 220 13% 88%;
    --ring: 43 54% 42%;
    --sidebar-background: 220 20% 97%;
    --sidebar-foreground: 224 15% 20%;
    --sidebar-primary: 43 54% 42%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 220 14% 93%;
    --sidebar-accent-foreground: 224 15% 20%;
    --sidebar-border: 220 13% 88%;
    --sidebar-ring: 43 54% 42%;
}

#light h1, h2, h3, h4, h5, h6, {
    color: #000 !important;
}