@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Sora:wght@600;700&display=swap');

/* =====================================================================
   JAVA — Portal editorial (submission3-journal.ipb.ac.id/java)
   Stylesheet sederhana: tanpa banner, tanpa sidebar, satu kolom.
   Warna & huruf sama dengan portal utama (java-theme.css).

   PASANG: Settings > Website > Appearance > Advanced > Journal style sheet

    0. Warna & huruf     3. Konten
    1. Dasar             4. Login / registrasi
    2. Header & menu     5. Footer
                         6. Ponsel
   ===================================================================== */


/* ---------- 0. WARNA & HURUF ---------------------------------------- */
:root {
  --navy-900: #0a1f3a;
  --navy:     #0f2d52;
  --teal:     #0aa3a3;
  --teal-d:   #076f75;
  --teal-600: #0a7d83;
  --teal-l:   #8fe0dc;
  --orange:   #ee7a32;
  --grad:     linear-gradient(120deg, var(--navy) 0%, #114f74 55%, var(--teal-600) 100%);
  --grad-line: linear-gradient(90deg, var(--navy) 0%, var(--teal) 75%, var(--orange) 100%);

  --c-head:   #0f2d52;
  --c-text:   #2b3648;
  --c-muted:  #566377;
  --c-line:   #e1e7ee;
  --c-tint:   #eef7f7;
  --c-bg:     #f2f5f8;

  --font:     'Plus Jakarta Sans', 'Segoe UI', Roboto, Arial, sans-serif;
  --display:  'Sora', 'Plus Jakarta Sans', sans-serif;
  --max:      960px;
  --ease:     cubic-bezier(.22, .8, .24, 1);
  --t:        .3s var(--ease);
}


/* ---------- 1. DASAR ------------------------------------------------- */
/* "html body" mengalahkan latar gambar dari stylesheet situs IPB */
html { background: var(--c-bg); }
html body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
.pkp_structure_page { background: transparent; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--navy); }
h1, h2, h3, h4 { color: var(--c-head); font-family: var(--display) !important; letter-spacing: -.01em; }

/* Clearfix bawaan tema tidak boleh mengganggu flex */
.pkp_navigation_primary_wrapper::before, .pkp_navigation_primary_wrapper::after,
.pkp_navigation_primary::before, .pkp_navigation_primary::after,
.pkp_navigation_user::before, .pkp_navigation_user::after,
.pkp_structure_main::before, .pkp_structure_main::after { display: none; }


/* ---------- 2. HEADER & MENU ---------------------------------------- */
/* Pita dongker 64px (nama jurnal + login), lalu baris menu putih */
.pkp_structure_head {
  background: linear-gradient(var(--navy), var(--navy)) top / 100% 64px no-repeat, #fff;
  border: 0;
  box-shadow: 0 1px 0 var(--c-line);
}
.pkp_structure_head::after { content: ""; display: block; height: 3px; background: var(--grad-line); }

.pkp_head_wrapper {
  position: relative;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 0;
}
.pkp_site_name_wrapper { width: auto; height: auto; margin: 0; padding: 0; position: static; }
.pkp_site_name {
  position: absolute;
  top: 0; left: 24px; right: auto;
  height: 64px;
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
}
.pkp_site_name .is_text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}
.pkp_site_name .is_text::after {            /* label kecil penanda portal editorial */
  content: "Editorial System";
  padding: 2px 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-l);
  border: 1px solid rgba(143, 224, 220, .5);
  border-radius: 999px;
}
.pkp_site_name .is_img img { max-height: 44px; width: auto; }

