:root {
  --tosca: #088580;
  --tosca-dark: #095c5d;
  --hover-bg: #d3d8d8;
  --text-dark: #1f2937;
  --line-bright: #064029;
  --gray-dark: #3c3f43;      /* abu gelap */
  --gray-soft: #757e8c;      /* abu sedikit terang */
  --tosca-accent: #b7ece7;   /* aksen tosca */
}

/* HEADER */
.sidebar-header-clean {
  padding: 14px 16px;
  text-align: center;

  font-weight: 600;
  letter-spacing: 1px;
  color: #f9fafb;

  /* 🔥 background abu gelap senada */
  background: linear-gradient(135deg, var(--gray-dark), var(--gray-soft));

  /* 🔥 garis tipis full */
  border: 1px solid rgba(15, 118, 110, 0.4);

  /* 🔥 sedikit rounded */
  border-radius: 10px;

  /* 🔥 efek halus */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);

  position: relative;
}

/* 🔥 optional: garis aksen bawah tipis */
.sidebar-header-clean::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--tosca-accent);
  opacity: 0.6;
}

/* Sidebar */
.sidebar {
  width: 100%;
  max-width: 320px;
  font-family: sans-serif;
}

/* Header */
.sidebar-header {
  background: linear-gradient(135deg, var(--tosca), var(--tosca-dark));
  color: white;
  text-align: center;
  padding: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Menu */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 🔥 TANPA SPASI */
.menu li {
  margin-bottom: -1.5px;
  position: relative;
}

/* 🔥 GARIS PEMISAH */
.menu li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 88%;
  height: 1px;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

/* 🔥 MENU SHAPE (OVAL TIPIS) */
.menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;

  text-decoration: none;
  color: white;

  background: linear-gradient(135deg, var(--tosca), var(--tosca-dark));

  border-radius: 7px; /* lebih cocok untuk tanpa spasi */

  transition: all 0.3s ease;
  position: relative;

  box-shadow: 0 3px 8px rgba(0,0,0,0.08);

  border: 0px solid rgba(255,255,255,0.08);
}

/* ICON */
.menu a i {
  font-size: 15px;
  min-width: 25px;
  text-align: center;
  transition: 0.3s;
}

/* 🔥 DIVIDER ICON - TEXT */
.menu a span {
  position: relative;
  padding-left: 14px;
}

.menu a span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: 0.3s;
}

/* 🔥 HOVER */
.menu a:hover {
  background: var(--hover-bg);
  color: var(--text-dark);

  transform: translateX(6px) scale(1.02);

  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Divider berubah */
.menu a:hover span::before {
  background: var(--text-dark);
}

/* Icon animasi */
.menu a:hover i {
  transform: scale(1.2);
}

/* 🔥 GARIS BAWAH JADI CERAH */
.menu li:hover::after {
  background: var(--line-bright);
  height: 2px;
  width: 92%;
}

/* ACTIVE */
.menu li.active a {
  background: linear-gradient(135deg, #115e59, #022c22);
}

.menu li.active::after {
  background: var(--line-bright);
  height: 3px;
}

.icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;

  /* warna mengikuti tema (khusus SVG biasanya) */
  filter: brightness(0) invert(1);

  transition: 0.3s;
}

/* saat hover → jadi gelap */
.menu a:hover .icon-img {
  filter: brightness(0);
  transform: scale(1.2);
}

/* 🔥 HOVER GLOBAL */
.menu-tool a:hover {
  color: white;
  transform: translateX(6px);
}

/* ICON hidup */
.menu-tool a:hover .icon-img {
  filter: none;
  transform: scale(1.2);
}

/* divider ikut berubah */
.menu-tool a:hover span::before {
  background: white;
}
/* =========================
   BASE MENU
========================= */
.tool a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;

  border-radius: 16px;
  overflow: hidden;

  color: white;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* =========================
   ICON DEFAULT (WARNA ASLI)
========================= */
.tool .icon-img {
  width: 18px;
  height: 18px;

  filter: none !important;   /* 🔥 pastikan tidak keubah */
  opacity: 1;

  transition: all 0.3s ease;
}

/* =========================
   DIVIDER
========================= */
.tool span {
  position: relative;
  padding-left: 12px;
}

.tool span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 2px;

  background: rgba(255,255,255,0.6);
  transition: 0.3s;
}

/* =========================
   LOGO SHADOW KANAN
========================= */
.tool a::before {
  content: "";
  position: absolute;
  inset: 0;

  background-repeat: no-repeat;
  background-position: right center;
  background-size: 70px;

  opacity: 0.15;
  transition: 0.3s;
}

/* =========================
   GRADASI GELAP SETENGAH
========================= */
.tool a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;

  background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

/* =========================
   DEFAULT (WARNA BRAND)
========================= */

/* WHATSAPP */
.tool.wa a {
  background: #25D366;
}
.tool.wa a::before {
  background-image: url("https://cdn-icons-png.flaticon.com/512/733/733585.png");
}

/* MENDELEY */
.tool.mendeley a {
  background: #a31f34;
}
.tool.mendeley a::before {
  background-image: url("https://jurnalfamilia.org/public/site/images/adminfamilia/IMG_2865.png");
}

/* TURNITIN */
.tool.turnitin a {
  background: #00a6d6;
}
.tool.turnitin a::before {
  background-image: url("https://cdn-icons-png.flaticon.com/512/5968/5968875.png");
}

/* GRAMMARLY */
.tool.grammarly a {
  background: #15c39a;
}
.tool.grammarly a::before {
  background-image: url("https://jurnalfamilia.org/public/site/images/adminfamilia/IMG_2866.png");
}

/* =========================
   HOVER (MODE NETRAL)
========================= */
.tool a:hover {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #1f2937;

  transform: translateX(6px);
}

/* divider */
.tool a:hover span::before {
  background: #1f2937;
}

/* 🔥 ICON → ABU-ABU GELAP (FIX UTAMA) */
.tool a:hover .icon-img {
  filter: grayscale(100%) brightness(0.3) !important;
  transform: scale(1.2);
}

/* logo tetap halus */
.tool a:hover::before {
  opacity: 0.1;
}

/* hilangkan gradasi saat hover */
.tool a:hover::after {
  opacity: 0;
}

/* FRAME */
.indexing-slider {
  width: 100%;
  overflow: hidden;
  margin: 20px 0;
  position: relative;
}

/* TRACK */
.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 25s linear infinite;
}

/* LINK WRAPPER (klik area) */
.slider-track a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 14px;
  text-decoration: none;
}

/* LOGO: rasio 1:3 (tinggi:lebar) */
.slider-track img {
  height: 45px;        /* 🔥 tinggi */
  width: 135px;        /* 🔥 lebar = 3x tinggi */

  object-fit: contain;

  /* tampilan elegan */
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

/* HOVER (klik lebih terasa) */
.slider-track a:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* ANIMASI LOOP */
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.journal-footer {
  background: transparent; /* transparan sesuai permintaan */
  font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Container utama */
.footer-container {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 50px;
}

/* Kotak logo */
.footer-logo-box {
  background: #ffffff;
  padding: 15px;
  border-radius: 14px; /* sudut agak melengkung */
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 120px;
  transition: all 0.3s ease;
}

/* Logo */
.footer-logo-box img {
  max-width: 105px;
  height: auto;
}

/* Hover efek */
.footer-logo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Informasi */
.footer-info h3 {
  margin: 0;
  font-size: 20px;
  color: #1f2937;
}

.footer-info span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.footer-info p {
  margin: 2px 0;
  font-size: 14px;
  color: #4b5563;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}