* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #212529;
}

#maincol {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Manuscript Information Box */
.manuscript-info {
    background: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
}

.manuscript-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    color: #172b4d;
    border-bottom: 1px solid #ccc;
}

.manuscript-info fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

/* Grid System */
.row {
    margin-bottom: 0;
}

.grid-x {
    display: flex;
    flex-wrap: wrap;
}

.grid-padding-x {
    margin-left: -0.625rem;
    margin-right: -0.625rem;
}

.grid-padding-x > .cell {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.grid-margin-y {
    margin-top: -0.625rem;
    padding-bottom: 0.225rem;
}

.grid-margin-y > .cell {
    margin-top: 0.625rem;
}

.cell {
    flex: 0 0 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

.cell.small-12 {
    flex: 0 0 auto;
    width: 100%;
}

.cell.large-2 {
    flex: 0 0 auto;
    width: 16.66667%;
    text-align: right;
    padding-right: 1rem;
    font-size: 14px;
    color: #0A0A0A;
    font-weight: 450;
}

.cell.large-8 {
    flex: 0 0 auto;
    width: 66.66667%;
    font-size: 14px;
    color: #0A0A0A;
    font-weight: 400;
}

.break-word {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Author Table */
.general-table {
    width: 100%;
    border-collapse: collapse;
}

.general-table td {
    padding: 0px 8px 2px 0;
    vertical-align: top;
    font-size: 14px;
}

.general-table img {
    vertical-align: middle;
    margin-left: 4px;
}

.morandiRed {
    color: #ff0000;
}

/* Ethics Issue Box */
.ethics-issue-box {
    background: #fff;
    padding: 10px 20px;
    /* margin-bottom: 20px; */
}

/* Content sections container */
.content-sections {
    background: #fff;
    margin-bottom: 20px;
}

.ethics-issue-box fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.ethics-issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.ethics-issue-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #172b4d;
}

.edit-issue-btn {
    background: #0156ce;
    color: #fff;
    border: 1px solid #0156ce;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.edit-issue-btn:hover {
    background: #014bb5;
    border-color: #014bb5;
}

/* Details Table */
.details-table {
    width: 100%;
    border-collapse: collapse;
}

.details-table tr {
    border-bottom: none;
}

.details-table tr:nth-child(odd) {
    background-color: #fefefe;
}

.details-table tr:nth-child(even) {
    background-color: #f1f1f1;
}

.details-table tr:hover {
    background-color: #ffffdd;
}

.details-table th {
    width: 16.66667%;
    text-align: left;
    padding: 10px 0.625rem;
    font-weight: 400;
    font-size: 12px;
    color: #000;
    vertical-align: top;
}

.details-table td {
    padding: 10px 0.625rem;
    font-size: 12px;
    color: #000;
    vertical-align: top;
}

/* Content Box */
.content-box {
    background: #fff;
    border: none;
    padding: 10px 20px;
    margin-bottom: 0;
    position: relative;
}
.upfile {
    margin-left: 150px;
}

.content-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.edit-icon {
    position: absolute;
    margin-top: 35px;
    top: 20px;
    right: 20px;
    color: #4f5671;
    cursor: pointer;
    font-size: 18px;
}

.edit-icon:hover {
    color: #3156a2;
}

/* Comment Box */
.comment-box {
    background: #fff;
    border: none;
    padding: 10px 20px 30px 20px;
    margin-bottom: 0;
    position: relative;
    

}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 700;
}

.comment-date {
    color: #6c757d;
}

.change-history-box {
    background: #fff;
    border: none;
    padding: 10px 20px;
    margin-bottom: 0;
}

.change-history-box strong {
    display: block;
    margin-bottom: 10px;
}

.change-history-box ul {
    margin-left: 20px;
}

.change-history-box li {
    margin-bottom: 5px;
}

.editor-note {
    background: #fff;
    border: none;
    padding: 10px 20px;
    margin-bottom: 0;
    font-weight: 700;
}

/* Separator */
.separator {
    border-bottom: 1px solid #dee2e6;
    margin: 0 20px;
}

/* Links */
a {
    color: #3156a2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.green-link {
    color: #007f7f;
    font-weight: 700;
    /* margin-left: 150px; */
}

/* Icons */
.ms {
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    vertical-align: middle;
    color: #6c757d;
    cursor: pointer;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.ms:hover {
    color: #0d6efd;
}

.ms-filled {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.ms-note:before { content: "\e06f"; }
.ms-edit:before { content: "\e3c9"; }

.fa-plus-circle {
    color: #48516d;
    cursor: pointer;
}

.fa-trash {
    color: #48516d;
    font-size: 12px;
}

/* Buttons */
.btn-primary {
    background: #0156ce;
    color: #fff;
    border: 1px solid #0156ce;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 15px;

}

.btn-primary:hover {
    background: #014bb5;
}

/* Textarea */
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
}

/* File input */
input[type="file"] {
    font-size: 14px;
}

/* Utility */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.clearfix {
    display: flex;
    justify-content: flex-end;
}
.mb-2 {
    margin-bottom: 20px;
}

.text-muted {
    color: #6c757d;
}

.text-italic {
    font-style: italic;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-gray {
    color: #6c757d;
}

.tooltip-info {
    text-decoration: none;
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.popover-tooltip {
    cursor: pointer;
}

.copy-clipboard-btn {
    cursor: pointer;
}

/* Academic Editor Section */
.academic-editor-info {
    margin-bottom: 15px;
    font-size: 14px;
}

.academic-editor-info a {
    color: #3156a2;
    /* text-decoration: none;
    margin-left: 5px; */
}

.academic-editor-info a:hover {
    color: #0d6efd;
}

.academic-editor-info a:hover .ms {
    color: #0d6efd;
}

.academic-editor-info a:hover img {
    opacity: 0.7;
}

.academic-editor-info .ms {
    color: #6c757d;
    font-size: 16px;
    vertical-align: middle;
}

.academic-editor-info img {
    vertical-align: middle;
    transition: opacity 0.2s;
}

.academic-editor-actions {
    margin-top: 5px;
    font-style: italic;
    font-size: 14px;
}

.academic-editor-actions span {
    color: #3156a2;
    cursor: pointer;
}

.academic-editor-actions span:hover {
    text-decoration: underline;
}

/* =============================================
   Editor Selection Dialog (from susy-7515)
   ============================================= */
.editor-dialog .el-dialog__header {
    padding: 12px 20px;
    border-bottom: 1px solid #e5e5e5;
}

.editor-dialog .el-dialog__title {
    color: #4f5671;
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
}

.editor-dialog .el-dialog__headerbtn .el-dialog__close {
    color: #909399;
}

.editor-dialog .el-dialog__body {
    padding: 5px 10px !important;
    height: 750px;
    overflow: auto;
}

.editor-table-wrapper table {
    table-layout: fixed;
    word-wrap: break-word;
}

.editor-table-wrapper .el-table th {
    background-color: #4f5671;
    color: #ffffff;
    font-weight: 600;
}

.editor-table-wrapper .el-table thead.is-group th {
    background-color: #f2f2f2;
}

.editor-table-wrapper .el-link--primary {
    color: #3156A2;
}

.editor-table-link {
    color: #3156A2;
    cursor: pointer;
    font-size: 13px;
}

.editor-table-link:hover {
    text-decoration: underline;
}

.multi-line {
    white-space: normal;
    line-height: 1.4;
}

.editor-table-wrapper .el-input__inner {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 0 !important;
}

.editor-table-wrapper .el-input__inner:focus,
.editor-table-wrapper .el-input__inner.is-focus {
    border-color: #000;
    box-shadow: 0 0 0 1px rgba(79, 86, 113, 0.2);
}

.editor-table-wrapper .el-table td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.editor-table-wrapper .el-table .data-row-odd td {
    background-color: #F1F1F1;
}

.editor-table-wrapper .el-table--enable-row-hover .el-table__body tr:not(.filter-row):hover > td {
    background-color: #FFFFDD !important;
}

.editor-table-wrapper .el-table .filter-row {
    background-color: #f8f9fa;
}

.editor-table-wrapper .el-table .filter-row td {
    padding: 4px 2px;
    vertical-align: left;
}

/* Pagination */
.pagination_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
}

.pagination_nav .pagination {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination_nav .pagination li a,
.pagination_nav .pagination li span {
    display: inline-block;
    padding: 3px 3px;
    color: #3156A2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    border: 1px solid transparent;
    min-width: 20px;
    text-align: center;
}

.pagination_nav .pagination li.current span {
    background-color: #4f5671;
    color: #ffffff;
    border-color: #4f5671;
}

.pagination_nav .pagination li.disabled {
    color: #c0c4cc;
}

.pagination_nav .pagination li.disabled span {
    cursor: default;
    color: #c0c4cc;
}

.pagination_nav .pagination li.ellipsis span {
    padding: 4px 6px;
    color: #606266;
    border: none;
}

.pagination_nav .pagination li a:hover {
    color: #000000;
    text-decoration: none;
    background: #e6e6e6;
}

.pagination_nav .ui-paging-tool {
    margin-left: 25px;
}

.pagination_nav .ui-paging-tool ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination_nav .ui-paging-tool li {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #3156A2;
}

.pagination_nav .ui-paging-tool input {
    width: 40px;
    height: 24px;
    border: 1px solid #dcdfe6;
    border-radius: 0;
    padding: 0 4px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.pagination_nav .ui-paging-tool input:focus {
    border-color: #4f5671;
    outline: none;
}

.pagination_nav .ui-paging-tool a {
    color: #3156A2;
    cursor: pointer;
    padding: 4px 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: inline-block;
    min-width: 20px;
    text-align: center;
}

.pagination_nav .per-page-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.pagination_nav .per-page-wrap span {
    color: #606266;
}

.pagination_nav .per-page-wrap .page-limit-select {
    height: 24px;
    font-size: 13px;
    border: 1px solid #dcdfe6;
    border-radius: 0;
    padding: 0 4px;
}

.pagination_nav .per-page-wrap .page-limit-select:focus {
    border-color: #4f5671;
    outline: none;
}