/* Login / Register / akun di kanan pita */
.pkp_navigation_user_wrapper {
  position: absolute;
  top: 0; left: auto; right: 24px;
  transform: none;
  height: 64px;
  width: auto;
  padding: 0;
  display: flex;
  align-items: center;
}
.pkp_navigation_user { display: flex; gap: 8px; width: auto; margin: 0; padding: 0; }
.pkp_navigation_user > li { margin: 0; }
.pkp_navigation_user > li > a,
.pkp_navigation_user > li:last-child > a {
  display: inline-block;
  margin: 0;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  transition: background-color var(--t), color var(--t);
}
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus { color: var(--navy); background: #fff; }
.pkp_navigation_user ul { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; box-shadow: 0 12px 28px -12px rgba(15, 45, 82, .35); }
.pkp_navigation_user ul a { color: var(--c-text); }

/* Menu utama: teks sederhana dengan garis bawah saat aktif/hover */
.pkp_site_nav_menu { padding: 0; background: transparent; }
.pkp_navigation_primary_row { margin: 0; padding: 0; background: transparent; border: 0; }
.pkp_navigation_primary_wrapper {
  display: flex;
  align-items: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
.pkp_navigation_primary { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
.pkp_site_nav_menu .pkp_navigation_primary { margin: 0 0 0 -14px; }   /* teks menu sejajar nama jurnal */
.pkp_navigation_primary > li { margin: 0; padding: 0; position: relative; }
.pkp_navigation_primary > li > a,
.pkp_navigation_primary > li:first-child > a {
  display: block;
  margin: 0;
  padding: 16px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t), border-color var(--t);
}
.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li > a:focus,
.pkp_navigation_primary > li.current > a { color: var(--teal-d); background: none; border-bottom-color: var(--teal); }
.pkp_navigation_primary ul {
  padding: 6px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  box-shadow: 0 12px 28px -12px rgba(15, 45, 82, .35);
}
.pkp_navigation_primary ul a { display: block; padding: 8px 12px; font-size: 14px; color: var(--c-text); border: 0; border-radius: 6px; }
.pkp_navigation_primary ul a:hover { color: var(--teal-d); background: var(--c-tint); border: 0; }

/* Pencarian di portal editorial tidak berguna (artikel terbit di portal utama) */
.pkp_navigation_search_wrapper,
.pkp_search_mobile { display: none; }


/* ---------- 3. KONTEN ----------------------------------------------- */
.pkp_structure_content {
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.pkp_structure_main,
.pkp_structure_main:first-child:last-child {
  float: none;
  width: auto;
  margin: 0;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 45, 82, .04), 0 8px 24px -12px rgba(15, 45, 82, .12);
}
.pkp_structure_main h1,
.pkp_structure_main .page_title { margin: 0 0 20px; font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.pkp_structure_main h2 { margin: 32px 0 12px; font-size: 20px; font-weight: 700; }
.pkp_structure_main h3 { margin: 24px 0 8px; font-size: 16px; font-weight: 700; }
.pkp_structure_main p,
.pkp_structure_main ul,
.pkp_structure_main ol { margin: 0 0 1em; line-height: 1.75; }

/* Breadcrumb */
.cmp_breadcrumbs { margin: 0 0 12px; }
.cmp_breadcrumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; font-size: 13px; }
.cmp_breadcrumbs li { color: var(--c-muted); }
.cmp_breadcrumbs a { color: var(--c-muted); font-weight: 600; text-decoration: none; }
.cmp_breadcrumbs .separator { padding: 0 8px; color: #b6c0cc; }

/* Beranda: ringkasan jurnal */
.page_index_journal .homepage_about { margin: 0; padding: 0; border: 0; }
.page_index_journal .homepage_about h2 { margin-top: 0; }

/* Beranda portal editorial (isi: java-backend-home.html di Additional Content)
   Efek: gradasi bergerak, cahaya mengambang, gelombang, muncul bertahap,
   kartu dengan bingkai gradasi, alur bergaris progres, sampul 3D berkilau. */
@keyframes jbRise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes jbFlow  { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes jbFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 20px) scale(1.1); } }
@keyframes jbWave  { from { background-position-x: 0; } to { background-position-x: 600px; } }
@keyframes jbShine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes jbPulse { 0% { box-shadow: 0 0 0 0 rgba(10, 163, 163, .45); } 100% { box-shadow: 0 0 0 12px rgba(10, 163, 163, 0); } }

.page_index_journal .additional_content { margin: 0; padding: 0; border: 0; }
.jb-home h2, .jb-home h3 { margin-top: 0; }
.jb-eyebrow {
  margin: 0 0 6px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-d);
}

