:root {
    --primary-color: #003049;
    --secondary-color: #669BBC;
    --accent-color: #EE6352;
    --light-bg: #F8F9FA;
    --dark-text: #212529;
}

.breadcrumb {
    font-size: 18px;
}

.breadcrumb li {
    color: #333;
    display: inline;
    font-size: 14px;
    margin-top: -15px;
}

.breadcrumb li a {
    color: #333;
    text-decoration: none;
}

.breadcrumb li+li:before {
    content: ">";
    padding: 0 8px;
    color: #333;
}

.breadcrumb li:last-child {
    color: #333;
}

.badge-research {
    border-radius: 50px;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 20px;
    color: var(--primary-color);
    background-color: #e3f2fd;
}

.badge-open-access {
    background-color: var(--accent-color);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-research i,
.badge-open-access i {
    font-size: 10px;
}

.bi {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.d-flex.align-items-center {
    line-height: 1.8;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-accent,
.btn-outline-primary {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #d95847;
    border-color: #d95847;
    color: white;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 2rem;
}

.badge {
    font-weight: normal;
}

.abstract-content {
    line-height: 1.8;
    font-size: 1.5rem;
}

.divider {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 0;
    opacity: 0.5;
}

.citation-card .row>div {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.citation-card .text-muted {
    font-size: 1.5rem;
}

.citation-card .text-dark {
    font-size: 1.5rem;
}

.citation-card a {
    color: var(--primary-color);
}

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

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
    text-align: center;
}

.nav-tabs .nav-link {
    color: #212529;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 500;
    background-color: transparent;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: var(--primary-color);
}

.section-link {
    color: #212529;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-link:hover {
    color: var(--primary-color);
}

.section-text {
    font-size: 1.1rem;
}

.tab-content {
    padding: 1rem 0.5rem;
    background: #b2d4ed;
}

.list-unstyled {
    background: #b2d4ed;
}

.list-unstyled li {
    border-bottom: 1px solid black;
    width: 75%;
}

.section-link i {
    font-size: 1.5rem;
    width: 30px;
    color: var(--primary-color);
    text-align: center;
}

.section-link {
    font-size: 1.3rem;
    font-weight: bold;
    width: 30px;
    color: var(--primary-color);
    text-align: center;
}

.section-link:hover {
    color: #e66030;
}

.section-link:hover i {
    color: #e66030;
}

.article-content h2 {
    color: var(--dark-text);
    font-size: 1.5rem;
    margin-top: 2rem;
}

.article-content {
    line-height: 1.8;
}

.section-content {
    color: #212529;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 1rem;
    color: #212529;
}

/* Style for any links within the content */
.section-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.section-content a:hover {
    text-decoration: underline;
}

/* Style for any lists within the content */
.section-content ul,
.section-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

/* Style for any tables within the content */
.section-content table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

/* Abstract editor styling */
.abstract-editor {
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.8;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Edit button styling */
.btn-outline-primary {
    font-size: 0.9rem;
    padding: 0.25rem 0.75rem;
}

.btn-outline-primary i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.abstract-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    width: 100%;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

/* Author Information Styling */
.author-info {
    font-size: 1rem;
    line-height: 1.5;
    padding-bottom: 10px;
}

.author-info p {
    margin-bottom: 0.5rem;
    color: #212529;
}

.author-info p:first-child {
    font-weight: bold;
    font-size: 1.15rem;
    color: #000;
}

.author-info p:nth-child(2) {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #212529;
}

/* Contact Email Link Styling */
.contact-email {
    margin-top: 0.5rem;
}

.contact-email-link {
    color: #212529;
    font-size: 1rem;
    display: inline-block;
    transition: text-decoration 0.2s ease;
}

.contact-email-link:hover {
    color: #212529;
    text-decoration: underline !important;
}

.contact-email-link i {
    font-size: 1rem;
    transition: none;
    color: var(--primary-color);
    position: relative;
    top: 1px;
}

/* Author divider line */
.author-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    opacity: 0.2;
    width: 100%;
}

/* Format Author Information section */
#author-information .card {
    background-color: #f8f9fa;
    border: none;
    margin-bottom: 15px;
}

#author-information .card-body {
    padding: 20px;
}

/* Add responsive styles for mobile devices */
@media (max-width: 768px) {
    .mobile-order-0 {
        order: 0;
    }

    .mobile-order-1 {
        order: 1;
    }

    .mobile-order-2 {
        order: 2;
    }

    .mobile-full-width {
        width: 100%;
    }

    .sections-sidebar {
        margin-bottom: 2rem;
    }
}

.orcid-hover {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.orcid-hover:hover .orcid-icon {
    transform: scale(1.2);
}

.author-info-card {
    padding: 15px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.author-info-card .affiliation {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.author-info-card .education,
.author-info-card .employment {
    margin-top: 10px;
}

.author-info-card .section-title {
    font-weight: bold;
    color: #003049;
    margin-bottom: 5px;
}

.author-container {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.author-name:hover {
    color: #003049;
}

.orcid-icon {
    transition: transform 0.2s;
}

.author-container:hover .orcid-icon {
    transform: scale(1.2);
}

.popover {
    max-width: 400px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    padding: 0;
}

.author-info-card {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #fff;
}

.author-info-header {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e5e5;
}

.author-name-title {
    font-size: 16px;
    font-weight: 600;
    color: #2E77A7;
    margin: 0;
}

.author-info-content {
    padding: 15px;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    width: 80px;
    color: #666;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    flex-grow: 1;
}

.info-value a {
    color: #2E77A7;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.author-hover-trigger {
    cursor: pointer;
    text-decoration: underline;
    color: #2E77A7;
    display: inline-flex;
    align-items: center;
}

.author-hover-trigger:hover {
    color: #1d4e6f;
}

.orcid-icon {
    vertical-align: middle;
}

.popover {
    max-width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

.author-dialog {
    padding: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.author-dialog .name {
    font-size: 14px;
    font-weight: 600;
    color: #2E77A7;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}

.author-dialog .info-item {
    font-size: 13px;
    margin-bottom: 6px;
    display: flex;
}

.author-dialog .info-item:last-child {
    margin-bottom: 0;
}

.author-dialog .label {
    color: #666;
    width: 70px;
    flex-shrink: 0;
}

.author-dialog .value {
    color: #333;
    flex-grow: 1;
}

.author-dialog .value a {
    color: #2E77A7;
    text-decoration: none;
}

.author-dialog .value a:hover {
    text-decoration: underline;
}

.loading-dialog {
    padding: 15px;
    text-align: center;
}

.loading-dialog .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.15em;
}

.author-info-tooltip {
    cursor: pointer;
    text-decoration: underline;
    color: #2E77A7;
}

.author-tooltip {
    font-size: 14px;
    line-height: 1.5;
    padding: 5px;
}

.tooltip {
    opacity: 1 !important;
}

.tooltip-inner {
    max-width: 400px !important;
    padding: 0 !important;
    background-color: white !important;
    color: #333 !important;
    text-align: left !important;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-tooltip {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.author-tooltip-header {
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #2E77A7;
    border-bottom: 1px solid #e5e5e5;
    background-color: #f8f9fa;
}

.author-tooltip-content {
    padding: 12px 15px;
}

.tooltip-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-label {
    width: 80px;
    color: #666;
    flex-shrink: 0;
}

.tooltip-value {
    color: #333;
    flex-grow: 1;
}

.orcid-link {
    color: #2E77A7;
    text-decoration: none;
}

.orcid-link:hover {
    text-decoration: underline;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #e5e5e5;
}

/* Local style for CC license link hover */
a.cc-license-link:hover {
    color: #e66030 !important;
    text-decoration: underline;
    font-weight: 700;
}
