
/* ==========================================
   BESTONE EDUCATION — GLOBAL DESIGN SYSTEM
   ========================================== */

:root {
  --bo-maroon: #991e32;
  --bo-maroon-dark: #7a1828;
  --bo-maroon-deep: #45101d;
  --bo-maroon-light: #b82a40;
  --bo-cream: #fff9f5;
  --bo-cream-dark: #f7eee8;
  --bo-text: #24212a;
  --bo-muted: #77717a;
  --bo-border: rgba(44, 27, 32, 0.09);
  --bo-shadow: 0 16px 45px rgba(48, 18, 27, 0.08);
  --bo-radius: 22px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--bo-text);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.bo-menu-open {
  overflow: hidden;
}

body, button, input, textarea, select {
  font-family: "DM Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.bo-brand-copy,
.bo-footer-banner h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: white;
  background: var(--bo-maroon);
}

.bo-skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: white;
  background: var(--bo-maroon-dark);
  border-radius: 10px;
  transform: translateY(-150%);
}

.bo-skip-link:focus {
  transform: translateY(0);
}

/* ==========================================
   HEADER
   ========================================== */

.bo-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(153, 30, 50, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.bo-header.bo-header-scrolled {
  padding-top: 9px;
  padding-bottom: 9px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px rgba(44, 20, 27, 0.08);
}

.bo-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

/* Logo */

.bo-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--bo-text);
}

.bo-brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  overflow: hidden;
  color: white;
  background: linear-gradient(145deg, var(--bo-maroon-light), var(--bo-maroon-dark));
  border-radius: 15px;
  box-shadow: 0 7px 18px rgba(153, 30, 50, 0.23);
}

.bo-brand-mark > span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.bo-brand-mark > i {
  position: absolute;
  right: 3px;
  bottom: 4px;
  font-size: 11px;
  color: #ffe2b0;
}

.bo-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bo-brand-copy strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
}

.bo-brand-copy strong span {
  color: var(--bo-maroon);
}

.bo-brand-copy small {
  color: var(--bo-muted);
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.6px;
}

/* Navigasi Desktop */

.bo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.bo-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 0 14px;
  color: #625b63;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.bo-nav-link:hover,
.bo-nav-link.is-active {
  color: var(--bo-maroon);
  background: #fff3f4;
}

.bo-nav-link.is-active::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 2px;
  background: var(--bo-maroon);
  border-radius: 10px;
  content: "";
}

/* Tombol Header */

.bo-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bo-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 45px;
  padding: 0 19px;
  color: white;
  background: linear-gradient(135deg, var(--bo-maroon-light), var(--bo-maroon-dark));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  box-shadow: 0 7px 17px rgba(153, 30, 50, 0.17);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bo-header-cta i {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.bo-header-cta:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(153, 30, 50, 0.25);
}

.bo-header-cta:hover i {
  transform: translateX(3px);
}

.bo-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  color: #827780;
  background: #f8f5f5;
  border: 1px solid var(--bo-border);
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}

.bo-admin-link:hover {
  color: var(--bo-maroon);
  background: #fff0f2;
}

/* Tombol menu HP */

.bo-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 43px;
  height: 43px;
  padding: 0;
  color: var(--bo-text);
  background: white;
  border: 1px solid var(--bo-border);
  border-radius: 13px;
  cursor: pointer;
}

.bo-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bo-menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.bo-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.bo-menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.bo-mobile-menu[hidden] {
  display: none !important;
}

.bo-mobile-menu {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  max-height: calc(100dvh - 78px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--bo-border);
  box-shadow: 0 25px 45px rgba(45, 16, 25, 0.14);
  animation: bo-menu-in 0.22s ease both;
}

.bo-mobile-menu-inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 23px 22px 27px;
}

.bo-mobile-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--bo-text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.bo-mobile-menu-label {
  padding: 5px 8px;
  color: var(--bo-maroon);
  background: #fff0f2;
  border-radius: 7px;
  font-family: "DM Sans", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.bo-mobile-link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 57px;
  padding: 9px 12px;
  color: #4b444c;
  border-bottom: 1px solid #f2edef;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.bo-mobile-link:hover,
.bo-mobile-link.is-active {
  color: var(--bo-maroon);
  background: #fff4f5;
}

.bo-mobile-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--bo-maroon);
  background: #fff0f2;
  border-radius: 10px;
}