/* --- Banner sambutan --- */
.jb-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  column-gap: 44px;
  align-items: center;
  margin: -36px -40px 36px;
  padding: 44px 44px 64px;
  color: #e3ecf5;
  background: linear-gradient(120deg, var(--navy-900), var(--navy), #11557a, #0b5d6e, var(--navy));
  background-size: 300% 300%;
  border-radius: 14px 14px 0 0;
  animation: jbFlow 18s ease-in-out infinite;
}
.jb-hero::before {                            /* cahaya teal mengambang */
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10, 163, 163, .55), transparent 65%);
  filter: blur(10px);
  animation: jbFloat 12s ease-in-out infinite;
}
.jb-hero::after {                             /* gelombang air bergerak di bawah */
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: 0;
  height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 35c100-30 200 30 300 0s200-30 300 0v35H0z' fill='%23ffffff' fill-opacity='.06'/%3E%3Cpath d='M0 50c100-22 200 22 300 0s200-22 300 0v20H0z' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E") repeat-x bottom / 600px 70px;
  animation: jbWave 14s linear infinite;
}
.jb-hero-text > * { animation: jbRise .8s var(--ease) both; }
.jb-hero-text > :nth-child(2) { animation-delay: .1s; }
.jb-hero-text > :nth-child(3) { animation-delay: .2s; }
.jb-hero-text > :nth-child(4) { animation-delay: .3s; }
.jb-hero .jb-eyebrow { color: var(--teal-l); }
.jb-hero h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(90deg, #fff 40%, var(--teal-l));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.jb-hero p { max-width: 58ch; }

/* Sampul terbitan terbaru di banner: miring 3D, mengambang, tegak saat hover */
@keyframes jbBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.jb-hero-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  perspective: 900px;
  animation: jbRise .9s var(--ease) .35s both;
}
.jb-hero-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  transform: rotateY(-18deg) rotateX(3deg);
  transform-origin: right center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 18px 30px -10px rgba(0, 0, 0, .55), 0 40px 60px -24px rgba(0, 0, 0, .6);
  animation: jbBob 6s ease-in-out 1.2s infinite;
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.jb-hero-cover:hover img { transform: rotateY(-3deg) scale(1.03); box-shadow: 0 2px 4px rgba(0, 0, 0, .25), 0 26px 44px -12px rgba(0, 0, 0, .6), 0 56px 80px -28px rgba(0, 0, 0, .65); }
.jb-hero-cap { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; line-height: 1.4; text-align: center; color: var(--c-on-dark, #c2d1de); }
.jb-hero-cap strong { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-l); }
.jb-hero-cover:hover .jb-hero-cap { color: #fff; }

/* Sudah login: tombol Login / Register disembunyikan */
body:has(a[href*="/login/signOut"]) .jb-btn-login { display: none; }
.jb-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0 !important; }

/* --- Tombol --- */
.jb-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t), background-color var(--t), color var(--t);
}
.jb-btn::after {                              /* panah yang meluncur saat hover */
  content: "\f061";
  font-family: FontAwesome;
  font-size: 12px;
  transition: transform var(--t);
}
.jb-btn:hover, .jb-btn:focus-visible { color: var(--navy); border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(15, 45, 82, .55); }
.jb-btn:hover::after { transform: translateX(4px); }
.jb-hero .jb-btn { color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.jb-hero .jb-btn:hover { color: var(--navy); background: #fff; border-color: #fff; }
.jb-hero .jb-btn-primary,
.jb-hero .jb-btn-primary:hover { color: var(--navy-900); background: var(--teal-l); border-color: var(--teal-l); box-shadow: 0 10px 26px -10px rgba(143, 224, 220, .8); }
.jb-hero .jb-btn-primary::before {           /* kilau berkala pada tombol utama */
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  animation: jbShine 4s ease-in-out infinite;
}

/* --- Kartu pintasan --- */
.jb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 40px; }
.jb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  color: var(--c-text);
  text-decoration: none;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--c-line), var(--c-line)) border-box;
  border: 1.5px solid transparent;
  border-radius: 14px;
  animation: jbRise .8s var(--ease) both;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .45s var(--ease);
}
.jb-card:nth-child(2) { animation-delay: .12s; }
.jb-card:nth-child(3) { animation-delay: .24s; }
.jb-card::before {                            /* ikon dalam lingkaran */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin: 0 0 6px;
  font-family: FontAwesome;
  font-size: 19px;
  color: var(--teal-d);
  background: var(--c-tint);
  border-radius: 12px;
  transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease);
}
.jb-card-guide::before { content: "\f15c"; }
.jb-card-track::before { content: "\f0ae"; }
.jb-card-read::before  { content: "\f02d"; }
.jb-card::after {                             /* panah muncul di pojok saat hover */
  content: "\f061";
  position: absolute;
  top: 24px; right: 22px;
  font-family: FontAwesome;
  font-size: 14px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.jb-card strong { font-family: var(--display); font-size: 16px; color: var(--navy); }
.jb-card span { font-size: 14px; line-height: 1.6; color: var(--c-muted); }
.jb-card:hover,
.jb-card:focus-visible {
  color: var(--c-text);
  transform: translateY(-6px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--teal), var(--navy), var(--orange)) border-box;
  box-shadow: 0 22px 40px -22px rgba(15, 45, 82, .55);
}
.jb-card:hover::before { color: #fff; background: var(--grad); transform: rotate(-8deg) scale(1.08); }
.jb-card:hover::after { opacity: 1; transform: none; }

/* --- Alur naskah dengan garis progres --- */
.jb-home h3 { margin: 0 0 18px; font-size: 18px; }
.jb-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 40px;
  padding: 0;
  list-style: none;
  counter-reset: jb;
}
.jb-steps::before {                           /* garis penghubung di belakang nomor */
  content: "";
  position: absolute;
  z-index: 0;
  top: 31px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--teal), var(--orange));
  opacity: .35;
}
.jb-steps li {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px 16px;
  text-align: center;
  background: transparent;
  border-radius: 12px;
  counter-increment: jb;
  animation: jbRise .8s var(--ease) both;
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.jb-steps li:nth-child(2) { animation-delay: .08s; }
.jb-steps li:nth-child(3) { animation-delay: .16s; }
.jb-steps li:nth-child(4) { animation-delay: .24s; }
.jb-steps li:nth-child(5) { animation-delay: .32s; }
.jb-steps li::before {
  content: counter(jb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px -4px rgba(15, 45, 82, .6);
  transition: transform .35s var(--ease);
}
.jb-steps li:hover { background: var(--c-tint); transform: translateY(-3px); }
.jb-steps li:hover::before { transform: scale(1.12); animation: jbPulse 1.2s ease-out infinite; }
.jb-steps strong { font-size: 14px; color: var(--navy); }
.jb-steps span { font-size: 12.5px; line-height: 1.5; color: var(--c-muted); }

.jb-contact { margin: 0 !important; font-size: 14px; color: var(--c-muted); text-align: center; }

/* Hormati pengguna yang mematikan animasi */
@media (prefers-reduced-motion: reduce) {
  .jb-hero, .jb-hero::before, .jb-hero::after, .jb-hero-text > *, .jb-hero-cover, .jb-hero-cover img, .jb-card, .jb-steps li,
  .jb-hero .jb-btn-primary::before, .jb-steps li:hover::before, .jb-btn-primary::before,
  .jb-howto li:hover::before, .page_submissions > h1, .page_submissions > h1::before,
  .page_submissions > h1::after, .page_submissions .cmp_notification,
  .page_submissions .author_guidelines, .page_submissions .submission_checklist,
  .page_submissions .section_policy, .page_submissions .privacy_statement,
  .pkp_page_login .pkp_structure_main, .pkp_page_login .pkp_structure_main::before,
  .pkp_page_login .pkp_structure_main::after, .pkp_op_register .pkp_structure_main,
  .pkp_op_register .pkp_structure_main::before, .pkp_op_register .pkp_structure_main::after,
  .cmp_form .buttons button:hover::before { animation: none !important; }
}

/* Pengaman: jika beranda benar-benar kosong, tampilkan sambutan singkat */
.page_index_journal:not(:has(*))::before {
  content: "Welcome to the JAVA Editorial System. Please log in or register to submit and track your manuscript.";
  display: block;
  font-size: 16px;
  color: var(--c-muted);
  text-align: center;
}

/* Pemberitahuan umum */
.cmp_notification {
  padding: 14px 18px;
  color: var(--c-text);
  background: var(--c-tint);
  border: 0;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
}

/* Tombol primer di luar banner (gradasi dongker-teal) */
.jb-btn-primary,
.jb-btn-primary:hover,
.jb-btn-primary:focus-visible {
  color: #fff;
  background: var(--grad) border-box;
  background-size: 200% 100%;
  border-color: transparent;
}
.jb-btn-primary:hover { color: #fff; background-position: 100% 0; }
.jb-btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: jbShine 4s ease-in-out infinite;
}


/* ---------- 3b. HALAMAN SUBMISSIONS (/about/submissions) ------------ */
/* Judul menjadi banner bergradasi seperti beranda */
.page_submissions .cmp_breadcrumbs { display: none; }
.pkp_structure_main .page_submissions > h1 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: -36px -40px 28px;
  padding: 44px 40px 0;
  font-size: 32px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy), #11557a, #0b5d6e, var(--navy));
  background-size: 300% 300%;
  border-radius: 14px 14px 0 0;
  animation: jbFlow 18s ease-in-out infinite;
}
.page_submissions > h1::before {             /* cahaya teal mengambang */
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(10, 163, 163, .55), transparent 65%);
  animation: jbFloat 12s ease-in-out infinite;
}
.page_submissions > h1::after {              /* subjudul + gelombang bergerak */
  content: "Prepare, submit, and track your manuscript in a few simple steps.";
  display: block;
  margin: 10px -40px 0;
  padding: 0 40px 64px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  color: #c2d1de;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 35c100-30 200 30 300 0s200-30 300 0v35H0z' fill='%23ffffff' fill-opacity='.06'/%3E%3Cpath d='M0 50c100-22 200 22 300 0s200-22 300 0v20H0z' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E") repeat-x bottom / 600px 70px;
  animation: jbWave 14s linear infinite;
}

