/* ===============================
   OJS 3.3 CUSTOM THEME - SOFT GREEN
   =============================== */

/* ===============================
   HEADER SECTION
   =============================== */

.pkp_structure_head {
    background-color: #00c853 !important;
    border-bottom: none;
    padding: 6px 0 4px;
    position: relative;
    text-align: center;
}

.pkp_head_wrapper {
    position: relative;
    text-align: center;
}

/* Center journal title */
.pkp_site_name,
.pkp_site_name a {
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: -5px !important;
    margin-top: -50px !important;
    padding-top: 0 !important;
    text-align: center !important;
}

/* ===============================
   NAVIGATION BAR
   =============================== */

.pkp_structure_navigation {
    background-color: #00c853 !important;
    border-bottom: 4px solid #000;
    margin-top: 100px !important;
    padding-top: 10px !important;
}

/* Reset default backgrounds */
.pkp_structure_navigation,
.pkp_navigation_primary,
.pkp_navigation_user_wrapper,
.pkp_navigation_user,
.pkp_navigation_search,
.pkp_nav_list {
    background: transparent !important;
}

/* Navigation wrapper */
.pkp_structure_navigation {
    background-color: #e5ff00 !important;
}

.pkp_structure_navigation .pkp_navigation_primary_wrapper {
    display: flex !important;
    align-items: center !important;
    min-height: 40px !important;
    padding: 0 20px !important;
}

/* ===============================
   PRIMARY MENU
   =============================== */

.pkp_nav_list {
    align-items: center;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
}

.pkp_nav_list a {
    border-radius: 5px;
    color: #000 !important;
    font-weight: 600;
    padding: 6px 10px;
}

.pkp_nav_list a:hover {
    background: rgba(255, 255, 255, 0.6);
}

.pkp_nav_list a:active,
.pkp_nav_list a:focus {
    background: #b6b6b6 !important;
    outline: none;
}

/* ===============================
   USER MENU (Top Right)
   =============================== */

.pkp_navigation_user_wrapper {
    background: transparent !important;
    margin: 0 auto;
    margin-top: 5px;
    max-width: 1200px;
    padding: 4px 20px 6px;
}

.pkp_navigation_user {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.pkp_navigation_user a {
    border-radius: 6px;
    color: #000 !important;
    font-weight: 600;
    padding: 6px 10px;
}

.pkp_navigation_user a:hover {
    background: rgba(255, 255, 255, 0.6);
}

.pkp_navigation_user a:active,
.pkp_navigation_user a:focus {
    background: #69f0ae !important;
    outline: none;
}

/* ===============================
   SEARCH
   =============================== */

.pkp_navigation_search {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    position: static !important;
    transform: none !important;
}

.pkp_navigation_search input[type="search"] {
    background: #fff !important;
    border: 1px solid #686868;
    border-radius: 6px;
    margin: 0px;
    padding: 6px 10px;
    vertical-align: middle;
}

/* ===============================
   BODY / CONTENT AREA
   =============================== */

/* ===============================
   GLOBAL PAGE BACKGROUND
   =============================== */
body {
    background: #b1ffb5;
    /* abu muda seperti contoh */
}

/* ===============================
   MAIN WRAPPER
   =============================== */
.pkp_structure_main {
    display: flex;
    align-items: flex-start;
    /* INI KUNCI: rata atas */
    max-width: 1100px;
    /* TAMBAHKAN */
    margin: 20px auto;
    /* TAMBAHKAN */
    padding: 0 15px;
    /* TAMBAHKAN */
    gap: 24px;
}

/* ===============================
   CONTENT + SIDEBAR LAYOUT
   =============================== */
.pkp_structure_main .pkp_structure_content {
    width: 70%;
}

.pkp_structure_main .pkp_structure_sidebar {
    width: 5%;
    padding-left: 20px;
    /* LEBIHKAN */
}

/* JARAK ANTARA COVER (ISSUE) DAN MENU / SIDEBAR */
.pkp_page_index .pkp_structure_main {
    margin-top: 10px;
}

/* ===============================
   CARD STYLE (KONTEN UTAMA)
   =============================== */
.pkp_structure_content>* {
    background: #ffffff;
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Tabs (About, Announcements, dll) */
.pkp_structure_content .cmp_tabs {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* ===============================
   SIDEBAR CARD
   =============================== */
.pkp_block {
    background: #b1ffb5;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Judul sidebar */
.pkp_block h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 3px solid #00c853;
    /* aksen seperti contoh */
}

/* ===============================
   LOGIN BOX
   =============================== */
.pkp_block_login input[type="text"],
.pkp_block_login input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.pkp_block_login button {
    background: #ff6a3d;
    border: none;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
}

.pkp_block_login button:hover {
    opacity: 0.9;
}

/* ===============================
   LINK & LIST
   =============================== */
.pkp_block a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #000000;
}

.pkp_block a:hover {
    text-decoration: underline;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 992px) {
    .pkp_structure_main {
        margin: 20px auto;
    }

    .pkp_structure_main .pkp_structure_content,
    .pkp_structure_main .pkp_structure_sidebar {
        width: 100%;
        padding-left: 0;
    }
}



/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
    .pkp_nav_list {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* ===============================
   FOOTER SECTION
   =============================== */

/* ===============================
   FOOTER LAYOUT (UNAIR STYLE)
   =============================== */

.pkp_structure_footer {
    background-color: #00c853 !important;
    border-top: 4px solid #b1ffb5;
    margin: 0 !important;
    padding: 20px 0 10px !important;
    /* Tinggi dikurangi */
    width: 100% !important;
}

/* Wrapper footer terpusat */
.custom-footer {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr auto;
    margin: 0 auto;
    max-width: 1200px;
    /* Lebar dikurangi */
    padding: 0 20px;
}

/* Kolom footer */
.custom-footer .footer-col {
    color: #ffffff;
    /* Contrast! */
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.custom-footer h4 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Logo kanan */
.footer-logo img {
    height: auto;
    max-width: 140px;
}

/* ===============================
   FOOTER BOTTOM
   =============================== */

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    margin: 15px auto 0;
    /* Gap dikurangi */
    max-width: 1200px;
    padding: 10px 20px 0;
    /* Padding dikurangi */
}

.footer-bottom,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-bottom a {
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .custom-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}