/* ==============================
   GENERAL / OJS BASE CUSTOM
   ============================== */

/* Menghapus about jurnal */
.about_journal {
    display: none;
}

body {
    color: #333;
    background-color: #f7f7f7;
}

.container {
    width: 97%;
}

.content {
    padding: 0px !important;
}

.article-abstract {
    text-align: justify;
}

p {
    font-size: 14px;
    margin: 5px 0;
}

h2 {
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #000;
}

h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #000;
}


/* ==============================
   FONT
   ============================== */

@font-face {
    font-family: 'VinilaTest-Bold';
    src: url('/fonts/VinilaTest-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'GlacialIndifference-Regular';
    src: url('/fonts/GlacialIndifference-Regular.otf') format('opentype');
}

.additional_content,
.description {
    font-family: GlacialIndifference-Regular;
    font-size: 1.2em;
}

.additional_content {
    margin-top: 8px;
}

.additional_content p {
    font-size: 16px;
    margin: 5px 0;
}


/* ==============================
   HEADER / NAVBAR
   ============================== */

.navbar-default,
.header_view {
    background: url("https://journalpmresearch.com/images/Header-JPMR.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.navbar-default .nav > li > a,
.header_view .nav > li > a {
    color: #000;
}

.navbar-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.header .new-section {
    display: flex;
    top: 25px !important;
    align-items: flex-start !important;
    gap: 30px;
}

.blank {
    gap: 100px;
}

.site_logo {
    flex-shrink: 0;
}

.description {
    flex-grow: 1;
}

.journal_index {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.journal_index .site_logo {
    border: 1px transparent;
    background: transparent;
    border-radius: 10px;
    margin: 10px 0;
}

.journal_index h1 {
    font-size: 30px;
    font-weight: bold;
    margin: 0px 0px 0px 15px;
    font-style: normal;
    color: rgb(0, 0, 0);
}

.app__header {
    background: #0492C2 !important;
}

#main-navigation li a {
    font-size: 1.2em;
}

#nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav,
.nav.navbar-nav {
    display: flex;
    flex-direction: row !important;
    list-style-type: none;
    gap: 5px;
}

.navbar-nav li {
    margin-right: 20px;
}

.navbar-nav a {
    text-decoration: none;
    color: #000;
}

.pull-md-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}


/* ==============================
   ISSN + SEARCH
   ============================== */

.issn-search-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
}

.issn-container {
    font-size: 16px;
    color: #333;
    margin-right: 20px;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 370px;
}

.search-input {
    border: none;
    outline: none;
    padding: 10px 15px;
    flex-grow: 1;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    color: #333;
    margin-right: 5px;
}

.search-button {
    background-color: #e93f37;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #e93f37;
}


/* ==============================
   SUBMISSION BUTTON
   ============================== */

.submission-button {
    font-weight: bold;
    font-family: 'VinilaTest-Bold';
}

.submission-button-overlay .btn {
    color: white;
    padding: 20px 20px;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    border-radius: 45px;
}

.submission-button-overlay .btn:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}


/* ==============================
   MEDIA LIST / ARTICLE LIST
   ============================== */

.media-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.media-list > div {
    flex-basis: 48%;
    flex-direction: row;
    justify-content: flex-start;
    width: 48%;
    min-height: 200px;
    padding: 10px;
}

