/* ===============================
   HEADER GAMBAR 1241x233
   =============================== */

/* Hilangkan teks judul jurnal */
.pkp_site_name_text {
    display: none !important;
}

/* LEPASKAN FRAME HEADER OJS */
.pkp_head_wrapper,
.pkp_head_wrapper .pkp_container,
.pkp_site_name_wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* HEADER FULL WIDTH */
.pkp_site_name {
    background: url("/public/site/images/admin/header-jetra.gif")
        center center no-repeat;
    background-size: cover;
    width: 100%;
    min-height: 233px;
    display: flex;
    align-items: center;
}

/* OPSIONAL: JARAK KONTEN KE KIRI */
.pkp_site_name_wrapper {
    padding-left: 0px !important;
}

/* Menu tetap di bawah header */
.pkp_navigation_primary_row {
    margin-top: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    margin:0;
    padding:0;
    background-color:transparent;
    background-image:none;
    font-family: "Ubuntu", sans-serif !important;
    font-weight:400;
    font-size:14px;
    color:#222;
    text-align:justify;
}

html,body {
      background: url(/public/site/images/admin/spared.jpg) fixed !important;
      background-color: #DFDAFA !important; /* Fallback warna utama */
}

.pkp_structure_content.has_sidebar {
    background-image: url(/public/site/images/admin/backgroundcanvas.jpg);
}

.pkp_head_wrapper,
.has_site_logo .pkp_head_wrapper {
    position: relative;
    padding-top: 0;
}