.bo-mobile-arrow {
  margin-left: auto;
  color: #b7aab0;
  font-size: 11px;
}

.bo-mobile-menu-bottom {
  display: grid;
  gap: 14px;
  margin-top: 21px;
}

.bo-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 12px 18px;
  color: white;
  background: linear-gradient(135deg, var(--bo-maroon-light), var(--bo-maroon-dark));
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(153, 30, 50, 0.16);
  font-size: 14px;
  font-weight: 700;
}

.bo-mobile-cta:hover {
  color: white;
}

.bo-mobile-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #817780;
  font-size: 12px;
  font-weight: 600;
}

@keyframes bo-menu-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   MAIN
   ========================================== */

.bo-main {
  min-height: 55vh;
}

.bo-main:focus {
  outline: none;
}

/* ==========================================
   FOOTER
   ========================================== */

.bo-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(184, 42, 64, 0.22), transparent 38%),
    linear-gradient(145deg, #291018 0%, #39101d 48%, #210d15 100%);
}

.bo-footer-glow {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 430px;
  height: 430px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(184, 42, 64, 0.19), transparent 70%);
  border-radius: 50%;
}

.bo-footer-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 24px 25px;
}

.bo-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1.15fr;
  gap: 42px;
  padding-bottom: 49px;
}

.bo-brand-footer {
  color: #fff;
}

.bo-brand-footer .bo-brand-copy strong {
  color: white;
}

.bo-brand-footer .bo-brand-copy strong span {
  color: #ffb9c4;
}

.bo-brand-footer .bo-brand-copy small {
  color: #bca9b0;
}

.bo-footer-description {
  max-width: 355px;
  margin: 23px 0 18px;
  color: #c6b8be;
  font-size: 13px;
  line-height: 1.9;
}

.bo-footer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e8c8ce;
  font-size: 11px;
  font-weight: 600;
}

.bo-footer-tagline-dot {
  width: 7px;
  height: 7px;
  background: #e5a0ad;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(229, 160, 173, 0.12);
}

.bo-footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.bo-footer-column h3 {
  margin: 3px 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.bo-footer-column > a {
  color: #c2b2b9;
  font-size: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bo-footer-column > a:hover {
  color: #fff;
  transform: translateX(3px);
}

.bo-footer-contact {
  gap: 19px;
}

.bo-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.bo-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: #ffc2cb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 12px;
}

.bo-contact-item small {
  display: block;
  margin-bottom: 5px;
  color: #b9a6ae;
  font-size: 10px;
}

.bo-contact-item p {
  margin: 0;
  color: #f8edf0;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* Banner CTA */

.bo-footer-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 29px 32px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
}

.bo-footer-banner-label {
  display: inline-block;
  margin-bottom: 11px;
  color: #ffb7c2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.bo-footer-banner h3 {
  max-width: 580px;
  margin: 0 0 8px;
  color: white;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 800;
  line-height: 1.4;
}

.bo-footer-banner p {
  margin: 0;
  color: #c9b7be;
  font-size: 12px;
  line-height: 1.7;
}

.bo-footer-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 47px;
  padding: 0 19px;
  flex-shrink: 0;
  color: var(--bo-maroon-dark);
  background: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bo-footer-banner-button:hover {
  color: var(--bo-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.16);
}

.bo-footer-banner-button i {
  transition: transform 0.2s ease;
}

.bo-footer-banner-button:hover i {
  transform: translateX(3px);
}

/* Copyright */

.bo-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-footer-bottom p {
  margin: 0;
  color: #bba9b1;
  font-size: 11px;
  line-height: 1.7;
}

.bo-footer-bottom strong {
  color: #f4e7eb;
}

.bo-footer-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8b7be;
  font-size: 11px;
  transition: color 0.2s ease;
}

.bo-footer-login:hover {
  color: white;
}

/* ==========================================
   BACK TO TOP
   ========================================== */

