/* =====================================================
   BACKGROUND HALAMAN
   ===================================================== */
html, body {
    background-image: url("https://journal.uad.ac.id/public/site/images/lmuhammad/white-background-with-triangle-patterns-vector.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
}

/* =====================================================
   HEADER / SITE NAME
   ===================================================== */
.pkp_site_name {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pkp_site_name > a {
  padding-top: 0;
  padding-bottom: 0;
  width: 100% !important;
  display: block !important;
}
.pkp_site_name .is_img {
  display: block !important;
  width: 100% !important;
  line-height: 0;
  margin-bottom: 0 !important;
}
.pkp_site_name .is_img img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  margin-bottom: 0 !important;
}

.pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(to bottom, #0a1128, #1e3a8a, #2563eb) !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_head_wrapper {
  background: linear-gradient(to bottom, #0a1128, #1e3a8a, #2563eb) !important;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.pkp_structure_head {
  background-color: #ffffff;
  border-bottom: none !important;
}

.pkp_structure_page {
  background-color: #ffffff !important;
  background-image: repeating-linear-gradient(
    135deg,
    #ffffff 0px,
    #ffffff 10px,
    #eeeeee 10px,
    #eeeeee 11px
  ) !important;
  border: 1px solid #ccc !important;
  border-radius: 10px !important;
  margin: 20px auto !important;
  padding: 20px !important;
  max-width: 1200px !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
}

/* Tombol login/register di kanan atas */
.pkp_navigation_user_wrapper {
  position: absolute;
  top: -3px;
  right: -580px;
  background: transparent !important;
  padding: 5px 10px;
  border-radius: 20px;
  z-index: 99;
  display: flex;
  gap: 8px;
}
.pkp_navigation_user_wrapper a {
  background: #2563eb !important;
  border: 1px solid #2563eb !important;
  color: #ffffff !important;
  padding: 3px 12px !important;
  border-radius: 20px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: 0.3s;
}

.pkp_navigation_user_wrapper a:hover {
  background: #1e3a8a !important;
  color: #ffffff !important;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a {
  color: #ffffff !important;
}

/* =====================================================
   CUSTOM SIDEBAR MENU
   ===================================================== */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}
.menu-table th p {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: 0;
  border-radius: 5px 5px 0 0;
  border: 1px solid #ccc;
}
.menu-table td p {
  background-color: #eff6ff;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ccc;
  transition: background-color 0.3s;
}
.menu-table td p a {
  color: black;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.menu-table td p:hover {
  background-color: #dbeafe;
}
.menu-table td p i {
  color: #555;
  font-size: 14px;
}

.template-box {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
  background: #eff6ff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.template-box h3 {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  margin: 0;
  border-radius: 10px 10px 0 0;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
}
.template-box .template-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.template-box .template-content a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
}
.template-box .template-content a:hover {
  opacity: 0.8;
}
.template-box .template-content img {
  width: 80px;
  height: auto;
  margin-bottom: 8px;
}
.template-box .template-content span {
  display: block;
  font-weight: bold;
  color: #000;
  font-size: 14px;
}

/* =====================================================
   CUSTOM TOOLS MENU
   ===================================================== */
.tools-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 15px;
}
.tools-table th p {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: 0;
  border-radius: 5px 5px 0 0;
  border: 1px solid #ccc;
}
.tools-table td {
  background-color: #eff6ff;
  border: 1px solid #ccc;
  text-align: center;
  padding: 12px;
  transition: background-color 0.3s;
}
.tools-table td:hover {
  background-color: #dbeafe;
}
.tools-table td a {
  text-decoration: none;
  display: block;
}

/* Dipakai bersama oleh tools-table & indexing-table (tadinya double, sekarang 1x) */
.logo-box {
  width: 160px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =====================================================
   CUSTOM INDEXING MENU
   ===================================================== */
.indexing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  margin-top: 15px;
}
.indexing-table th p {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin: 0;
  border-radius: 5px 5px 0 0;
  border: 1px solid #ccc;
}
.indexing-table td {
  background-color: #eff6ff;
  border: 1px solid #ccc;
  text-align: center;
  padding: 12px;
  transition: background-color 0.3s;
}
.indexing-table td:hover {
  background-color: #dbeafe;
}
.indexing-table td a {
  text-decoration: none;
  display: block;
}

/* =====================================================
   CUSTOM CURRENT ISSUE
   ===================================================== */
.pkp_block.block_web_feed {
  width: 100%;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
  text-align: center;
}
.pkp_block.block_web_feed .title {
  background-color: #1e3a8a;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  margin: 0;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid #ddd;
  text-transform: uppercase;
}
.pkp_block.block_web_feed .content {
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.pkp_block.block_web_feed .content a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 42px;
  border: 1px solid #bfdbfe;
  border-radius: 5px;
  background: #fff;
  transition: background-color 0.3s, transform 0.3s;
  text-decoration: none;
}
.pkp_block.block_web_feed .content a:hover {
  background-color: #dbeafe;
  transform: scale(1.05);
}
.pkp_block.block_web_feed .content a img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =====================================================
   FOOTER
   ===================================================== */
.pkp_structure_footer_wrapper,
.pkp_structure_footer_wrapper .pkp_structure_footer,
.pkp_structure_footer_wrapper footer {
  background: #eff6ff !important;
}
.pkp_structure_footer_wrapper {
  padding: 0px 0;
  border-top: 3px solid #2563eb;
}

