
.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}


.avatar span {
    background-color: #7fb77f;
    color: white;
    display: block;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    line-height: 0;
    padding-top: 20px;
}


.field-validation-error {
    color: red;
    font-size: 12px;
}

.authentication-inner-register {
    flex: 0 0 100%;
}

.authentication-wrapper.authentication-basic .authentication-inner:before,
.authentication-wrapper.authentication-basic .authentication-inner:after,
.light-style .authentication-wrapper.authentication-basic .authentication-inner:after {
    background-image: none;
}


.logo-txt {
    /*font-family: "Cherry Swash", serif;*/
    font-size: 28px;
    text-align: center;
    font-weight: bold;
}

.logo-txt--editor {
    color: #dc3545;
}

.logo-txt--author {
    color: #198754;
}

.logo-txt--reviewer {
    color: #0d6efd;
}

.mobile-menu-close {
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-navigation {
    position: sticky;
    top: 0;
    z-index: 1025;
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.12);
    background: #fff;
    box-shadow: 0 2px 6px rgba(67, 89, 113, 0.08);
}

.mobile-navigation-brand {
    color: #566a7f;
    font-family: "Cherry Swash", serif;
    font-size: 1.75rem;
    line-height: 1;
}

.mobile-navigation-brand:hover,
.mobile-navigation-brand:focus {
    color: #7fb77f;
}

.mobile-navigation-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: #566a7f;
    font-size: 1.75rem;
    cursor: pointer;
}

.mobile-navigation-toggle:hover,
.mobile-navigation-toggle:focus-visible {
    background: rgba(127, 183, 127, 0.14);
    color: #4f8f4f;
}

.pagination {
    margin-bottom: 0;
}

.list-group {
    background: #f5f5f5;
}


dialog {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    min-width: 400px;
    text-align: center;
    font-family: Arial, sans-serif;
}

    dialog::backdrop {
        background: rgba(0, 0, 0, 0.4);
    }


.table-sm-font {
    font-size: 14px;
}

/* Subtle horizontal scrollbars for responsive tables throughout the app. */
.table-responsive {
    scrollbar-color: rgba(86, 106, 127, 0.3) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
}

.table-responsive::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background-color: rgba(86, 106, 127, 0.28);
}

.table-responsive:hover::-webkit-scrollbar-thumb {
    background-color: rgba(86, 106, 127, 0.48);
}

.table-responsive::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}



/* Individual Status Colors */
.bg-label-draft {
    background-color: #f8f9fa; /* light gray */
    color: #6c757d; /* gray text */
    border: 1px solid #dee2e6;
}

.bg-label-submitted {
    background-color: #e7f1ff; /* soft blue */
    color: #0d6efd; /* Bootstrap primary */
    border: 1px solid #b6d4fe;
}

.bg-label-under-review {
    background-color: #fff3cd; /* soft yellow */
    color: #856404;
    border: 1px solid #ffeeba;
}

.bg-label-revisions-required {
    background-color: #fff4e5; /* soft orange background */
    color: #d98300; /* strong orange text */
    border: 1px solid #ffd6a0;
}

.bg-label-accepted {
    background-color: #d1e7dd; /* soft green */
    color: #0f5132;
    border: 1px solid #badbcc;
}

.bg-label-rejected {
    background-color: #f8d7da; /* light red */
    color: #842029;
    border: 1px solid #f5c2c7;
}

.bg-label-published {
    background-color: #e2f0d9; /* soft greenish */
    color: #198754; /* Bootstrap success */
    border: 1px solid #badbcc;
}


.labeled-item {
    margin-bottom: 1.5rem;
}

.reviewer-meta {
    font-size: 14px;
    font-weight: normal;
}