.media-list-article {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.media-list-article > div {
    flex-basis: 25%;
    flex-direction: row;
    justify-content: flex-start;
    width: 48%;
    min-height: 200px;
    padding: 10px;
}

.media-list img {
    margin-right: 20px;
    align-self: flex-start;
    transform: translateY(-10px);
}

.media-list h2 {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.media-left img {
    max-width: 150px;
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInText 1s ease both;
}

.media:first-child {
    margin-top: 2em;
}

.img-responsive {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25);
}


/* ==============================
   BOOTSTRAP / OJS COLUMN OVERRIDE
   ============================== */

@media (min-width: 992px) {
    .col-md-8 {
        width: 80%;
    }

    .col-md-4 {
        width: 20%;
    }

    .col-md-7 {
        width: 70%;
    }
}

.col-md-8 {
    border: 1px solid rgb(230, 230, 230);
    border-radius: 8px;
    -webkit-box-shadow: 4px 4px 5px -3px rgba(166, 166, 166, 0.35);
    -moz-box-shadow: 4px 4px 5px -3px rgba(166, 166, 166, 0.35);
    box-shadow: 4px 4px 5px -3px rgba(166, 166, 166, 0.35);
    background: white;
    padding: 20px;
}

.pkp_block h2 {
    font-size: 1.2em;
}

.list-group,
.pkp_block ul {
    font-size: 14px !important;
}

.panel-default > .panel-heading,
.pkp_block .title {
    color: #fff;
    background-color: #e93f37;
    border-color: #ddd;
}

.pkp_page_index .journal-description,
.pkp_page_index .additional_content {
    margin-top: 0px;
    margin-bottom: 2em;
}


/* ==============================
   CALL FOR PAPER SECTION
   ============================== */

.call-for-paper-section {
    background: linear-gradient(135deg, #E0F3FA, #ffffff);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.call-for-paper-section:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.25);
}

.call-for-paper-section .header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.call-for-paper-section .image-container {
    flex: 1;
    max-width: 150px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.call-for-paper-section .image-container img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.call-for-paper-section .image-container img:hover {
    transform: scale(1.1);
}

.call-for-paper-section .text-container {
    flex: 3;
    padding-left: 20px;
    animation: fadeInText 1s ease both;
}

.call-for-paper-section .text-container h2 {
    font-size: 28px;
    margin: 0;
    color: #FF5F5F;
}

.call-for-paper-section .text-container h3 {
    font-size: 22px;
    margin-top: 10px;
    color: #333;
}

.call-for-paper-section .text-container p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
}

.call-for-paper-section .timeline-container {
    margin-top: 20px;
    text-align: right;
}

.call-for-paper-section .timeline-container div {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    transition: background 0.3s ease;
}

.call-for-paper-section .more-info {
    text-align: center;
    margin-top: 20px;
}

.call-for-paper-section .more-info a {
    color: #0033CC;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.call-for-paper-section .more-info a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background: #0033CC;
    transition: width 0.3s ease;
    width: 0;
}

.call-for-paper-section .more-info a:hover::after {
    width: 100%;
}


/* ==============================
   TIMELINE
   ============================== */

.timeline-container {
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item {
    width: 160px;
    height: 70px;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%, 15% 50%);
}

.more-info {
    margin-top: 10px;
}

.more-info a {
    color: #000;
    text-decoration: none;
    font-style: italic;
}


/* ==============================
   ANIMATION
   ============================== */

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==============================
   EDITORIAL BOARD - FIXED VERSION
   ============================== */

.editorial-board,
.reviewers {
    clear: both;
    width: 100%;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    box-sizing: border-box;
}

.editorial-board {
    text-align: center;
}

.editorial-board h2,
.reviewers h2,
.editorial {
    text-align: center;
    margin: 30px 0 25px;
    line-height: 1.3;
    font-weight: bold;
    color: #000;
}

/* Container Editorial in Chief + Managing Editor */
.profile-container-horizon {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    width: 100%;
    margin: 25px 0 50px;
    box-sizing: border-box;
}

/* Grid/list profile */
.profile-pictures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 35px 28px;
    width: 100%;
    margin: 20px 0 50px;
    box-sizing: border-box;
}

/* Card profile - penting: jangan pakai height fixed */
.profile {
    width: 230px;
    min-height: 340px;
    height: auto !important;
    border: none !important;
    border-radius: 12px !important;
    text-align: center;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    /* Override style lama */
    background: transparent;
}

/* Foto profile */
.profile img.circle-image,
.circle-image {
    width: 150px !important;
    height: 150px !important;
    max-width: 150px !important;
    min-width: 150px !important;
    border-radius: 50% !important;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px;
    cursor: pointer;
}

/* Nama profile */
.profile p {
    margin: 0 0 6px;
    line-height: 1.4;
    font-size: 14px;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
}

.profile p strong {
    font-weight: bold;
}

/* Afiliasi di bawah nama */
.profile-affiliation {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
    font-weight: normal;
    text-align: center;
    overflow-wrap: break-word;
}

/* Reviewer */
.reviewers {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid #eee;
}

.reviewer-list {
    padding-left: 20px;
    border-left: 2px solid #000;
    font-size: 16px;
}

.reviewer-list p {
    margin: 0 0 12px;
    line-height: 1.6;
    font-size: 15px;
    text-align: left;
}


/* ==============================
   MODAL STYLE
   ============================== */

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    padding: 40px 15px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: #fff;
    margin: auto;
    padding: 25px;
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.modal-content h2 {
    margin: 15px 0 8px;
    line-height: 1.3;
    font-weight: bold;
    color: #000;
}

.modal-content p {
    line-height: 1.6;
    font-size: 14px;
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.modal-image {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.modal-text h3 {
    margin: 10px 0;
}

.modal-text p {
    margin: 5px 0;
}

.social-link {
    margin-top: 15px;
}

.social-link img {
    width: 24px;
    height: 24px;
}


/* ==============================
   CAROUSEL
   ============================== */

.carousel-indicators .active {
    margin: 0;
    width: 0px;
    height: 0px;
    background-color: #000;
}

.carousel-indicators li {
    border: 0px solid #000;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 15px;
    color: white;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5%;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    left: 97%;
}

i.fas {
    font-size: 20px;
}


/* ==============================
   FOOTER
   ============================== */

.footer[role="contentinfo"] {
    background: url("https://journalpmresearch.com/images/Footer-JPMR.png");
}


/* ==============================
   CONTENT LOGIN / CITATION
   ============================== */

.content-login {
    padding: 5px;
}

.citation-edit {
    margin-top: 12px;
    font-size: 16px;
}


/* ==============================
   WHITE PAPER
   ============================== */

.white-paper-container {
    padding: 20px;
    text-align: justify;
    font-family: Arial, sans-serif;
}

.white-paper-item {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    flex-direction: row;
    gap: 20px;
}

.white-paper-image {
    width: 20%;
    max-width: 100%;
    height: auto;
    margin-right: 20px;
}

.white-paper-content h3 {
    color: #333;
    font-weight: bold;
}

.white-paper-content p {
    color: #999;
    margin: 5px 0;
}

.download-btn {
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}


/* ==============================
   AGILE CONTENT
   ============================== */

.agile-container {
    max-width: 800px;
    background-color: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: justify;
}

.agile-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.agile-header img {
    width: 40%;
    margin-right: 20px;
    border-radius: 4px;
}

.agile-content h1 {
    font-size: 24px;
    margin: 0;
    color: #333;
}

.agile-content p {
    margin: 20px 0;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

.agile-citation {
    font-style: italic;
    color: #777;
}

.agile-download-section {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.agile-download-section select,
.agile-download-section button {
    padding: 10px;
    font-size: 16px;
    margin-right: 10px;
}

.agile-download-button {
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.agile-download-button:hover {
    background-color: #004494;
}


/* ==============================
   SUBMISSION PAGE CARD
   ============================== */

.container-submission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
}

.card {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    text-align: justify;
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.card a {
    color: #3c8dc0;
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

.card .button {
    display: inline-block;
    background-color: #3c8dc0;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
}

.card button:hover {
    background-color: #0056b3;
}


/* ==============================
   TABLE PRICING / CONTACT
   ============================== */

.table-pricing {
    width: 50%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.table-pricing th,
.table-pricing td {
    border: 1px solid black;
    padding: 10px;
}

.table-pricing th {
    background-color: white;
    color: black;
    text-align: center;
}

.table-pricing td {
    color: black;
}

.contact-info {
    font-size: 14px;
    color: #555;
    padding: 10px;
}


/* ==============================
   EDITOR / REVIEWER LEFT BORDER
   ============================== */

.editor-section,
.reviewer-section {
    padding-left: 20px;
    margin-left: 10px;
    border-left: 3px solid black;
}


/* ==============================
   MOBILE RESPONSIVE
   ============================== */

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .issn-search-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search-container {
        width: 100%;
    }

    .media-list > div,
    .media-list-article > div {
        flex-basis: 100%;
        width: 100%;
    }

    #nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
    }

    .navbar-collapse {
        display: none;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .navbar-collapse.active {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-height: 300px;
        overflow-y: auto;
        padding: 10px;
        background-color: #fff;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }

    .menu-toggle {
        display: inline-block;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .nav.navbar-nav {
        flex-direction: column !important;
        width: 100%;
    }

    .nav.navbar-nav > li {
        width: 100%;
    }

    .nav.navbar-nav > li > a {
        display: block;
        padding: 10px;
        text-align: left;
        box-sizing: border-box;
    }

    .search-form {
        width: 100%;
        margin-top: 10px;
    }

    .white-paper-item {
        flex-direction: column;
        align-items: center;
    }

    .white-paper-image {
        order: -1;
        width: 100%;
        margin-bottom: 10px;
    }

    .agile-header {
        flex-direction: column;
    }

    .agile-header img {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .container-submission {
        grid-template-columns: 1fr;
    }

    .table-pricing {
        width: 100%;
    }

    .editorial-board,
    .reviewers {
        padding: 18px;
    }

    .profile-container-horizon {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        margin-top: 10px;
        margin-bottom: 35px;
    }

    .profile-pictures {
        gap: 25px;
        margin-bottom: 35px;
    }

    .profile {
        width: 100%;
        max-width: 280px;
        min-height: auto;
        padding: 12px;
    }

    .profile img.circle-image,
    .circle-image {
        width: 130px !important;
        height: 130px !important;
        max-width: 130px !important;
        min-width: 130px !important;
    }

    .profile p {
        font-size: 14px;
    }

    .profile-affiliation {
        font-size: 13px;
    }

    .reviewer-list {
        font-size: 14px;
        padding-left: 15px;
    }

    .reviewer-list p {
        font-size: 14px;
    }

    .modal {
        padding: 25px 12px;
    }

    .modal-content {
        padding: 22px 18px;
    }
}