.bo-back-to-top {
  position: fixed;
  z-index: 900;
  right: 23px;
  bottom: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: white;
  background: var(--bo-maroon);
  border: none;
  border-radius: 15px;
  box-shadow: 0 9px 25px rgba(80, 15, 31, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.bo-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bo-back-to-top:hover {
  background: var(--bo-maroon-dark);
  transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1100px) {
  .bo-header {
    padding-right: 20px;
    padding-left: 20px;
  }

  .bo-header-inner {
    gap: 15px;
  }

  .bo-brand-copy strong {
    font-size: 15px;
  }

  .bo-nav-link {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .bo-header-cta {
    padding-right: 14px;
    padding-left: 14px;
  }

  .bo-footer-top {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 34px;
  }

  .bo-footer-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .bo-footer-contact h3 {
    grid-column: 1 / -1;
    margin-bottom: -5px;
  }
}

@media (max-width: 850px) {
  .bo-header {
    padding: 10px 17px;
  }

  .bo-header-inner {
    gap: 10px;
  }

  .bo-nav,
  .bo-header-actions > .bo-admin-link {
    display: none;
  }

  .bo-header-actions {
    margin-left: auto;
  }

  .bo-menu-toggle {
    display: flex;
  }

  .bo-brand-mark {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }

  .bo-brand-copy strong {
    font-size: 15px;
  }

  .bo-footer-container {
    padding: 53px 22px 22px;
  }

  .bo-footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 37px 28px;
  }

  .bo-footer-brand-column {
    grid-column: 1 / -1;
  }

  .bo-footer-description {
    max-width: 520px;
  }

  .bo-footer-contact {
    grid-column: auto;
    display: flex;
  }

  .bo-footer-contact h3 {
    margin-bottom: 8px;
  }

  .bo-footer-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .bo-header {
    padding: 9px 13px;
  }

  .bo-brand {
    gap: 8px;
  }

  .bo-brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .bo-brand-mark > span {
    font-size: 22px;
  }

  .bo-brand-copy strong {
    font-size: 13px;
    letter-spacing: -0.4px;
  }

  .bo-brand-copy small {
    font-size: 8px;
    letter-spacing: 0.2px;
  }

  .bo-header-cta {
    min-height: 40px;
    gap: 7px;
    padding: 0 11px;
    border-radius: 11px;
    font-size: 11px;
  }

  .bo-header-cta i {
    font-size: 10px;
  }

  .bo-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .bo-mobile-menu-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .bo-footer-container {
    padding: 44px 18px 20px;
  }

  .bo-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 31px 19px;
  }

  .bo-footer-brand-column,
  .bo-footer-contact {
    grid-column: 1 / -1;
  }

  .bo-footer-column h3 {
    font-size: 12px;
  }

  .bo-footer-column > a {
    font-size: 11px;
  }

  .bo-footer-description {
    font-size: 12px;
  }

  .bo-footer-contact {
    display: flex;
  }

  .bo-footer-banner {
    padding: 22px 19px;
    border-radius: 17px;
  }

  .bo-footer-banner h3 {
    font-size: 18px;
  }

  .bo-footer-banner-button {
    width: 100%;
  }

  .bo-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .bo-footer-bottom p {
    font-size: 10px;
  }

  .bo-back-to-top {
    right: 15px;
    bottom: 15px;
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }
}

/* Aksesibilitas: kurangi animasi jika diminta perangkat */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}



/* =========================================
   BESTONE — PREMIUM PROGRAM DROPDOWN
   ========================================= */

.bo-program-menu-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* Jarak kecil antara menu dan panel agar pointer
   tidak kehilangan hover ketika bergerak ke dropdown */
.bo-program-menu-wrapper::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 18px;
}

.bo-program-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

/* Panah dibuat dengan CSS, tanpa menambah tombol */
.bo-program-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg);
  transition:
    transform 0.25s ease,
    margin-top 0.25s ease;
}

