/* ==========================================================
   INSIGHT PREMIUM JOURNAL CSS
   Professional OJS 3.3 / 3.4 Theme
   Version: 2026 Premium Edition
   Author: ChatGPT Professional Web Designer
   ========================================================== */

/* ==========================================================
   GOOGLE FONTS
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

/* ==========================================================
   ROOT VARIABLES
   ========================================================== */
:root {
    --primary: #002B6B;
    --primary-dark: #001B4F;
    --primary-light: #0A3C92;
    --accent: #F4B400;
    --accent-dark: #D99800;
    --success: #10B981;
    --danger: #EF4444;

    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    --border: #E5E7EB;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;

    --shadow-sm: 0 4px 12px rgba(0, 43, 107, 0.05);
    --shadow: 0 10px 30px rgba(0, 43, 107, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 43, 107, 0.12);
    --shadow-hover: 0 25px 70px rgba(0, 43, 107, 0.16);

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 24px;

    --transition: all 0.35s ease;
}

/* ==========================================================
   GLOBAL RESET
   ========================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #fff;
}

/* Links */
a {
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================================
   PREMIUM HEADER BACKGROUND
   ========================================================== */
.pkp_structure_head {
    position: relative;
    background:
        radial-gradient(circle at top left,
            rgba(0, 43, 107, 0.10) 0%,
            rgba(0, 43, 107, 0.04) 35%,
            transparent 70%),
        radial-gradient(circle at bottom right,
            rgba(244, 180, 0, 0.08) 0%,
            rgba(244, 180, 0, 0.03) 30%,
            transparent 70%),
        linear-gradient(135deg,
            #ffffff 0%,
            #fbfbfb 45%,
            #f5f7fb 100%);

    border-radius: 0 0 30px 30px;
    overflow: visible;
    box-shadow: 0 8px 30px rgba(0, 43, 107, 0.06);
}

/* Gold Wave */
.pkp_structure_head::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -5%;
    width: 110%;
    height: 140px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(244, 180, 0, 0.95) 20%,
        rgba(244, 180, 0, 1) 50%,
        rgba(244, 180, 0, 0.95) 80%,
        transparent 100%
    );
    border-radius: 0 0 50% 50%;
    opacity: 0.95;
    z-index: 0;
}

/* Blue Wave */
.pkp_structure_head::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -5%;
    width: 110%;
    height: 160px;
    background: linear-gradient(
        90deg,
        #002B6B 0%,
        #0A3C92 50%,
        #002B6B 100%
    );
    border-radius: 50% 50% 0 0;
    opacity: 0.08;
    z-index: 0;
}

/* ==========================================================
   HEADER WRAPPERS
   ========================================================== */
.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_navigation_primary_wrapper,
.pkp_site_nav_menu {
    position: relative;
    z-index: 10;
}

.pkp_head_wrapper {
    background: transparent;
    padding: 20px 0;
}

/* ==========================================================
   BRANDING AREA
   ========================================================== */
.pkp_site_name {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    padding: 20px 0;
    position: relative;
}

/* Hide default text */
.pkp_site_name > a {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-decoration: none;
}

/* Logo */
.pkp_site_name img,
.pkp_site_name a img {
    height: 220px !important;
    max-height: 220px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 10px 20px rgba(0, 43, 107, 0.08));
}

.pkp_site_name img:hover,
.pkp_site_name a img:hover {
    transform: scale(1.03);
}

/* Journal Name */
.pkp_site_name::after {
    content: "INSIGHT:\A Journal of Education";
    white-space: pre-line;
    display: inline-block;
    width: fit-content;

    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 0.92;
    letter-spacing: -0.5px;
    color: var(--primary);

    border-bottom: 3px solid var(--accent);
    padding-bottom: 18px;
}

/* Main Tagline */
.pkp_site_name::before {
    content: "Advancing Knowledge and Innovation in Education";
    position: absolute;
    left: 260px;
    top: 158px;
    width: 760px;

    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: #1E3A8A;

    text-align: left;
    white-space: nowrap;
}