/* Ajakan Login / Register (atau "Make a new submission" saat sudah masuk) */
.page_submissions .cmp_notification {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--navy);
  background: linear-gradient(135deg, #fff, var(--c-tint));
  border: 1px solid var(--c-line);
  border-radius: 14px;
  animation: jbRise .7s var(--ease) both;
}
.page_submissions .cmp_notification::before {
  content: "\f1d8";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-right: 4px;
  font-family: FontAwesome;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  background: var(--grad);
  border-radius: 12px;
}
.page_submissions .cmp_notification a {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t), background-position .5s var(--ease);
}
.page_submissions .cmp_notification a:first-child {
  color: #fff;
  background: var(--grad) border-box;
  background-size: 200% 100%;
  border-color: transparent;
}
.page_submissions .cmp_notification a:hover,
.page_submissions .cmp_notification a:focus-visible {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(15, 45, 82, .55);
}
.page_submissions .cmp_notification a:first-child:hover { color: #fff; border-color: transparent; background-position: 100% 0; }

/* Judul tiap bagian dengan ikon */
.page_submissions h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 16px;
  font-size: 20px;
}
.page_submissions h2::before {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-family: FontAwesome;
  font-size: 16px;
  font-weight: 400;
  color: var(--teal-d);
  background: var(--c-tint);
  border-radius: 10px;
}
.page_submissions .author_guidelines h2::before    { content: "\f02d"; }
.page_submissions .submission_checklist h2::before { content: "\f046"; }
.page_submissions .section_policy h2::before       { content: "\f0f6"; }
.page_submissions .privacy_statement h2::before    { content: "\f132"; }
.page_submissions .author_guidelines,
.page_submissions .submission_checklist,
.page_submissions .section_policy,
.page_submissions .privacy_statement { animation: jbRise .8s var(--ease) both; }
.page_submissions .submission_checklist { animation-delay: .1s; }

