/* ============================================================
   EDITORIAL TEAM STYLE - JURNAL PARYAVARANA
   OJS 3.5 Compatible | Full Width | No Bullets | Proposional
   With Abstract Accents & Decorative Lines | Compact Gap
   ============================================================ */

/* ---------- BASE & BODY ---------- */
body.editorial-page {
  background: linear-gradient(145deg, #f8faff 0%, #eef2f7 100%);
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  padding: 1.5rem 0;
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

/* ============================================================
   BACKGROUND ABSTRACT ACCENTS
   ============================================================ */

/* ---------- ORB / BULAT ABSTRAK ---------- */
body.editorial-page::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 75, 140, 0.07) 0%, rgba(26, 75, 140, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

body.editorial-page::after {
  content: '';
  position: fixed;
  bottom: -250px;
  left: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(11, 43, 92, 0.05) 0%, rgba(11, 43, 92, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- GARIS ABSTRAK DI SISI ---------- */
.abstract-line-left {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 200px;
  background: linear-gradient(180deg, transparent, rgba(26, 75, 140, 0.12), rgba(26, 75, 140, 0.2), rgba(26, 75, 140, 0.12), transparent);
  z-index: 0;
  border-radius: 0 4px 4px 0;
}

.abstract-line-right {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 200px;
  background: linear-gradient(180deg, transparent, rgba(26, 75, 140, 0.12), rgba(26, 75, 140, 0.2), rgba(26, 75, 140, 0.12), transparent);
  z-index: 0;
  border-radius: 4px 0 0 4px;
}

/* ---------- DOT / TITIK-TITIK ABSTRAK ---------- */
.abstract-dots {
  position: fixed;
  top: 12%;
  right: 3%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.abstract-dots span {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #1a4b8c;
  border-radius: 50%;
  margin: 0 3px;
}

.abstract-dots .dot-group {
  display: flex;
  gap: 4px;
  margin: 4px 0;
}

/* ---------- MAIN WIDGET CARD (FULL WIDTH) ---------- */
.widget-card {
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0, 20, 40, 0.25), 0 8px 24px -6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem 2.5rem;
  position: relative;
  z-index: 1;
}

.widget-card:hover {
  box-shadow: 0 28px 48px -16px rgba(0, 40, 80, 0.30);
}

/* ---------- GARIS DEKORATIF ATAS WIDGET ---------- */
.widget-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0b2b5c, #1a4b8c, #4a8bc2, #1a4b8c, #0b2b5c);
  background-size: 200% 100%;
  animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- GARIS DEKORATIF BAWAH WIDGET ---------- */
.widget-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.12), rgba(26, 75, 140, 0.25), rgba(26, 75, 140, 0.12), transparent);
}

/* ---------- SECTION BADGE ---------- */
.section-badge {
  background: linear-gradient(135deg, #0b2b5c, #1a4b8c);
  border: none;
  border-radius: 60px;
  padding: 0.5rem 2.2rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 60, 140, 0.2);
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* ---------- GARIS DEKORATIF DI KIRI & KANAN BADGE ---------- */
.section-badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-badge-wrapper .line-deco {
  flex: 1;
  height: 1.5px;
  max-width: 100px;
  background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.2));
}

.section-badge-wrapper .line-deco.right {
  background: linear-gradient(90deg, rgba(26, 75, 140, 0.2), transparent);
}

.section-badge i {
  font-size: 1.1rem;
  opacity: 0.9;
}

.section-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(20, 60, 140, 0.3);
  color: #fff;
  text-decoration: none;
}

/* ---------- LIST GROUP (HILANGKAN BULLET) ---------- */
.list-group {
  padding-left: 0 !important;
  margin-bottom: 0;
  list-style: none !important;
}

.list-group-flush {
  padding-left: 0 !important;
}

.list-group-item-custom {
  border: none;
  background: transparent;
  padding: 0.25rem 0;
  margin-bottom: 0;
  border-radius: 16px;
  transition: background 0.2s;
  list-style: none !important;
  display: block;
}

