﻿
/* =========================
   GLOBAL VARIABLES
========================= */
:root {
    /* Fonts */
    --font-body: 'inter', sans-serif;
    --font-heading: 'inter', sans-serif;
    --font-footer: 'inter', sans-serif;
    /* Colors */
    --color-white: #fff;
    --color-orange: #ff9900;
    --color-primary: #5b1118;
    /*Orange Banner section*/
    --banner-background-color: #eee;
    --banner-section-heading: #000;
    --breadcrumb-text: #000;
    /*common blue text links*/
    --text-links-blue: #5b1118;
    /*news and announcements right sidebar*/
    --orange-links: #5b1118;
    --editorial-calendar-color: #ccc;
    /*buttons*/
    --button-color-primary: #5b1118;
    --button-color-primary-hover: #7e040f;
    /*left sidebar (on this page) links */
    --text-links-blue2: #5b1118;
    --section-list-li-hover: #5b1118;
    /*archieve link hover */
    --archieve-link-hover-color: #5b1118;
    /*archieve detail page */
    --archieve-detail-link-color: #5b1118;
    --archieve-calendar-icon-color: #5b1118;
    /*news page */
    --news-page-link: #5b1118;
    --news-page-read-more: #5b1118;
    --news-page-date: #000;
    /*news detail page*/
    --news-detail-heading-color: #5b1118;
    --news-detail-sidebar-heading: #5b1118;
    --news-detail-sidebar-main-link: #5b1118;
    --news-detail-sidebar-read-news-link: #0d6efd;
    --news-detail-sidebar-view-all-news: #5b1118;
    /*article detail page */
    --article-heading-color: #5b1118;
    --article-right-sidebar-link: #5b1118;
    --article-small-icons-color: #5b1118;
    /*card header*/
    --card-header: #24282b;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.main-header {
    padding: 10px 0;
    background-color: var(--color-white);
    display: block;
    border-bottom: none;
}

.search-btn {
    background: transparent;
    border: none;
    color: #000;
}

.submit-btn {
    background-color: #0088cc;
    font-family: "opensans", sans-serif;
    color: #fff;
}

    .submit-btn:hover {
        background-color: var(--color-orange);
    }

.form-control, .form-select {
    padding: 3px 6px;
    font-size: 13px;
}

.btn {
    display: inline-block;
    padding: 3px 10px;
    font-weight: normal;
    /*    font-size: 15px;*/
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    padding: 2px 16px;
    font-size: 15px;
    font-weight: normal;
}

.btn-primary {
    background-color: var(--button-color-primary);
    border-color: var(--button-color-primary);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: var(--button-color-primary-hover) !important;
        border-color: var(--button-color-primary-hover) !important;
    }

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--color-primary) !important;
}

.navbar-nav .nav-item {
    margin: 0px;
}

.orange-bg {
    padding: 0px;
    background-color: var(--banner-background-color) !important;
    margin-top: 20px !important;
}

    .orange-bg h1, .orange-bg h4 {
        font-weight: 500 !important;
        color: var(--banner-section-heading);
    }
    .orange-bg .h2 {
        font-size: 2rem;
    }
.breadcrumb-text, .breadcrumb-text a {
    color: var(--breadcrumb-text) !important;
    font-weight: normal;
}

.name-link {
    color: var(--text-links-blue);
}

.news-title a {
    color: var(--orange-links) !important;
}

.news-date .fa-calendar-alt {
    color: var(--editorial-calendar-color) !important;
}

#sectionsList li:hover {
    background-color: var(--section-list-li-hover) !important;
}

.sidebar-body ul li a {
    color: var(--text-links-blue2);
    white-space: wrap !important;
}

.archive-link:hover {
    color: var(--archieve-link-hover-color) !important;
}

#newsListContainer .news-title a {
    color: var(--news-page-link) !important;
}

#newsListContainer .read-more {
    color: var(--news-page-read-more) !important;
}

#newsListContainer .news-date {
    color: var(--news-page-date) !important;
}

.journal-page .article-title {
    color: var(--article-heading-color);
    font-size: 16px;
    line-height: 1.45;
}

.journal-page .right-sidebar .article-card .title a {
    color: var(--article-right-sidebar-link);
    font-weight: bold;
}

.journal-page .right-sidebar .article-card .text-danger {
    color: var(--article-small-icons-color) !important;
}

.pub-item h3 a {
    color: var(--archieve-detail-link-color) !important;
}

.pub-item .fa-calendar-days {
    color: var(--archieve-calendar-icon-color) !important;
}

.pub-item .fa-eye {
    color: var(--archieve-calendar-icon-color) !important;
}

.pub-item .links .text-danger {
    color: var(--article-small-icons-color) !important;
}