/* Secondary Tagline */
.pkp_site_name_wrapper {
    position: relative;
}

.pkp_site_name_wrapper::after {
    content: "Fostering Insightful Perspectives in Education";
    position: absolute;
    left: 260px;
    top: 198px;
    width: 760px;

    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2px;
    color: #1E3A8A;

    text-align: left;
    white-space: nowrap;
}

/* ==========================================================
   STICKY NAVIGATION BAR
   ========================================================== */
.pkp_navigation_primary_wrapper {
    background: rgba(35, 67, 155, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 8px 25px rgba(0, 43, 107, 0.10);
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Menu Items */
.pkp_navigation_primary > li {
    position: relative;
}

.pkp_navigation_primary > li > a {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 22px;
    position: relative;
}

/* Animated Underline */
.pkp_navigation_primary > li > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 10px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: var(--transition);
}

.pkp_navigation_primary > li > a:hover::after,
.pkp_navigation_primary > li.current > a::after,
.pkp_navigation_primary > li.current_page_item > a::after {
    transform: scaleX(1);
}

.pkp_navigation_primary > li > a:hover,
.pkp_navigation_primary > li.current > a,
.pkp_navigation_primary > li.current_page_item > a {
    color: var(--accent) !important;
}

/* Search Icon */
.pkp_navigation_search_wrapper a,
.pkp_navigation_search_wrapper .icon,
.pkp_navigation_search_wrapper .fa {
    color: #ffffff !important;
}

.pkp_navigation_search_wrapper a:hover,
.pkp_navigation_search_wrapper .icon:hover,
.pkp_navigation_search_wrapper .fa:hover {
    color: var(--accent) !important;
}

/* ==========================================================
   DROPDOWN MENU
   ========================================================== */
.pkp_navigation_primary li ul {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    display: none;
    z-index: 10000;

    background: #ffffff !important;
    border: 1px solid rgba(0, 43, 107, 0.08);
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 43, 107, 0.12);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

.pkp_navigation_primary li:hover > ul {
    display: block;
    animation: fadeDown 0.35s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pkp_navigation_primary li ul li a {
    display: block;
    padding: 12px 22px;
    color: var(--primary) !important;
    background: transparent !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.pkp_navigation_primary li ul li a:hover,
.pkp_navigation_primary li ul li a:focus {
    background: #f5f8ff !important;
    color: var(--accent) !important;
}

/* ==========================================================
   HOMEPAGE ARTICLE CARDS
   ========================================================== */
.obj_article_summary,
.current_issue .article,
.cmp_article_list > li,
.pkp_block {
    background: #ffffff;
    border: 1px solid rgba(0, 43, 107, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.obj_article_summary:hover,
.current_issue .article:hover,
.cmp_article_list > li:hover,
.pkp_block:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* Article Cards */
.obj_article_summary {
    padding: 28px;
    margin-bottom: 28px;
}

/* Article Title */
.obj_article_summary .title a,
.cmp_article_list .title a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
}

.obj_article_summary .title a:hover,
.cmp_article_list .title a:hover {
    color: var(--accent-dark);
}

/* Meta */
.obj_article_summary .meta,
.obj_article_summary .authors,
.obj_article_summary .pages {
    color: var(--text-muted);
    font-size: 14px;
}

/* DOI Badge */
.obj_article_summary .doi a {
    display: inline-block;
    background: rgba(0, 43, 107, 0.06);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* Abstract */
.obj_article_summary .description {
    margin-top: 16px;
    color: var(--text-dark);
    line-height: 1.9;
}

/* ==========================================================
   INSIGHT PREMIUM JOURNAL CSS
   PART 2 — SIDEBAR, BUTTONS, FOOTER, DARK MODE, RESPONSIVE
   Optimized for OJS 3.3 / 3.4
   ========================================================== */

/* ==========================================================
   CONTENT AREA
   ========================================================== */
.pkp_structure_content {
    margin-top: 40px;
}

.page_index_journal .homepage_about,
.page_index_journal .current_issue,
.page_index_journal .additional_content {
    margin-bottom: 50px;
}

/* Section Titles */
.page_index_journal h2,
.current_issue h2,
.cmp_announcements h2,
.block h2,
.pkp_block .title {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
}

.page_index_journal h2::after,
.current_issue h2::after,
.cmp_announcements h2::after,
.block h2::after,
.pkp_block .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    border-radius: 999px;
}

/* ==========================================================
   CURRENT ISSUE CARD
   ========================================================== */
.current_issue {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 43, 107, 0.05);
    margin-bottom: 50px;
}

.current_issue .cover img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.current_issue .cover img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.current_issue .description {
    color: var(--text-muted);
    line-height: 1.9;
}

/* ==========================================================
   ANNOUNCEMENTS
   ========================================================== */
.obj_announcement_summary {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 43, 107, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.obj_announcement_summary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.obj_announcement_summary .title a {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

/* ==========================================================
   PREMIUM BUTTONS
   ========================================================== */
.cmp_button,
button,
input[type="submit"],
a.read_more,
a.obj_galley_link,
.page_make_submission .submit_now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    ) !important;

    color: #ffffff !important;
    border: none !important;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none !important;

    box-shadow: 0 10px 25px rgba(0, 43, 107, 0.18);
    transition: var(--transition);
}

.cmp_button:hover,
button:hover,
input[type="submit"]:hover,
a.read_more:hover,
a.obj_galley_link:hover,
.page_make_submission .submit_now:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0, 43, 107, 0.25);
    color: #ffffff !important;
}

/* PDF Button Accent */
a.obj_galley_link.pdf {
    background: linear-gradient(
        135deg,
        #DC2626,
        #EF4444
    ) !important;
}

/* DOI Button */
.obj_article_details .doi a {
    background: rgba(0, 43, 107, 0.06);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================
   SIDEBAR BLOCKS
   ========================================================== */
.pkp_block {
    padding: 24px;
    margin-bottom: 28px;
}

.pkp_block .title {
    font-size: 20px;
    margin-bottom: 18px;
}

.pkp_block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pkp_block li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 43, 107, 0.05);
}