/* Warna ketika dropdown aktif */
.bo-program-menu-wrapper:hover .bo-program-toggle,
.bo-program-menu-wrapper:focus-within .bo-program-toggle {
  color: var(--bo-maroon, #991e32);
}

.bo-program-menu-wrapper:hover .bo-program-toggle::after,
.bo-program-menu-wrapper:focus-within .bo-program-toggle::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

/* Panel dropdown */
.bo-program-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;

  width: 370px;
  max-width: min(370px, calc(100vw - 32px));
  max-height: 440px;

  padding: 7px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(153, 30, 50, 0.11);
  border-radius: 19px;

  box-shadow:
    0 24px 65px rgba(47, 15, 25, 0.14),
    0 5px 16px rgba(47, 15, 25, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(9px) scale(0.985);
  transform-origin: top left;

  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;

  z-index: 1100;
}

/* Garis aksen dekoratif di bagian atas panel */
.bo-program-dropdown::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;

  background: linear-gradient(
    90deg,
    #7a1828,
    #b82a40,
    #e8a3ad,
    transparent
  );

  border-radius: 0 0 5px 5px;
  pointer-events: none;
}

/* Tampilkan dropdown */
.bo-program-menu-wrapper:hover .bo-program-dropdown,
.bo-program-menu-wrapper:focus-within .bo-program-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Area daftar program */
.bo-program-daftar {
  display: flex;
  flex-direction: column;
  gap: 4px;

  max-height: 424px;
  padding: 11px 7px 7px;

  overflow-y: auto;
  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: rgba(153, 30, 50, 0.25) transparent;
}

.bo-program-daftar::-webkit-scrollbar {
  width: 5px;
}

.bo-program-daftar::-webkit-scrollbar-track {
  background: transparent;
}

.bo-program-daftar::-webkit-scrollbar-thumb {
  background: rgba(153, 30, 50, 0.23);
  border-radius: 10px;
}

.bo-program-daftar::-webkit-scrollbar-thumb:hover {
  background: rgba(153, 30, 50, 0.48);
}

/* Setiap item program */
.bo-program-item {
  position: relative;
  display: block;

  padding: 6px 37px 6px 15px;

  color: var(--bo-text, #24212a);
  text-decoration: none;

  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Panah dekoratif di item, bukan tombol tambahan */
.bo-program-item::after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 15px;

  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;

  color: #b4a0a6;
  opacity: 0;
  transform: translate(-4px, -50%);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.bo-program-item:hover {
  color: inherit;
  background: linear-gradient(
    105deg,
    rgba(153, 30, 50, 0.065),
    rgba(153, 30, 50, 0.018)
  );

  border-color: rgba(153, 30, 50, 0.075);
  box-shadow: 0 5px 15px rgba(66, 20, 32, 0.035);
  transform: translateX(2px);
}

.bo-program-item:hover::after {
  color: var(--bo-maroon, #991e32);
  opacity: 1;
  transform: translate(0, -50%);
}

/* Nama program */
.bo-program-item-nama {
  color: #30232a;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.15px;

  transition: color 0.2s ease;
}

.bo-program-item:hover .bo-program-item-nama {
  color: var(--bo-maroon, #991e32);
}

/* Deskripsi program */
.bo-program-item-desc {
  color: #827780;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Informasi durasi */
.bo-program-item-durasi {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;

  color: #8e2639;
  background: #fff0f2;
  border: 1px solid rgba(153, 30, 50, 0.08);
  border-radius: 7px;

  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
}

/* Status memuat dan kondisi kosong/error */
.bo-program-memuat,
.bo-program-kosong {
  padding: 25px 17px;
  color: #827780;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}

.bo-program-memuat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bo-program-memuat::before {
  content: "";
  width: 15px;
  height: 15px;
  flex-shrink: 0;

  border: 2px solid rgba(153, 30, 50, 0.15);
  border-top-color: var(--bo-maroon, #991e32);
  border-radius: 50%;

  animation: bo-program-spin 0.7s linear infinite;
}

@keyframes bo-program-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Tautan pada pesan kosong/error tetap mengikuti tampilan */
.bo-program-kosong a {
  display: inline-block;
  margin-top: 7px;
  color: var(--bo-maroon, #991e32);
  font-weight: 700;
  text-decoration: none;
}

.bo-program-kosong a:hover {
  text-decoration: underline;
}

/* Responsif */
@media (max-width: 850px) {
  .bo-program-menu-wrapper {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bo-program-dropdown,
  .bo-program-item,
  .bo-program-toggle::after {
    transition: none;
  }

  .bo-program-memuat::before {
    animation: none;
  }
}