.list-group-item-custom::before {
  content: none !important;
}

.list-group-item-custom:hover {
  background: rgba(10, 50, 110, 0.02);
}

/* ============================================================
   GARIS PEMISAH ANTAR CARD
   ============================================================ */
.card-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.12), rgba(26, 75, 140, 0.2), rgba(26, 75, 140, 0.12), transparent);
  margin: 0.15rem 1rem;
  opacity: 0.6;
}

/* ---------- VERSI MOBILE LEBIH RAPAT ---------- */
@media (max-width: 576px) {
  .card-divider {
    margin: 0.1rem 0.5rem;
  }
}

/* ============================================================
   MEMBER CARD - LEBIH BESAR
   ============================================================ */
.member-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1rem 1.5rem 1rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

/* ---------- GARIS DEKORATIF DI SAMPING KIRI MEMBER CARD ---------- */
.member-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 4px;
  background: linear-gradient(180deg, transparent, rgba(26, 75, 140, 0.15), rgba(26, 75, 140, 0.3), rgba(26, 75, 140, 0.15), transparent);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: 0.3s;
}

.member-card:hover::before {
  opacity: 1;
}

/* ---------- ABSTRACT ACCENT DI SUDUT MEMBER CARD ---------- */
.member-card .accent-corner {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(26, 75, 140, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.member-card:hover {
  background: #ffffff;
  border-color: #d0dfff;
  box-shadow: 0 8px 20px rgba(30, 60, 130, 0.08);
}

/* ---------- FOTO - LEBIH BESAR ---------- */
.member-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  position: relative;
}

/* ---------- RING DEKORATIF DI SEKITAR FOTO ---------- */
.member-avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid rgba(26, 75, 140, 0.08);
  transition: 0.3s;
}

.member-card:hover .member-avatar::after {
  border-color: rgba(26, 75, 140, 0.25);
  transform: scale(1.04);
}

.img-user {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.2s;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

.member-card:hover .img-user {
  transform: scale(1.02);
  border-color: #2a6bb0;
}

/* ---------- KONTEN TEKS - LEBIH BESAR ---------- */
.member-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.member-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: #0a2647;
  text-decoration: none;
  transition: 0.15s;
  display: inline-block;
  line-height: 1.3;
}

.member-name:hover {
  color: #1a5fb0;
  text-decoration: underline;
}

/* ---------- AFILIASI - LEBIH BESAR ---------- */
.affiliation {
  font-size: 0.95rem;
  color: #2c3e66;
  background: rgba(60, 100, 180, 0.05);
  padding: 0.15rem 0.8rem;
  border-radius: 30px;
  display: inline-block;
  font-weight: 500;
  max-width: fit-content;
  line-height: 1.5;
}

.affiliation i {
  font-size: 0.9rem;
}

/* ============================================================
   SCOPUS & SINTA - LOGO DIPERKECIL
   ============================================================ */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.link-scopus,
.link-sinta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
  background: #f0f5fe;
  color: #154679;
  text-decoration: none;
  transition: 0.15s;
  border: 1px solid transparent;
  line-height: 1;
  position: relative;
}

.link-scopus:hover,
.link-sinta:hover {
  background: #e1ecfe;
  border-color: #b7cef0;
  transform: scale(1.05);
  text-decoration: none;
}

.link-logo {
  height: 18px;
  width: auto;
  display: block;
  transition: 0.2s;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.02));
}

/* ---------- HAPUS TEKS SCOPUS & SINTA ---------- */
.link-scopus span,
.link-sinta span {
  display: none;
}

/* ---------- DIVIDER ---------- */
.divider-custom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.4rem 0;
  padding: 0 0.5rem;
}

.divider-custom .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.1));
}

.divider-custom .line.right {
  background: linear-gradient(90deg, rgba(26, 75, 140, 0.1), transparent);
}

.divider-custom .diamond {
  width: 5px;
  height: 5px;
  background: rgba(26, 75, 140, 0.2);
  transform: rotate(45deg);
  flex-shrink: 0;
  border-radius: 1px;
}