.pkp_block li:last-child {
    border-bottom: none;
}

.pkp_block a {
    color: var(--primary);
    font-weight: 500;
}

.pkp_block a:hover {
    color: var(--accent-dark);
}

/* ==========================================================
   FORMS
   ========================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    background: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(0, 43, 107, 0.08);
}

/* ==========================================================
   TABLES
   ========================================================== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table th {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 16px;
    text-align: left;
}

table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.pkp_structure_footer_wrapper {
    margin-top: 80px;
    background:
        radial-gradient(circle at top right,
            rgba(244, 180, 0, 0.08),
            transparent 40%),
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.pkp_structure_footer_wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent),
        transparent
    );
}

.pkp_structure_footer_wrapper a {
    color: #ffffff;
    transition: var(--transition);
}

.pkp_structure_footer_wrapper a:hover {
    color: var(--accent);
}

.pkp_footer_content {
    font-size: 15px;
    line-height: 1.9;
}

/* Optional: Hide PKP Branding */
/*
.pkp_brand_footer {
    display: none !important;
}
*/

/* ==========================================================
   BACK TO TOP BUTTON (Optional)
   ========================================================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    z-index: 9999;
}

/* ==========================================================
   DARK MODE READY
   ========================================================== */
@media (prefers-color-scheme: dark) {
    body.dark-mode-enabled {
        background: #0F172A;
        color: #E5E7EB;
    }

    body.dark-mode-enabled .obj_article_summary,
    body.dark-mode-enabled .pkp_block,
    body.dark-mode-enabled .current_issue,
    body.dark-mode-enabled .obj_announcement_summary {
        background: #1E293B;
        border-color: rgba(255, 255, 255, 0.08);
        color: #E5E7EB;
    }

    body.dark-mode-enabled h1,
    body.dark-mode-enabled h2,
    body.dark-mode-enabled h3,
    body.dark-mode-enabled h4,
    body.dark-mode-enabled h5,
    body.dark-mode-enabled h6 {
        color: #ffffff;
    }
}