.pkp_site_name {margin: 0;}
.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: 1000px;}
.pkp_site_name .is_img img {max-height: 100% !important; max-width: 100% !important;}
.pkp_site_name a {margin: auto !important;}
.pkp_site_name_wrapper {padding-left: 0; padding-right: 0; margin: 0;}
.pkp_navigation_user_wrapper {top: 0; right: 0; padding-right:30px;}
.pkp_structure_page {border-left: 0px solid gray; border-right: 0px solid gray; background: #fff; box-shadow: 1px 1px 5px 2px #cfc9ef; }

@media (max-width: 1000px) {
    .pkp_structure_page {margin:auto; width: 100%; padding-bottom: 0 !important; border-left: 0px solid gray; border-right: 0px solid gray; background: #fff; box-shadow: 1px 1px 5px 2px #cfc9ef;}
}

.pkp_structure_page {margin-top: 0px !important; margin-bottom: 0px !important;}

.pkp_block {
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 1px;
}

/* Navigasi Utama: Menggunakan gradasi Ungu */
.pkp_navigation_primary_row {
    background: linear-gradient(
        0deg,
        #7E74C4 4%, 
        #5D54A4 17%, 
        #433A86 44%, 
        #5D54A4 95%, 
        #5D54A4 140%
    );
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    margin: 0 !important;
    padding: 0 10px !important;
    line-height: 40px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li,
.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a {
    font-family: "Ubuntu", sans-serif !important;
    color: #ffffff !important;
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    text-transform: capitalize !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition: 0.2s;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li a:hover {
    background: #9B92D9 !important; /* Warna hover lebih muda */
    color: #ffffff !important;
    text-shadow: 1px 1px rgba(0,0,0,.5);
    border-radius: 5px !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul {
    background: #433A86 !important;
}

.pkp_navigation_primary_row .pkp_navigation_primary_wrapper ul li ul li {
    border-bottom: solid 2px rgba(223, 218, 250, 0.25) !important;
}

/* Tombol PDF / Galley */
.cmp_button_wire, .obj_galley_link {
    background: linear-gradient(to bottom, #ffffff 0%, #f1effd 50%, #DFDAFA 51%, #f1effd 100%) !important;
    border: 1px solid #cfc9ef;
    border-radius: 5px;
    font-family: "Ubuntu", sans-serif !important;
    color: #433A86;
}
.obj_galley_link:hover {
    background: linear-gradient(0deg, #9B92D9 4%, #7E74C4 17%, #5D54A4 44%, #7E74C4 95%, #7E74C4 140%) !important;
    border: 1px solid #7E74C4;
    color: #fff;
}

/* Artikel Summary */
.obj_article_summary {
    border: 1px solid #DFDAFA;
    padding: 15px;
    border-radius: 0px 0px 20px 0px;
    box-shadow: 3px 3px 4px #cfc9ef;
}
.obj_article_summary:hover {
    background: #fff;
    border: 1px solid #cfc9ef;
    box-shadow: 3px 10px 20px 0px rgba(126, 116, 196, 0.3);
}

/* Link */
a, a:link, a:active  { 
    color: #5D54A4; 
    text-decoration:none;
}
a:hover { color: #9B92D9; }

/* Sidebar Table & Hover */
.hover td {
    background: #7E74C4;
    border-bottom: 2px solid #ffffff;
    box-shadow: 0 0 5px rgba(223, 218, 250, 0.5);
}
.hover tr {
    background: #7E74C4;
    color:#ffffff;
}
.hover tr:hover td {
    background: linear-gradient(0deg, #9B92D9 4%, #7E74C4 17%, #5D54A4 44%, #7E74C4 95%, #7E74C4 140%) !important;
}
.hover tr a {
    color: #fff;
}

/* Tester Menu */
.tester {
    background-color: #7E74C4;
    border-bottom: 2px solid #DFDAFA;
    color: #fff !important;
}
.tester:hover {
    background: linear-gradient(0deg, #9B92D9 4%, #7E74C4 17%, #5D54A4 44%, #7E74C4 95%, #7E74C4 140%) !important;
}

/* Tombol Submission: Menyesuaikan Ungu-Emas */
a.block_make_submission_link {
    color: #fff;
    background: linear-gradient(0deg, #9B92D9 4%, #7E74C4 17%, #5D54A4 44%, #7E74C4 95%, #7E74C4 120%);
    box-shadow: 0 0 5px rgba(93, 84, 164, 0.5);
}

/* Footer Custom */
.custom-footer {
    background: #2E2A4A; /* Ungu gelap */
    color: #DFDAFA;
}
.footer-column h4 {
    border-bottom: 2px solid #DFDAFA;
}
.footer-bottom {
    background: #1C1A33;
    color: #DFDAFA;
}

/* =================================================
   OVERRIDE SIDEBAR CUSTOM BLOCK (DARI BIRU → UNGU)
   ================================================= */

/* JUDUL BLOK */
.pkp_block.block_custom p[style*="background-image"] {
    background-image: linear-gradient(
        135deg,
        #5D54A4,
        #433A86
    ) !important;
    color: #ffffff !important;
}

/* LINK MENU SIDEBAR */
.pkp_block.block_custom a.tester {
    background-color: #f1effd !important; /* Latar belakang sangat muda */
    color: #433A86 !important;
    border-bottom: 1px solid #DFDAFA !important;
}

/* HOVER MENU */
.pkp_block.block_custom a.tester:hover {
    background: #7E74C4 !important;
    color: #ffffff !important;
}

/* TABLE DALAM SIDEBAR */
.pkp_block.block_custom table td {
    border-color: #DFDAFA !important;
    background: #ffffff !important;
}

/* LINK "More Indexing..." */
.pkp_block.block_custom a[href*="indexing"] {
    color: #7E74C4 !important;
}

/* AREA STATISTIC */
.pkp_block.block_custom tr[style*="background-color"] {
    background-color: #DFDAFA !important;
}

/* ===============================
   HILANGKAN NAMA JURNAL (FIX)
   =============================== */

/* Sembunyikan teks judul di semua kemungkinan */
.pkp_site_name a {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

/* Jika ada span teks (jaga-jaga) */
.pkp_site_name_text {
    display: none !important;
}

.custom-footer {
    background: linear-gradient(135deg, #6b63b8, #584F9E, #3f3a7a);
    color: #f1f5f9;
    margin-top: 50px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 6px;
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #e2e8f0;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #38bdf8;
    text-decoration: underline;
}

/* LOGO */
.footer-logo {
    margin: 15px 0;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 15px;
    background: #3c377b;
    font-size: 13px;
    color: #cbd5f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }
}

/* Link di footer TETAP sama dengan teks */
.custom-footer a,
.custom-footer a:visited,
.custom-footer a:hover,
.custom-footer a:focus,
.custom-footer a:active {
    color: inherit !important;
    text-decoration: none;
}

/* =================================================
   HILANGKAN LOGO OJS / PKP BRANDING (FIX)
   ================================================= */
.pkp_brand_footer, 
.pkp_footer_content .pkp_brand_footer,
.pkp_structure_footer .pkp_brand_footer {
    display: none !important;
}