/* ---------- FOOTER ---------- */
.footer-credit {
  text-align: center;
  margin-top: 1rem;
  color: #6c7a8e;
  font-size: 0.8rem;
  opacity: 0.7;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-credit i {
  margin-right: 5px;
}

.footer-credit::before {
  content: '';
  display: block;
  width: 50px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(26, 75, 140, 0.15), transparent);
  margin: 0 auto 0.5rem auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---------- TABLET ---------- */
@media (max-width: 992px) {
  .widget-card {
    padding: 1.25rem 1.5rem !important;
  }

  .member-avatar {
    width: 68px;
    height: 68px;
  }

  .img-user {
    width: 68px;
    height: 68px;
  }

  .member-card {
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
    gap: 1rem;
  }

  .member-name {
    font-size: 1.05rem;
  }

  .affiliation {
    font-size: 0.85rem;
  }

  .link-logo {
    height: 16px;
  }

  .section-badge-wrapper .line-deco {
    max-width: 60px;
  }

  .abstract-line-left,
  .abstract-line-right {
    display: none;
  }

  .section-badge {
    font-size: 0.9rem;
    padding: 0.4rem 1.6rem;
  }

  .card-divider {
    margin: 0.1rem 0.75rem;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 576px) {
  body.editorial-page {
    padding: 0;
  }

  body.editorial-page::before,
  body.editorial-page::after {
    display: none;
  }

  .widget-card {
    border-radius: 0;
    padding: 0.6rem 0.6rem !important;
  }

  .widget-card::before {
    height: 2px;
  }

  .member-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .img-user {
    width: 56px;
    height: 56px;
  }

  .member-avatar::after {
    inset: -3px;
    border-width: 2px;
  }

  .member-card {
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    gap: 0.75rem;
    border-radius: 14px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .member-card::before {
    top: 20%;
    height: 60%;
    width: 3px;
  }

  .member-info {
    gap: 0.1rem;
  }

  .member-name {
    font-size: 0.95rem;
  }

  .affiliation {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
  }

  .affiliation i {
    font-size: 0.7rem;
  }

  .link-scopus,
  .link-sinta {
    padding: 0.1rem 0.25rem;
    border-radius: 5px;
  }

  .link-logo {
    height: 14px;
  }

  .section-badge-wrapper {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .section-badge-wrapper .line-deco {
    max-width: 25px;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.3rem 1.1rem;
    gap: 6px;
  }

  .section-badge i {
    font-size: 0.85rem;
  }

  .divider-custom {
    margin: 0.2rem 0;
    gap: 0.4rem;
    padding: 0 0.25rem;
  }

  .divider-custom .diamond {
    width: 4px;
    height: 4px;
  }

  .divider-custom .line {
    height: 1px;
  }

  .list-group-item-custom {
    padding: 0.1rem 0;
  }

  .footer-credit {
    font-size: 0.65rem;
    padding: 0 0.5rem;
    margin-top: 0.75rem;
  }

  .links {
    gap: 0.25rem;
  }

  .abstract-dots {
    display: none;
  }

  .card-divider {
    margin: 0.08rem 0.4rem;
  }
}

/* ---------- MOBILE KECIL (< 400px) ---------- */
@media (max-width: 400px) {
  .member-avatar {
    width: 46px;
    height: 46px;
  }

  .img-user {
    width: 46px;
    height: 46px;
    border-width: 2px;
  }

  .member-avatar::after {
    inset: -2px;
  }

  .member-card {
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    gap: 0.5rem;
    border-radius: 12px;
  }

  .member-name {
    font-size: 0.85rem;
  }

  .affiliation {
    font-size: 0.68rem;
    padding: 0.05rem 0.4rem;
  }

  .link-scopus,
  .link-sinta {
    padding: 0.08rem 0.2rem;
  }

  .link-logo {
    height: 12px;
  }

  .widget-card {
    padding: 0.4rem 0.4rem !important;
  }

  .section-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.8rem;
    gap: 4px;
  }

  .section-badge i {
    font-size: 0.75rem;
  }

  .section-badge-wrapper .line-deco {
    max-width: 15px;
  }

  .divider-custom {
    margin: 0.15rem 0;
    gap: 0.3rem;
  }

  .divider-custom .diamond {
    width: 3px;
    height: 3px;
  }

  .card-divider {
    margin: 0.05rem 0.25rem;
  }
}

/* ---------- RESET UL/OL DI DALAM WIDGET (ANTI-BULLET) ---------- */
.widget-card ul,
.widget-card ol,
.widget-card li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.widget-card ul::before,
.widget-card ol::before,
.widget-card li::before {
  content: none !important;
  display: none !important;
}
/* ============================================================
   ojs-menu-green.css
   JOURNAL MENU - GREEN THEME · OJS 3.5
   DENGAN BORDER PADA SETIAP SUB MENU
   GLYPHICON + FONT AWESOME DI TIAP MENU
   DENGAN MENU ARROW
   ITEM MENU TIDAK KELUAR DARI TEMPAT
   Pure CSS · No JavaScript · Not Accordion
   ============================================================ */

/* --- reset & base --- */
.ojs-menu-wrapper * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ojs-menu-wrapper {
  max-width: 100%;
  background: #ffffff;
  padding: 0.5rem 0.4rem;
  font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  border-radius: 0.8rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* --- header --- */
.ojs-menu-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem 0.6rem 0.8rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 0.8rem;
  border: 2px solid #66bb6a;
  position: relative;
  flex-wrap: nowrap;
}

.ojs-menu-header .header-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  color: #2e7d32;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 2px solid #66bb6a;
}

.ojs-menu-header .header-icon .fa {
  font-size: 1.2rem;
  color: #2e7d32;
}

.ojs-menu-header .header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.ojs-menu-header .header-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1b5e20;
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ojs-menu-header .header-subtitle {
  font-weight: 400;
  font-size: 0.5rem;
  color: #388e3c;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ojs-menu-header .header-badge {
  font-size: 0.5rem;
  font-weight: 600;
  color: #1b5e20;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.1rem 0.6rem;
  border-radius: 40px;
  letter-spacing: 0.6px;
  white-space: nowrap;
  border: 1px solid #66bb6a;
  flex-shrink: 0;
}

/* --- sub header --- */
.ojs-menu-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #388e3c;
  font-size: 0.6rem;
  font-weight: 500;
  padding-left: 0.3rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.2px;
  font-family: 'Segoe UI', sans-serif;
}

.ojs-menu-sub .sub-line {
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, #66bb6a, transparent);
  flex-shrink: 0;
}

.ojs-menu-sub i {
  color: #43a047;
  font-size: 0.7rem;
}

/* --- menu list --- */
.ojs-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* --- menu item - TIDAK KELUAR --- */
.ojs-menu-item {
  border-radius: 0.7rem;
  border: 2px solid #c8e6c9;
  transition: all 0.3s ease;
  background: #fafffe;
  position: relative;
  padding-left: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* garis vertikal di kiri - hijau */
.ojs-menu-item .menu-line {
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #66bb6a, #2e7d32);
  border-radius: 0 4px 4px 0;
  transition: height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.3;
}

.ojs-menu-item:hover .menu-line {
  height: 65%;
  opacity: 1;
}

/* garis premium - lebih tebal */
.ojs-menu-item .menu-line.premium-line {
  width: 5px;
  background: linear-gradient(180deg, #43a047, #1b5e20);
}

.ojs-menu-item.color-premium:hover .menu-line.premium-line {
  height: 75%;
  opacity: 1;
}

/* --- link styling - TIDAK KELUAR --- */
.ojs-menu-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.6rem 0.6rem 0.8rem;
  text-decoration: none;
  color: #1b3a1b;
  border-radius: 0.7rem;
  width: 100%;
  max-width: 100%;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
  background: transparent;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.ojs-menu-item a .menu-icon {
  width: 1.6rem;
  font-size: 1rem;
  text-align: center;
  flex-shrink: 0;
  color: #66bb6a;
  transition: all 0.3s ease;
  font-family: 'FontAwesome' !important;
}

.ojs-menu-item a .menu-icon.fa {
  font-size: 1rem;
  line-height: 1.6rem;
}

.ojs-menu-item a .menu-label {
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: -0.1px;
  flex: 1 1 auto;
  line-height: 1.2;
  color: #1b3a1b;
  transition: color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ojs-menu-item a .menu-arrow {
  font-size: 0.45rem;
  color: #a5d6a7;
  transition: all 0.3s ease;
  flex-shrink: 0;
  opacity: 0.4;
  margin-left: 0.1rem;
  width: 1rem;
  text-align: center;
}

/* --- hover states dengan border --- */
.ojs-menu-item:hover {
  background: #e8f5e9;
  border-color: #66bb6a;
  transform: translateX(3px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.ojs-menu-item:hover a .menu-icon {
  color: #2e7d32;
  transform: scale(1.05);
}

.ojs-menu-item:hover a .menu-label {
  color: #0d2b0d;
}

.ojs-menu-item:hover a .menu-arrow {
  opacity: 0.8;
  color: #43a047;
  transform: translateX(3px);
}

/* --- premium item --- */
.ojs-menu-item.color-premium {
  background: #fafffe;
  border-color: #a5d6a7;
}

.ojs-menu-item.color-premium:hover {
  background: #e8f5e9;
  border-color: #43a047;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.15);
}

.ojs-menu-item.color-premium a .menu-icon {
  color: #66bb6a;
}

.ojs-menu-item.color-premium:hover a .menu-icon {
  color: #1b5e20;
}

.ojs-menu-item.color-premium a .menu-arrow {
  color: #a5d6a7;
}

.ojs-menu-item.color-premium:hover a .menu-arrow {
  color: #43a047;
}

/* --- footer --- */
.ojs-menu-footer {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.55rem;
  color: #81c784;
  letter-spacing: 0.4px;
  font-weight: 400;
  padding-top: 0.6rem;
  border-top: 2px solid #c8e6c9;
}

.ojs-menu-footer i {
  color: #43a047;
  font-size: 0.5rem;
}

/* --- responsive --- */
@media (max-width: 600px) {
  .ojs-menu-item a {
    padding: 0.5rem 0.5rem 0.5rem 0.6rem;
    gap: 0.4rem;
  }
  .ojs-menu-item a .menu-label {
    font-size: 0.7rem;
  }
  .ojs-menu-item a .menu-icon {
    width: 1.3rem;
    font-size: 0.85rem;
  }
  .ojs-menu-item a .menu-icon.fa {
    font-size: 0.85rem;
    line-height: 1.3rem;
  }
  .ojs-menu-item a .menu-arrow {
    font-size: 0.4rem;
    width: 0.8rem;
  }
  .ojs-menu-header {
    padding: 0.5rem 0.6rem;
    gap: 0.4rem;
  }
  .ojs-menu-header .header-title {
    font-size: 0.9rem;
  }
  .ojs-menu-header .header-icon {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 0.9rem;
  }
  .ojs-menu-header .header-icon .fa {
    font-size: 0.9rem;
  }
  .ojs-menu-header .header-badge {
    font-size: 0.4rem;
    padding: 0.05rem 0.4rem;
  }
  .ojs-menu-header .header-subtitle {
    font-size: 0.4rem;
    letter-spacing: 1px;
  }
  .ojs-menu-sub {
    font-size: 0.5rem;
  }
  .ojs-menu-item .menu-line {
    width: 3px;
  }
  .ojs-menu-wrapper {
    padding: 0.3rem 0.2rem;
  }
}

@media (max-width: 400px) {
  .ojs-menu-item a .menu-label {
    font-size: 0.6rem;
  }
  .ojs-menu-item a .menu-arrow {
    display: none;
  }
}

/* --- entry animation --- */
.ojs-menu-item {
  opacity: 0;
  animation: greenFade 0.4s ease forwards;
}
.ojs-menu-item:nth-child(1) { animation-delay: 0.04s; }
.ojs-menu-item:nth-child(2) { animation-delay: 0.07s; }
.ojs-menu-item:nth-child(3) { animation-delay: 0.10s; }
.ojs-menu-item:nth-child(4) { animation-delay: 0.13s; }
.ojs-menu-item:nth-child(5) { animation-delay: 0.16s; }
.ojs-menu-item:nth-child(6) { animation-delay: 0.19s; }
.ojs-menu-item:nth-child(7) { animation-delay: 0.22s; }
.ojs-menu-item:nth-child(8) { animation-delay: 0.25s; }
.ojs-menu-item:nth-child(9) { animation-delay: 0.28s; }
.ojs-menu-item:nth-child(10) { animation-delay: 0.31s; }

@keyframes greenFade {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- accessibility --- */
.ojs-menu-item a:focus-visible {
  outline: 2px solid #43a047;
  outline-offset: -2px;
  border-radius: 0.7rem;
}

/* ============================================================
   TAMBAHAN UNTUK OJS 3.5 - MEMASTIKAN VISIBILITY
   DAN TIDAK KELUAR DARI TEMPAT
   ============================================================ */

.ojs-menu-wrapper .ojs-menu-item,
.ojs-menu-wrapper .ojs-menu-item a {
  all: revert;
}

.ojs-menu-wrapper .ojs-menu-item {
  border-radius: 0.7rem !important;
  border: 2px solid #c8e6c9 !important;
  transition: all 0.3s ease !important;
  background: #fafffe !important;
  position: relative !important;
  padding-left: 0.5rem !important;
  margin: 0 !important;
  list-style: none !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.ojs-menu-wrapper .ojs-menu-item a {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.6rem 0.6rem 0.6rem 0.8rem !important;
  text-decoration: none !important;
  color: #1b3a1b !important;
  border-radius: 0.7rem !important;
  width: 100% !important;
  max-width: 100% !important;
  transition: all 0.3s !important;
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.ojs-menu-wrapper .ojs-menu-item a .menu-label {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-size: 0.78rem !important;
}

.ojs-menu-wrapper .ojs-menu-item a .menu-icon {
  flex-shrink: 0 !important;
  width: 1.6rem !important;
  text-align: center !important;
  font-size: 1rem !important;
}

.ojs-menu-wrapper .ojs-menu-item a .menu-icon.fa {
  font-size: 1rem !important;
  line-height: 1.6rem !important;
}

.ojs-menu-wrapper .ojs-menu-item a .menu-arrow {
  flex-shrink: 0 !important;
  font-size: 0.45rem !important;
  width: 1rem !important;
  text-align: center !important;
}

.ojs-menu-wrapper .ojs-menu-item:hover {
  background: #e8f5e9 !important;
  border-color: #66bb6a !important;
  transform: translateX(3px) !important;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1) !important;
}

.ojs-menu-wrapper .ojs-menu-item.color-premium {
  background: #fafffe !important;
  border-color: #a5d6a7 !important;
}

.ojs-menu-wrapper .ojs-menu-item.color-premium:hover {
  background: #e8f5e9 !important;
  border-color: #43a047 !important;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.15) !important;
}

.ojs-menu-wrapper {
  background: #ffffff !important;
  padding: 0.5rem 0.4rem !important;
  border-radius: 0.8rem !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Styling untuk Font Awesome --- */
.ojs-menu-wrapper .fa {
  font-family: 'FontAwesome' !important;
  font-size: 1rem !important;
  line-height: 1.6rem !important;
  color: #66bb6a !important;
  transition: all 0.3s ease !important;
}

.ojs-menu-wrapper .menu-item:hover .fa {
  color: #2e7d32 !important;
}

/* Icon arrow - khusus untuk panah */
.ojs-menu-wrapper .fa-chevron-right {
  font-size: 0.45rem !important;
  line-height: 1 !important;
}

/* Memastikan Glyphicon tampil */
.ojs-menu-wrapper .glyphicon {
  font-family: 'Glyphicons Halflings' !important;
}