/* ==========================================================
   RESPONSIVE TABLET
   ========================================================== */
@media (max-width: 992px) {
    .current_issue {
        padding: 28px;
    }

    .obj_article_summary {
        padding: 24px;
    }

    .page_index_journal h2,
    .current_issue h2 {
        font-size: 26px;
    }
}

/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */
@media (max-width: 768px) {
    .pkp_structure_content {
        margin-top: 20px;
    }

    .current_issue {
        padding: 22px;
        border-radius: var(--radius);
    }

    .obj_article_summary,
    .obj_announcement_summary,
    .pkp_block {
        padding: 20px;
        border-radius: var(--radius-sm);
    }

    .obj_article_summary .title a,
    .cmp_article_list .title a {
        font-size: 20px;
        line-height: 1.5;
    }

    .page_index_journal h2,
    .current_issue h2,
    .cmp_announcements h2,
    .block h2,
    .pkp_block .title {
        font-size: 24px;
    }

    .cmp_button,
    button,
    input[type="submit"],
    a.read_more,
    a.obj_galley_link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    table th {
        border-radius: 12px 12px 0 0;
    }

    table td {
        border-bottom: 1px solid var(--border);
    }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .obj_article_summary .title a {
        font-size: 18px;
    }

    .page_index_journal h2,
    .current_issue h2 {
        font-size: 22px;
    }

    .pkp_structure_footer_wrapper {
        padding: 45px 0 24px;
    }
}

/* ==========================================================
   END OF PART 2
   Setelah ini, gabungkan Bagian 1 + Bagian 2
   menjadi satu file: insight-premium-ojs.css
   ========================================================== */

/* ==========================================================
   INSIGHT PREMIUM ENHANCEMENT PACK
   Tambahan desain premium tanpa mengubah CSS yang sudah ada
   Tempelkan di bagian PALING BAWAH file CSS
   ========================================================== */

/* ==========================================================
   MODERN CUSTOM SCROLLBAR
   ========================================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f3f6fb;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--primary-light),
        var(--primary)
    );
    border-radius: 999px;
    border: 3px solid #f3f6fb;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        var(--accent),
        var(--accent-dark)
    );
}

/* ==========================================================
   GLASSMORPHISM EFFECT
   ========================================================== */
.obj_article_summary,
.current_issue,
.obj_announcement_summary,
.pkp_block,
.obj_article_details {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==========================================================
   SECTION TITLE SHIMMER
   ========================================================== */
.page_index_journal h2,
.current_issue h2,
.cmp_announcements h2,
.block h2,
.pkp_block .title {
    overflow: hidden;
}

.page_index_journal h2::before,
.current_issue h2::before,
.cmp_announcements h2::before,
.block h2::before,
.pkp_block .title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(244, 180, 0, 0.18),
        transparent
    );
    transform: skewX(-20deg);
    animation: insightShimmer 6s infinite;
}

@keyframes insightShimmer {
    0% {
        left: -120%;
    }
    60% {
        left: 140%;
    }
    100% {
        left: 140%;
    }
}

/* ==========================================================
   ARTICLE TITLE ACCENT BAR
   ========================================================== */
.obj_article_summary .title,
.cmp_article_list .title {
    position: relative;
    padding-left: 18px;
}

.obj_article_summary .title::before,
.cmp_article_list .title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        var(--accent),
        var(--accent-dark)
    );
}

/* ==========================================================
   PREMIUM META BADGES
   ========================================================== */
.obj_article_summary .meta,
.obj_article_summary .authors,
.obj_article_summary .pages {
    display: inline-block;
    background: rgba(0, 43, 107, 0.04);
    padding: 4px 10px;
    border-radius: 999px;
    margin: 4px 6px 4px 0;
    border: 1px solid rgba(0, 43, 107, 0.05);
}

/* ==========================================================
   ABSTRACT FADE EFFECT
   ========================================================== */
.obj_article_summary .description {
    position: relative;
}

.obj_article_summary .description::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 1)
    );
    pointer-events: none;
}