.news-detail-title {
    color: var(--news-detail-heading-color);
}

.recent-news-sidebar .sidebar-title {
    color: var(--news-detail-sidebar-heading);
}

.recent-news-sidebar .recent-news-item .news-text a.no-underline {
    color: var(--news-detail-sidebar-main-link) !important;
}

.recent-news-sidebar .recent-news-item .news-text .read-news-link {
    color: var(--news-detail-sidebar-read-news-link);
}

.recent-news-sidebar .read-more {
    color: var(--news-detail-sidebar-view-all-news) !important;
}

.section-title {
    background-color: transparent;
    color: var(--color-primary);
    /*    padding:0px;
*/
}

.sticky-top {
    position: static;
}

#sectionsList li {
    align-items: flex-start !important;
}

    #sectionsList li:hover i {
        color: #fff;
    }

#sectionsList .drag-handle i {
    font-size: 12px;
    color: var(--color-primary);
}





.main-footer {
    background-color: #002133;
    color: #fff;
    padding: 50px 30px 20px 30px;
    font-family: 'opensans', sans-serif;
}

.footer-heading {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 16px;
    margin-top: 0px;
}

.footer-links li {
    margin-bottom: 5px;
    line-height: 24px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 1;
}

    .footer-links a:hover {
        opacity: 1;
        text-decoration: none;
    }

.footer-bottom {
    display: block;
    padding-top: 0px;
    margin-top: 0px;
}

.scroll-up-btn {
    position: static;
}

.copyright-text {
    color: #fff;
    font-size: inherit;
    margin-bottom: 0px;
}

.img-responsive-fix img {
    max-width: 100%;
    height: auto;
}

.active > .page-link, .page-link.active {
    background-color: #0088cc;
    border-color: #0088cc;
}

.page-link {
    color: #0088cc;
}

.sticky-top {
    z-index: 0;
}

.card-header {
    background-color: var(--card-header) !important;
}

    .card-header h4 {
        font-size: 18px;
    }

.pagination {
    margin-bottom: 0px;
}

    .pagination .page-link {
        font-size: 13px;
    }

@media (max-width: 1199px) {
    .navbar-nav {
        align-items: flex-start;
        gap: 0px;
        text-align: left;
    }
}

@media only screen and (min-width: 768px) and (max-width: 768px) {
    .header-actions {
        flex-direction: row;
        width: auto;
        top: 0px;
        right: 90px;
        left: auto;
        transform: none;
    }

    .submit-btn {
        width: auto;
    }
}

@media (max-width:767px) {
    .header-actions {
        flex-direction: row;
        width: auto;
    }

    .submit-btn {
        width: auto;
    }

    .main-header {
        margin-bottom: 60px;
    }

    .orange-bg.banner-section .d-flex {
        flex-direction: row;
        gap: 20px;
    }

    .editorial-board-container h3 {
        font-size: 20px;
    }

    .journal-page .right-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 375px) {
    .header-actions {
        gap: 0.5rem !important;
    }
}

.archive-link {
    display: inline-block;
    transition: all 0.25s ease;
    cursor: pointer;
}


.article-dates {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    /*    font-weight: bold;
*/
}

    .article-dates span {
        white-space: nowrap;
    }

.author-box {
    margin-bottom: 10px;
}

.article-dates {
    margin-bottom: 10px;
    font-size: 13px;
}

.article-doi {
    font-size: 13px;
}

/* =========================
   WORKFLOW
========================= */

.workflow-container {
    background: #edf1f5;
    padding: 30px;
}

    .workflow-container h1 {
        font-size: 35px;
        margin-bottom: 25px;
    }

.workflow-card {
    background: #fff;
    border: 1px solid #ddd;
}