/* Isi Author Guidelines (java-backend-submissions.html) */
.jb-lead { font-size: 17px; }
.jb-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px !important; padding: 0; list-style: none; }
.jb-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-d);
  background: var(--c-tint);
  border: 1px solid rgba(10, 163, 163, .25);
  border-radius: 999px;
  transition: background-color var(--t), color var(--t), transform var(--t);
}
.jb-facts li::before { font-family: FontAwesome; font-weight: 400; }
.jb-facts li:hover { color: #fff; background: var(--teal-600); transform: translateY(-2px); }
.jb-fact-free::before  { content: "\f06b"; }
.jb-fact-blind::before { content: "\f070"; }
.jb-fact-check::before { content: "\f002"; }
.jb-fact-open::before  { content: "\f09c"; }
.jb-sub .jb-cards { margin-bottom: 36px; }
.jb-card-template::before { content: "\f1c2"; }
.jb-card-form::before     { content: "\f044"; }

/* Cara submit: linimasa vertikal */
.jb-howto { position: relative; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: hw; }
.jb-howto::before {
  content: "";
  position: absolute;
  top: 24px; bottom: 24px; left: 19px;
  width: 2px;
  background: linear-gradient(var(--navy), var(--teal), var(--orange));
  opacity: .4;
}
.jb-howto li {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 18px;
  margin: 0 0 10px;
  padding: 0;
  counter-increment: hw;
}
.jb-howto li::before {
  content: counter(hw);
  grid-row: 1 / span 2;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px -4px rgba(15, 45, 82, .6);
  transition: transform .35s var(--ease);
}
.jb-howto strong,
.jb-howto span {
  grid-column: 2;
  padding: 0 18px;
  background: #fff;
  border: 1px solid var(--c-line);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.jb-howto strong { padding-top: 14px; font-family: var(--display); font-size: 15px; color: var(--navy); border-bottom: 0; border-radius: 12px 12px 0 0; }
.jb-howto span   { padding-bottom: 14px; font-size: 14px; line-height: 1.6; color: var(--c-muted); border-top: 0; border-radius: 0 0 12px 12px; }
.jb-howto li:hover strong,
.jb-howto li:hover span { background: var(--c-tint); border-color: rgba(10, 163, 163, .45); transform: translateX(4px); }
.jb-howto li:hover::before { transform: scale(1.1); animation: jbPulse 1.2s ease-out infinite; }
.jb-sub .jb-actions { margin: 0 0 8px !important; }

/* Checklist: kartu bernomor, angka berubah jadi centang saat disorot */
.page_submissions .submission_checklist ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: ck; }
.page_submissions .submission_checklist li {
  position: relative;
  min-height: 52px;
  padding: 13px 18px 13px 60px;
  font-size: 15px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  counter-increment: ck;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.page_submissions .submission_checklist li::before {
  content: counter(ck);
  position: absolute;
  left: 14px; top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-d);
  background: var(--c-tint);
  border-radius: 50%;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.page_submissions .submission_checklist li:hover {
  border-color: var(--teal);
  transform: translateX(4px);
  box-shadow: 0 12px 24px -16px rgba(15, 45, 82, .5);
}
.page_submissions .submission_checklist li:hover::before { content: "\f00c"; font-family: FontAwesome; font-weight: 400; color: #fff; background: var(--teal-600); }

/* Kebijakan bagian & privasi: kartu lembut */
.page_submissions .section_policy,
.page_submissions .privacy_statement {
  margin: 32px 0 0;
  padding: 4px 24px 20px;
  font-size: 15px;
  color: var(--c-muted);
  background: var(--c-bg);
  border-radius: 14px;
}
.page_submissions .section_policy h2,
.page_submissions .privacy_statement h2 { margin: 20px 0 10px; font-size: 17px; }
.page_submissions .section_policy h2::before,
.page_submissions .privacy_statement h2::before { width: 32px; height: 32px; font-size: 14px; background: #fff; }
.page_submissions .privacy_statement p:last-child { margin: 0; }

/* Formulir umum */
.pkp_structure_main input[type="text"],
.pkp_structure_main input[type="email"],
.pkp_structure_main input[type="password"],
.pkp_structure_main input[type="url"],
.pkp_structure_main input[type="tel"],
.pkp_structure_main select,
.pkp_structure_main textarea {
  width: 100%;
  max-width: 100%;
  padding: 11px 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--c-text);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  transition: border-color var(--t), box-shadow var(--t);
}
.pkp_structure_main input:focus,
.pkp_structure_main select:focus,
.pkp_structure_main textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(10, 163, 163, .14);
}
.cmp_form .label,
.cmp_form legend { font-size: 14px; font-weight: 600; color: var(--c-head); }
.cmp_form .required { color: #c0392b; }
.cmp_form fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.cmp_form .fields > div { margin: 0 0 16px; }

/* Tombol */
.cmp_form .buttons button,
.cmp_button,
.pkp_button,
button.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  background-size: 200% 100%;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  transition: background-position .5s var(--ease), box-shadow var(--t);
}
.cmp_form .buttons button:hover,
.cmp_button:hover,
.pkp_button:hover,
button.submit:hover { color: #fff; background-position: 100% 0; box-shadow: 0 8px 18px -8px rgba(15, 45, 82, .55); }
.cmp_form .buttons a { margin-left: 12px; font-size: 14px; font-weight: 600; }


/* ---------- 4. LOGIN / REGISTRASI ----------------------------------- */
/* Kartu dua kolom: panel sambutan bergerak (kiri) + formulir (kanan) */
.pkp_page_login .pkp_structure_main,
.pkp_op_register .pkp_structure_main,
.pkp_page_login .pkp_structure_main:first-child:last-child,
.pkp_op_register .pkp_structure_main:first-child:last-child {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  animation: jbRise .7s var(--ease) both;
}
.pkp_page_login #pkp_content_main,
.pkp_op_register #pkp_content_main { position: absolute; }
.pkp_page_login .pkp_structure_main::before,
.pkp_op_register .pkp_structure_main::before {
  content: "Welcome to the\A JAVA Editorial System";
  display: block;
  position: static;
  width: auto;
  height: auto;
  grid-column: 1;
  white-space: pre-line;
  padding: 48px 40px 260px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  background:
    radial-gradient(circle at 85% 8%, rgba(10, 163, 163, .5), transparent 42%),
    linear-gradient(140deg, var(--navy-900), var(--navy), #11557a, #0b5d6e, var(--navy));
  background-size: 100% 100%, 300% 300%;
  animation: jbFlow 18s ease-in-out infinite;
}
.pkp_page_login .pkp_structure_main::after,
.pkp_op_register .pkp_structure_main::after {
  content: "Submit your manuscript, follow its double-blind review, and manage revisions in one place.\A\A\2713   Free submission and publication\A\2713   Sign in with ORCID or Google\A\2713   Track every step online";
  display: block;
  position: absolute;
  top: auto; bottom: 0;
  left: 0 !important; right: auto !important;   /* tema memakai left:305px untuk garis sidebar */
  width: 50%;
  height: auto;
  padding: 0 40px 96px;
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.7;
  color: #c2d1de;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 70' preserveAspectRatio='none'%3E%3Cpath d='M0 35c100-30 200 30 300 0s200-30 300 0v35H0z' fill='%23ffffff' fill-opacity='.06'/%3E%3Cpath d='M0 50c100-22 200 22 300 0s200-22 300 0v20H0z' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E") repeat-x bottom / 600px 70px;
  animation: jbWave 14s linear infinite;
}
.pkp_page_login .pkp_structure_main > .page,
.pkp_op_register .pkp_structure_main > .page { grid-column: 2; padding: 44px 44px 40px; }
.page_openid_login .cmp_breadcrumbs { display: none; }
.page_openid_login h1 { margin: 0 0 4px; font-size: 26px; }

/* Ikon di dalam kolom username & password */
.page_openid_login .cmp_form .username input,
.page_openid_login .cmp_form .password input {
  padding-left: 44px;
  background: #fff no-repeat 15px 50% / 17px 17px;
}
.page_openid_login .cmp_form .username input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566377' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
}
.page_openid_login .cmp_form .password input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566377' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}
.page_openid_login .cmp_form input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--teal-600); }

/* Kilau pada tombol Login saat disorot */
.cmp_form .buttons button { position: relative; overflow: hidden; }
.cmp_form .buttons button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-120%) skewX(-20deg);
}
.cmp_form .buttons button:hover::before { animation: jbShine 1.2s ease-out; }