/* ==========================================================
   CURRENT ISSUE COVER FLOAT
   ========================================================== */
.current_issue .cover img {
    animation: insightFloat 6s ease-in-out infinite;
}

@keyframes insightFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* ==========================================================
   BUTTON SHINE EFFECT
   ========================================================== */
.cmp_button,
button,
input[type="submit"],
a.read_more,
a.obj_galley_link,
.page_make_submission .submit_now {
    position: relative;
    overflow: hidden;
}

.cmp_button::before,
button::before,
input[type="submit"]::before,
a.read_more::before,
a.obj_galley_link::before,
.page_make_submission .submit_now::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.28),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.cmp_button:hover::before,
button:hover::before,
input[type="submit"]:hover::before,
a.read_more:hover::before,
a.obj_galley_link:hover::before,
.page_make_submission .submit_now:hover::before {
    left: 140%;
}

/* ==========================================================
   FLOATING SUBMISSION BUTTON (OPTIONAL)
   ========================================================== */
/*
.page_index_journal::after {
    content: "Submit Article";
    position: fixed;
    right: 24px;
    bottom: 90px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
}
*/

/* ==========================================================
   CONTAINER WIDTH FOR LARGE DESKTOP
   ========================================================== */
@media (min-width: 1400px) {
    .pkp_structure_page {
        max-width: 1480px;
        margin: 0 auto;
    }

    .obj_article_summary .title a {
        font-size: 26px;
    }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(244, 180, 0, 0.35);
    outline-offset: 2px;
}

/* ==========================================================
   REDUCED MOTION SUPPORT
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================
   DARK MODE ENHANCEMENT
   ========================================================== */
@media (prefers-color-scheme: dark) {
    body.dark-mode-enabled .obj_article_summary .description::after {
        background: linear-gradient(
            to bottom,
            rgba(30, 41, 59, 0),
            rgba(30, 41, 59, 1)
        );
    }

    body.dark-mode-enabled .obj_article_summary .meta,
    body.dark-mode-enabled .obj_article_summary .authors,
    body.dark-mode-enabled .obj_article_summary .pages {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.06);
    }
}

/* ==========================================================
   PRINT OPTIMIZATION
   ========================================================== */