.review-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.review-card {
    min-width: 0;
    border: 1px solid rgba(67, 89, 113, 0.16);
    border-left: 4px solid var(--review-accent, #8592a3);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.125rem 0.375rem rgba(67, 89, 113, 0.08);
    overflow: hidden;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(67, 89, 113, 0.12);
    background: rgba(67, 89, 113, 0.025);
}

.review-card__body {
    padding: 1.25rem;
    overflow-wrap: anywhere;
}

.review-card--success { --review-accent: #71dd37; }
.review-card--yellow { --review-accent: #ffdb58; }
.review-card--orange { --review-accent: #ff9f43; }
.review-card--danger { --review-accent: #ff3e1d; }

.review-card .labeled-item:last-child {
    margin-bottom: 0;
}


span.form-label {
    margin-bottom: 0.5rem;
}

.tab-content ul {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.tab-scroll-hint {
    display: none;
}

@media (max-width: 767.98px) {
    .review-card-grid {
        grid-template-columns: 1fr;
    }

    .review-card__header {
        flex-direction: column;
        gap: 0.625rem;
    }

    .nav-tabs {
        flex-wrap: nowrap;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs .nav-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .nav-tabs .nav-link {
        min-height: 44px;
        white-space: nowrap;
    }

    .nav-tabs.is-scrollable + .tab-scroll-hint {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.35rem;
        padding: 0.35rem 0.75rem;
        background: linear-gradient(90deg, transparent, rgba(127, 183, 127, 0.12));
        color: #697a8d;
        font-size: 0.75rem;
    }

    .tab-scroll-hint-arrow {
        color: #4f8f4f;
        font-size: 1rem;
        font-weight: 700;
    }
}

.filters {
    display: grid;
    grid-template-columns: minmax(14rem, 2fr) minmax(9rem, 1fr) minmax(10rem, 1fr) auto auto;
    gap: 1rem;
    align-items: end;
}

.filters > div {
    min-width: 0;
}

.editor-search-drafts {
    display: flex;
    min-height: 38px;
    align-items: center;
    white-space: nowrap;
}

.editor-search-actions {
    display: flex;
    gap: 0.5rem;
}

.editor-filters-toggle .filters-hide-label {
    display: none;
}

.editor-filters-toggle[aria-expanded="true"] .filters-show-label {
    display: none;
}

.editor-filters-toggle[aria-expanded="true"] .filters-hide-label {
    display: inline;
}

@media (max-width: 991.98px) {
    .editor-search-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .editor-search-title,
    .editor-search-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .editor-filters-body {
        border-top: 1px solid rgba(67, 89, 113, 0.12);
    }
}

@media (max-width: 575.98px) {
    .editor-search-filters {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.875rem;
    }

    .editor-search-title,
    .editor-search-actions {
        grid-column: auto;
    }

    .editor-search-actions > .btn {
        flex: 1 1 0;
    }
}

.form-label {
    display:block;
}


small {
    color: #bbb;
}

.list-group-white {
    background-color: white;
}


.action-block, .action-block-2 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: solid 1px #eee;
}

.acceptance-eligibility-explanation {
    font-size: 12px;
    padding-block: 1rem;
}


    .action-block:last-child, .action-block-2:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom-width: 0;
    }

    .action-block > a, .action-block-2 > a {
        display: block;
        font-size: 1rem;
        font-weight: bold;
    }

@keyframes reviewer-invitation-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

.reviewer-invitation-action {
    align-items: center;
    display: flex !important;
    gap: .35rem;
}

.reviewer-invitation-arrow {
    animation: reviewer-invitation-blink 1.4s ease-in-out infinite;
    fill: none;
    flex: 0 0 auto;
    height: 1.1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
    .reviewer-invitation-arrow {
        animation: none;
    }
}

.todo {
    opacity: .4 !important;
}

.todo a {
    color: rgb(105, 122, 141) !important;
}


.danger {
    color: #e45a67;
}

.danger a {
    color: inherit !important;
}


.light-text {
    color: #ccc;
}

.strike {
    text-decoration: line-through;
    font-size: 14px;
    color: #aaa;
}

.divider-text {
    color: #7fb77f;
}

.divider .divider-text:before, .divider .divider-text:after {
    border-top: 1px solid #7fb77f;
}

.menu-user-info {
    position: absolute;
    /* right: 1.5rem; */
    bottom: 0;
    /* left: 1.5rem; */
    line-height: 1.5;
    overflow-wrap: anywhere;
    padding: 1.5rem;
    background: #f7f7f7;
    width: 100%;
}

.menu-user-info .menu-header-text,
.menu-user-info .menu-header-text > span {
    display: block;
}

.layout-menu > .menu-user-role {
    align-self: flex-start;
    display: inline-block;
    width: fit-content;
    margin: 0 2rem 0.75rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid currentColor;
    border-radius: 999px;
}

.layout-menu > .menu-user-role--editor {
    color: #dc3545;
}

.layout-menu > .menu-user-role--author {
    color: #198754;
}

.layout-menu > .menu-user-role--reviewer {
    color: #0d6efd;
}

.menu-user-info .menu-user-logout {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}

.menu-user-info .menu-user-logout .bx {
    flex: 0 0 auto;
    font-size: inherit;
}



.bg-label-success {
    color: #2b7503 !important;
}

.bg-label-yellow {
    background-color: #fff2cc !important;
    color: #806000 !important;
}

.bg-label-orange {
    background-color: rgba(253, 126, 20, 0.16) !important;
    color: #d96500 !important;
}
.draft-row > td:nth-child(-n+3) {
    opacity: 0.5;
}

footer {
    font-size: 12px;
}

.center {
    text-align: center;
}

.bg-label-secondary {
    background-color: #e1e1e1 !important;
}

/*@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 90%;
    }
}*/