#openid-provider-list { width: auto; margin: 0; padding: 0; }
#openid-provider-list li { margin: 0 0 12px; list-style: none; }
#openid-provider-list li.margin-top-30 {
  margin: 24px 0 12px;
  font-size: 13px;
  color: var(--c-muted);
  text-align: center;
}
#openid-provider-list li.margin-top-30:first-child { margin-top: 0; text-align: left; }
#openid-provider-list li.margin-top-30 strong { font-weight: 600; }
#openid-provider-list li:nth-child(3) {               /* garis pemisah "atau" sebelum ORCID/Google */
  display: flex;
  align-items: center;
  gap: 12px;
}
#openid-provider-list li:nth-child(3)::before,
#openid-provider-list li:nth-child(3)::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }

.page_openid_login .page_login { padding: 0; box-shadow: none; border: 0; }
.page_openid_login .cmp_form.login { width: auto; max-width: none; }   /* tema membatasi formulir 272px */
.page_openid_login .cmp_form .password a { display: inline-block; margin-top: 6px; font-size: 13px; }
.page_openid_login .cmp_form .remember label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.page_openid_login .cmp_form .buttons { margin: 8px 0 0; }
.page_openid_login .cmp_form .buttons button { width: 100%; }

/* Tombol ORCID / Google */
#openid-provider-list li:not([class="page_login"]) a { display: block; text-decoration: none; }
#openid-provider-list li:not([class="page_login"]) a > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 46px;
  max-height: none;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  box-shadow: none;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