.custom-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.footer-top {
  margin-bottom: 0px;
}
.footer-logo img {
  max-height: 90px;
  margin-bottom: 10px;
}
.footer-top h3 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: bold;
}
.footer-top p {
  font-size: 14px;
  margin: 3px 0;
  line-height: 1.4;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  text-align: left;
}
.footer-left {
  flex: 1 1 55%;
  min-width: 260px;
}
.footer-left h4 {
  font-size: 15px;
  margin: 8px 0 4px;
}
.footer-left p, .footer-left a {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  line-height: 1.4;
}
.footer-left a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.footer-right iframe {
  width: 100%;
  height: 220px;
  border-radius: 6px;
}
.footer-bottom {
  margin-top: 15px;
  text-align: center;
}
.footer-bottom img {
  max-width: 100px;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-left, .footer-right {
    flex: 1 1 100%;
  }
}

.pkp_brand_footer {
  padding: 0 !important;
  margin: 0 !important;
}
.pkp_footer_content {
  padding: 0 !important;
  margin: 0 !important;
}

.pkp_structure_footer_wrapper .custom-footer::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: #2563eb;
  margin-top: 15px;
}

.pkp_structure_footer_wrapper img[src*="ojs_brand.png"] {
  display: none !important;
}

/* =====================================================
   ARTIKEL / ISSUE
   ===================================================== */
.obj_article_summary {
  background: #eff6ff;
  border-radius: 6px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid #bfdbfe;
  position: relative;
}
.obj_article_summary::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: #2563eb;
  margin-top: 12px;
  border-radius: 0 0 6px 6px;
}

@media (min-width: 768px) {
  .obj_issue_toc .galleys,
  .obj_issue_toc .section {
    margin: 20px 0 !important;
    padding: 0 !important;
  }
}

/* =====================================================
   NAVBAR (versi final gabungan — versi lama yang ketiban
   / ke-override sudah dihapus)
   ===================================================== */
.pkp_navigation_primary_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  background: #ffffff !important;
  float: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* CATATAN: file asli mengatur .pkp_navigation_primary_row jadi
   "display:flex" lalu di bagian bawah file di-override lagi
   menjadi "display:block". Karena instruksinya "yang bawah dipakai",
   nilai terakhir (display:block) yang dipertahankan di sini —
   tapi ini kemungkinan bug/tidak disengaja, cek lagi tampilannya. */
.pkp_navigation_primary_row {
  position: relative !important;
  display: block !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 58px !important;
  flex-wrap: nowrap !important;
}

#navigationPrimary,
.pkp_navigation_primary {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  list-style: none !important;
}

.pkp_navigation_primary > li {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pkp_navigation_primary > li > a {
  display: flex !important;
  align-items: center !important;
  min-height: 58px !important;
  padding: 0 16px !important;
  color: #555555 !important;
  background: transparent !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
}
.pkp_navigation_primary > li > a:hover {
  color: #ffffff !important;
  background: #2563eb !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Ikon menu */
.pkp_navigation_primary > li > a::before {
  font-family: "FontAwesome" !important;
  font-weight: normal !important;
  display: inline-block !important;
  margin-right: 8px !important;
  font-size: 14px !important;
}
.pkp_navigation_primary > li:nth-child(1) > a::before { content: "\f015" !important; } /* HOME */
.pkp_navigation_primary > li:nth-child(2) > a::before { content: "\f05a" !important; } /* ABOUT */
.pkp_navigation_primary > li:nth-child(3) > a::before { content: "\f0c0" !important; } /* EDITORIAL TEAM */
.pkp_navigation_primary > li:nth-child(4) > a::before { content: "\f1ea" !important; } /* PUBLICATION */
.pkp_navigation_primary > li:nth-child(5) > a::before { content: "\f095" !important; } /* CONTACT */
.pkp_navigation_primary > li:nth-child(6) > a::before { content: "\f2bd" !important; } /* SUBMISSIONS */

/* Tombol Submissions biru */
.pkp_navigation_primary > li:nth-child(6) > a {
  color: #ffffff !important;
  background: #2563eb !important;
  margin: 8px 5px !important;
  min-height: 42px !important;
  border-radius: 6px !important;
}
.pkp_navigation_primary > li:nth-child(6) > a::before {
  color: #ffffff !important;
}
.pkp_navigation_primary > li:nth-child(6) > a:hover {
  color: #ffffff !important;
  background: #1e3a8a !important;
}

/* Search di kanan navbar */
.pkp_navigation_search_wrapper {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 58px !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  z-index: 10 !important;
}
.pkp_navigation_search_wrapper .pkp_search,
.pkp_navigation_search_wrapper .pkp_search a {
  display: flex !important;
  align-items: center !important;
  height: 58px !important;
  gap: 6px !important;
  padding: 12px 20px !important;
  color: #2563eb !important;
  background: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.pkp_navigation_search_wrapper .pkp_search:hover {
  color: #ffffff !important;
  background: #2563eb !important;
}

/* Dropdown submenu (pakai versi final berbasis ID, versi lama
   yang sudah ke-override total sudah dihapus) */
#navigationPrimary > li {
  position: relative !important;
}
#navigationPrimary > li:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 10px;
  background: transparent;
  z-index: 9998;
}
#navigationPrimary > li > ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 230px !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 0 6px 6px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
  z-index: 99999 !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: none !important;
}
#navigationPrimary > li:hover > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}
#navigationPrimary > li:hover > ul:hover {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#navigationPrimary > li > ul > li {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}
#navigationPrimary > li > ul > li > a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 11px 18px !important;
  color: #555555 !important;
  background: #ffffff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
#navigationPrimary > li > ul > li > a:hover {
  color: #ffffff !important;
  background: #2563eb !important;
}
#navigationPrimary > li:has(> ul) > a {
  cursor: pointer !important;
}
#navigationPrimary > li:has(> ul) {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
.pkp_structure_main .page {
  background-color: #ffffff !important;
  background-image: none !important;
}