@media print {
    .back-to-top {
        display: none !important;
    }

    .obj_article_summary,
    .current_issue,
    .pkp_block {
        box-shadow: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   END OF PREMIUM ENHANCEMENT PACK
   ========================================================== */

/* ==========================================================
   PREMIUM LOGIN & USER DROPDOWN MENU
   Blue Elegant Style for OJS 3.3 / 3.4
   Tambahan desain tanpa mengubah CSS yang sudah ada
   ========================================================== */

/* ==========================================================
   LOGIN / REGISTER BUTTON STYLE
   ========================================================== */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user a {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.10),
        rgba(255, 255, 255, 0.04)
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Hover effect */
.pkp_navigation_user_wrapper a:hover,
.pkp_navigation_user a:hover {
    background: linear-gradient(
        135deg,
        rgba(244, 180, 0, 0.20),
        rgba(244, 180, 0, 0.08)
    ) !important;

    border-color: rgba(244, 180, 0, 0.25);
    box-shadow:
        0 10px 28px rgba(0, 43, 107, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

/* Shine animation */
.pkp_navigation_user_wrapper a::before,
.pkp_navigation_user a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.pkp_navigation_user_wrapper a:hover::before,
.pkp_navigation_user a:hover::before {
    left: 140%;
}

/* ==========================================================
   USER MENU ITEM CONTAINER
   ========================================================== */
.pkp_navigation_user > li {
    position: relative;
}

/* ==========================================================
   BLUE DROPDOWN PANEL
   ========================================================== */
.pkp_navigation_user > li > ul {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    min-width: 260px;
    margin: 0;
    padding: 10px 0;
    list-style: none;

    background: linear-gradient(
        135deg,
        #23439B 0%,
        #0A3C92 55%,
        #002B6B 100%
    ) !important;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow:
        0 24px 60px rgba(0, 43, 107, 0.25),
        0 8px 20px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    display: none;
    z-index: 10050;
    overflow: hidden;
}

/* Dropdown arrow */
.pkp_navigation_user > li > ul::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 26px;
    width: 16px;
    height: 16px;
    background: #23439B;
    transform: rotate(45deg);
    border-radius: 3px;
}

/* Show dropdown on hover */
.pkp_navigation_user > li:hover > ul,
.pkp_navigation_user > li:focus-within > ul {
    display: block;
    animation: insightUserDropdown 0.28s ease;
}

/* Animation */
@keyframes insightUserDropdown {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================
   DROPDOWN LINKS
   ========================================================== */
.pkp_navigation_user > li > ul li {
    margin: 0;
    padding: 0;
}

.pkp_navigation_user > li > ul li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pkp_navigation_user > li > ul li a {
    display: block;
    width: 100%;
    padding: 13px 22px !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;

    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.2px;
    text-decoration: none !important;
}

/* Hover link dropdown */
.pkp_navigation_user > li > ul li a:hover,
.pkp_navigation_user > li > ul li a:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #F4B400 !important;
    padding-left: 28px !important;
}

/* ==========================================================
   USER AVATAR / NAME STYLE
   ========================================================== */
.pkp_navigation_user > li > a {
    font-weight: 700 !important;
    letter-spacing: 0.35px;
}

/* Optional caret indicator */
.pkp_navigation_user > li.has_submenu > a::after,
.pkp_navigation_user > li.dropdown > a::after,
.pkp_navigation_user > li > a[aria-haspopup="true"]::after {
    content: "▾";
    margin-left: 8px;
    font-size: 11px;
    opacity: 0.9;
}

/* ==========================================================
   MOBILE USER DROPDOWN
   ========================================================== */
@media (max-width: 768px) {

    .pkp_navigation_user > li > ul {
        position: static !important;
        display: block !important;
        min-width: auto;
        margin: 0;
        padding: 0;

        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .pkp_navigation_user > li > ul::before {
        display: none;
    }

    .pkp_navigation_user > li > ul li a {
        padding: 12px 20px 12px 38px !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }
}

/* ==========================================================
   END OF PREMIUM LOGIN & USER DROPDOWN MENU
   ========================================================== */

/* ==========================================================
   LOGIN / REGISTER VISIBILITY FIX
   Memastikan menu Login/Register selalu tampil
   Compatible with OJS 3.3 / 3.4
   ========================================================== */

/* Pastikan wrapper user menu selalu terlihat */
.pkp_navigation_user_wrapper {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10001 !important;
}

/* Pastikan list user menu tampil */
.pkp_navigation_user {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Pastikan item menu tampil */
.pkp_navigation_user > li {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
}

/* Link Login / Register */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user a {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Jika menu menggunakan class task */
.pkp_navigation_user .task {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Desktop: tampil sejajar */
@media (min-width: 769px) {
    .pkp_navigation_user {
        white-space: nowrap;
    }

    .pkp_navigation_user > li {
        margin-left: 6px;
    }
}

/* Mobile: tampil vertikal */
@media (max-width: 768px) {
    .pkp_navigation_user,
    .pkp_navigation_user > li,
    .pkp_navigation_user a {
        display: block !important;
        width: 100%;
    }

    .pkp_navigation_user > li {
        margin: 0 !important;
    }
}

/* ==========================================================
   PART 1 — USER MENU BASE STRUCTURE
   Ditambahkan di bagian paling bawah CSS
   ========================================================== */

/* Wrapper menu user */
.pkp_navigation_user_wrapper {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10001 !important;
}

/* List utama menu user */
.pkp_navigation_user {
    display: block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Setiap item menu */
.pkp_navigation_user > li {
    display: inline-block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Link Login / Register / User Name */
.pkp_navigation_user_wrapper a,
.pkp_navigation_user a {
    display: inline-block !important;
    position: relative !important;
    text-decoration: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Jika OJS menggunakan class .task */
.pkp_navigation_user .task {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================
   END OF PART 1
   ========================================================== */