@import url('https://cdn.jsdelivr.net/npm/academicons@1.9.4/css/academicons.min.css');
@import url('https://cdn.jsdelivr.net/npm/ai-icon@latest/css/ai-icons.min.css');
@import url('https://cdn.jsdelivr.net/npm/ai-icons@latest/dist/ai-icons.min.css');
@import url('https://cdn.jsdelivr.net/gh/lipis/flag-icons@7.2.3/css/flag-icons.min.css');
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700|Noto+Serif:400,400i,700,700i");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css?v=3.2.0.3");

.pkp_site_name {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.pkp_site_name > a {
  padding-top: 0;
  padding-bottom: 0;
}
.pkp_site_name .is_img img {
  max-height: 200px !important;
}
.pkp_site_name_wrapper {
  padding-left: 0;
  padding-right: 0;
}
.pkp_navigation_user_wrapper {
  top: 0;
  right: 0;
  padding-right: 30px;
}
.pkp_structure_page {
  margin-top: 20px !important;
  margin-bottom: 20 !important;
  padding-bottom: 20 !important;
}
.pkp_structure_head {
  background: #1e6292;
}
.obj_article_details .abstract {
  text-align: justify;
  font-family: Verdana;
}
.pkp_footer_content {
  float: left;
  width: 80%;
  padding-top: 10px;
  padding-bottom:10px; 
}
.pkp_brand_footer {
  float: right;
  width: 123px;
  height: 80px;
  padding-bottom:10px;
  padding-top: 50px;
}
.pkp_structure_footer_wrapper {
  background: #ccffe8;
  border-bottom:@double solid;
  border-bottom-color:#2d771c;
}
.pkp_site_name .is_img img {
  display: inline-block;
  max-height: 100px;
  max-width: 100%;
  width: auto;
  height: auto:
}
body {
  height: 100%;
  background-image: url('');
  background-repeat: repeat;
  background-position: left top;
  font-family: Verdana;
  text-align: justify;
}
.pkp_structure_content {
  background: #fffff;
}
.pkp_structure_main .page h1 {
    margin-top: 0;
    text-align: left;
    line-height: 2.143rem;
    font-weight: 700;
}


/* ==============================
   ICONS â€” ADD TO BOTTOM
   ============================== */

/* --- shared FontAwesome pseudo-element base (keamanan agar mirip aturan di stylesheet) --- */
.obj_article_summary .meta .authors .consent::before,
section.item.authors ul.authors li .name::before,
section.item.authors ul.authors li .affiliation::before {
  display: inline-block;
  /* gunakan format font yang konsisten dengan stylesheet Nisbah */
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  margin-right: 0.45em;
  vertical-align: middle;
  color: inherit; /* ikonnya mengikuti warna teks */
}

/* --- A. ISSUE PAGE:
   target setiap block .consent (satu block = satu penulis) dan tampilkan ikon user di depannya.
   (HTML Issue: penulis berada di .authors > .consent). --- */
.obj_article_summary .meta .authors .consent::before {
  content: "\f0c0"; /* fa-users */
}

/* Jika ada kasus dimana authors di ISSUE adalah satu string (nama dipisah koma),
   CSS tidak bisa menambahkan 1 icon per nama â€” itu butuh JS atau pengubahan template. */

/* --- B. ARTICLE PAGE (detail):
   Nama penulis = .name, Afiliasi = .affiliation
   tampilkan ikon user untuk nama, dan ikon universitas untuk afiliasi. --- */
section.item.authors ul.authors li .name::before {
  content: "\f007"; /* fa-user */
}

section.item.authors ul.authors li .affiliation::before {
  content: "\f19c"; /* fa-university */
}

/* --- C. Spacing / rapi sedikit --- */
.obj_article_summary .meta .authors .consent,
section.item.authors ul.authors li {
  /* Pastikan setiap penulis/entry terlihat block/terpisah */
  display: block;
  margin-bottom: 4px;
}

/* --- D. Responsif (opsional kecil) --- */
@media (max-width: 480px) {
  .obj_article_summary .meta .authors .consent,
  section.item.authors ul.authors li .name,
  section.item.authors ul.authors li .affiliation {
    font-size: 0.98em;
  }
}

/* --- Bendera --- */
.fi {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  width: 20px;    
  height: 14px;   
  border-radius: 3px; 
}


.article-doi-inline a:hover {
  text-decoration: underline;
  color: #0073aa;
}

/* === Responsif: DOI pindah ke bawah saat layar kecil === */
@media (max-width: 700px) {
  .galley-doi-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-doi-inline {
    margin-left: 0;
    margin-top: 4px;
  }
}

/* === Hover Custom Blok Tabel === */

/* Target hanya baris dengan latar #2d771c */
table.hover td[style*="#2d771c"] {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.9s ease;
}

/* Efek gradasi animasi kiri â†’ kanan */
table.hover td[style*="#2d771c"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 191, 255, 0.3),
    rgba(72, 202, 228, 0.5)
  );
  transition: all 0.9s ease;
  z-index: 0;
}

/* Saat hover, gradasi masuk ke dalam */
table.hover td[style*="#2d771c"]:hover::before {
  left: 0;
}

/* Warna teks berubah jadi putih bersih saat hover */
table.hover td[style*="#2d771c"]:hover span,
table.hover td[style*="#2d771c"]:hover a {
  color: #ffffff !important;
  position: relative;
  z-index: 1;
}

/* Efek hover khusus untuk blok dengan class submit-btn */
td.submit-btn {
  position: relative;
  overflow: hidden;
  background-color: #ff8c00; /* warna dasar oranye */
  transition: background 0.4s ease;
}

/* Gradasi menyapu dari kiri ke kanan */
td.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ff8c00, #ffb84d);
  transition: left 0.4s ease;
  z-index: 0;
}

/* Saat hover, gradasi bergerak masuk */
td.submit-btn:hover::before {
  left: 0;
}

/* Warna teks tetap putih, dan di atas lapisan hover */
td.submit-btn a span {
  position: relative;
  z-index: 1;
  color: #ffffff !important;
  font-weight: bold;
}

/* Tambahan: efek glow lembut saat hover */
td.submit-btn:hover {
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.5);
}


/* Logo DOI */

.article-doi-inline a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #5379a9;
    font-size: 13px;
    padding-left: 19px;
    background: url('/public/site/images/adminejournal/doi.png') no-repeat left center;
    background-size: 14px 14px;
}