.workflow-tabs {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.workflow-tab {
    padding: 15px 25px;
    color: #0b6ea8;
    font-weight: bold;
    cursor: pointer;
}

    .workflow-tab.active {
        border-top: 3px solid #27aae1;
        color: #333;
    }

.help {
    margin-left: auto;
    padding-right: 25px;
    color: green;
}

.workflow-body {
    display: flex;
}

.workflow-menu {
    width: 230px;
    border-right: 1px solid #ddd;
    padding: 20px;
}

.workflow-link {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: #0b6ea8;
    font-weight: bold;
}

    .workflow-link.active {
        border-left: 4px solid #27aae1;
        background: #f5f8fa;
        color: #333;
    }

.workflow-content {
    flex: 1;
    padding: 25px;
}

.metadata-page {
    padding: 25px;
}

.setting-box {
    border: 0.5px solid #d9d9d9;
    margin-bottom: 10px;
    padding: 10px;
}

    .setting-box legend {
        font-weight: 500;
        color: #444;
        margin-top: -8px;
        margin-block-end: auto;
    }

    .setting-box p {
        margin: 1px 0 05px;
        line-height: 1.6;
    }

    .setting-box label {
        display: block;
        font-size: 14px;
        color: #333;
    }

.options {
    margin-top: 0px;
    margin-left: 16px;
}


input[type="checkbox"],
input[type="radio"] {
    margin-right: 8px;
}

.save-section {
    text-align: right;
}


.components-page {
    padding: 10px;
}

.component-card {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

    .card-header h2 {
        margin: 0;
        font-size: 20px;
        color: #333;
    }

.actions {
    display: flex;
    gap: 8px;
}

    .actions button {
        padding: 6px 13px;
        background: #fff;
        border: 1px solid #cfd6dc;
        color: #0b6ea8;
        font-weight: 600;
        cursor: pointer;
    }

        .actions button:hover {
            background: #f5f8fb;
        }

.component-list {
    width: 100%;
}

.component-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px dashed #d9d9d9;
    font-size: 16px;
    color: #333;
}

    .component-item:last-child {
        border-bottom: none;
    }

.drag {
    color: #0b6ea8;
    font-size: 18px;
    cursor: move;
    width: 20px;
    text-align: center;
}

.component-item:hover {
    background: #fafafa;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px;
    border-top: 1px solid #ddd;
}

.done-btn,
.cancel-btn {
    padding: 10px 18px;
    border: 1px solid #cfd6dc;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
}

.done-btn {
    color: #0b6ea8;
    font-weight: 600;
}

.cancel-btn {
    color: #d21872;
    font-weight: 600;
}

    .done-btn:hover,
    .cancel-btn:hover {
        background: #f8f8f8;
    }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #eee;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
}

.component-modal {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h3 {
        margin: 0;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 38px;
    cursor: pointer;
    color: #444;
}

.modal-body {
}



.form-group label {
    display: block;
}

.required {
    color: #d62828;
}

.form-control {
    width: 100%;
    height: 42px;
    border: 1px solid #cfcfcf;
    padding: 10px;
    font-size: 16px;
}

.form-group h3 {
    margin-bottom: 2px;
    font-size: 20px;
    color: #333;
}

.form-group p {
    color: #666;
    font-size: 15px;
}

.checkbox,
.radio {
    display: flex;
    font-weight: normal;
}

.key-input {
    width: 250px;
    height: 40px;
    border: 1px solid #ccc;
    padding: 10px;
}

.note-box {
    display: inline-block;
    background: #eef5f8;
    border-left: 4px solid #2d9cdb;
    padding: 18px;
    color: #444;
    font-style: italic;
    font-size: 12px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid #ddd;
}

.cancel-btn {
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #cfd6dc;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
}


.cancel-btn {
    color: #c2185b;
}

    .cancel-btn:hover {
        background: #f5f5f5;
    }

#componentErrorList li {
    color: red;
}
/* Main Content */
.workflow-container {
    margin: 30px auto;
    background: #fff;
}

/* Right Panel */
.workflow-content {
    padding: 10px;
}

/* Sections */
.guidance-section {
    margin-bottom: 28px;
}

    .guidance-section h4 {
        font-size: 15px;
        color: #333;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .guidance-section p {
        font-size: 13px;
        color: #666;
        line-height: 1.6;
        margin-bottom: 12px;
    }

/* Editor */
.editor {
    border: 1px solid #d8d8d8;
    background: #fff;
}

.editor-toolbar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
    border-bottom: 1px solid #ddd;
    background: #fafafa;
}

    .editor-toolbar button {
        border: none;
        background: none;
        cursor: pointer;
        font-size: 14px;
    }

.editor textarea {
    width: 100%;
    min-height: 140px;
    border: none;
    resize: vertical;
    padding: 12px;
    outline: none;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* Inputs */
input[type=text],
select {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding: 8px 10px;
}

/* Buttons */
.workflow-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px 25px;
    border-top: 1px solid #ddd;
}

    .workflow-footer button {
        padding: 9px 22px;
        border: 1px solid #cfd7df;
        background: #fff;
        color: #0b6ea8;
        cursor: pointer;
        font-weight: 600;
    }

        .workflow-footer button:hover {
            background: #f5f8fb;
        }

/* Left Menu */
.workflow-sidebar {
    width: 220px;
}

.archives-heading h1, .archives-subtitle {
    color: var(--banner-section-heading);
}

.archive-volume-bar {
    background-color: var(--color-primary);
}

.archive-issue-card,
.archive-volume-footer a,
.archive-volume-footer button {
    color: var(--color-primary);
}