#openid-provider-list li:not([class="page_login"]) a > div:hover {
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(120deg, var(--teal), var(--navy), var(--orange)) border-box;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(15, 45, 82, .55);
}
#openid-provider-list li:not([class="page_login"]) a img { margin: 0; max-height: 22px; max-width: 22px; }
#openid-provider-list li:not([class="page_login"]) a > div > span { position: static; }


/* ---------- 5. FOOTER ----------------------------------------------- */
.pkp_structure_footer_wrapper {
  background: var(--navy);
  border: 0;
  border-top: 3px solid var(--teal);
}
.pkp_structure_footer {
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px;
  color: #c2d1de;
  font-size: 13px;
}
.pkp_footer_content { padding: 0; }
.pkp_footer_content a { color: #fff; }
.pkp_brand_footer { padding: 0; text-align: right; }
.pkp_brand_footer img { max-width: 110px; opacity: .55; filter: brightness(0) invert(1); }

/* Jika footer JAVA (java-footer.html) ikut dipasang: versi ringkas tanpa gelombang */
.java-footer { color: #c2d1de; }
.java-footer .footer-top,
.java-footer .footer-divider { display: none; }
.java-footer .footer-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 8px 0 16px; }
.java-footer .footer-box { margin: 0; padding: 0; list-style: none; }
.java-footer .footer-box li { margin: 0 0 6px; font-size: 13px; }
.java-footer .box-title { margin: 0 0 10px !important; font-size: 13px !important; font-weight: 700; color: #fff; }
.java-footer .footer-box a { color: #c2d1de; text-decoration: none; }
.java-footer .footer-box a:hover { color: #fff; }
.java-footer .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.java-footer .footer-bottom a { color: #fff; text-decoration: none; }


/* ---------- 6. PONSEL ----------------------------------------------- */
@media (max-width: 991px) {
  .pkp_structure_head { background: var(--navy); }
  .pkp_head_wrapper { padding: 0 16px; min-height: 56px; }
  .pkp_site_name { position: static; height: 56px; padding: 0 48px 0 0; }
  .pkp_site_name .is_text { font-size: 0; gap: 10px; }        /* nama panjang diringkas jadi "JAVA" */
  .pkp_site_name .is_text::before { content: "JAVA"; font-size: 18px; letter-spacing: .06em; }
  .pkp_site_name .is_text::after { font-size: 10px; padding: 1px 8px; }
  .pkp_site_nav_toggle {
    position: absolute;
    top: 9px; right: 12px; left: auto;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
  }
  .pkp_site_nav_menu { background: var(--navy); padding: 8px 16px 20px; }
  .pkp_navigation_primary,
  .pkp_site_nav_menu .pkp_navigation_primary { display: block; margin: 0; }
  .pkp_navigation_primary > li > a,
  .pkp_navigation_primary > li:first-child > a { padding: 12px 4px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .pkp_navigation_primary ul { position: static; padding: 0 0 0 16px; background: none; border: 0; box-shadow: none; }
  .pkp_navigation_primary ul a { color: #c2d1de; }
  .pkp_navigation_user_wrapper { position: static; height: auto; margin: 12px 0 0; }
  .pkp_navigation_user,
  .pkp_navigation_user.pkp_navigation_user { width: 100%; justify-content: flex-start; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .15); }

  .pkp_structure_content { padding: 20px 16px 48px; }
  .pkp_structure_main,
  .pkp_structure_main:first-child:last-child { padding: 24px 20px; }
  .pkp_structure_main h1 { font-size: 24px; }
  .jb-hero { grid-template-columns: minmax(0, 1fr); row-gap: 28px; margin: -24px -20px 24px; padding: 32px 20px 56px; }
  .jb-hero-cover { width: 170px; margin: 0 auto; }
  .jb-hero-cover img { transform: rotateY(-10deg); transform-origin: center; }
  .jb-hero h2 { font-size: 24px; }
  .jb-cards { grid-template-columns: 1fr; }
  .jb-steps { grid-template-columns: 1fr; gap: 6px; }
  .jb-steps::before { top: 16px; bottom: 16px; left: 31px; right: auto; width: 2px; height: auto;
                      background: linear-gradient(var(--navy), var(--teal), var(--orange)); }
  .jb-steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: start; padding: 10px 12px; text-align: left; }
  .jb-steps li::before { grid-row: 1 / span 2; margin: 0; }
  .java-footer .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Submissions */
  .pkp_structure_main .page_submissions > h1 { margin: -24px -20px 24px; padding: 32px 20px 0; font-size: 26px; }
  .page_submissions > h1::after { margin: 8px -20px 0; padding: 0 20px 56px; font-size: 15px; }
  .page_submissions .section_policy,
  .page_submissions .privacy_statement { padding: 4px 18px 16px; }
  .jb-howto strong, .jb-howto span { padding-left: 14px; padding-right: 14px; }
  .jb-lead { font-size: 16px; }
  .page_submissions .cmp_notification { padding: 14px 16px; }
  .page_submissions .cmp_notification::before { display: none; }

  /* Login: panel sambutan menjadi pita di atas formulir */
  .pkp_page_login .pkp_structure_main,
  .pkp_op_register .pkp_structure_main,
  .pkp_page_login .pkp_structure_main:first-child:last-child,
  .pkp_op_register .pkp_structure_main:first-child:last-child { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .pkp_page_login .pkp_structure_main::before,
  .pkp_op_register .pkp_structure_main::before { padding: 28px 20px 30px; font-size: 22px; }
  .pkp_page_login .pkp_structure_main::after,
  .pkp_op_register .pkp_structure_main::after { display: none; }
  .pkp_page_login .pkp_structure_main > .page,
  .pkp_op_register .pkp_structure_main > .page { grid-column: 1; padding: 28px 20px 32px; }
}
