/* ==========================================================================
   JAMAS Theme - Modern Bootstrap 5 Academic Blue
   Inspired by jurdikum / padangtekno portal style
   ========================================================================== */

:root {
    --jamas-blue-dark: #062447;
    --jamas-blue-primary: #0b4d8c;
    --jamas-blue-accent: #0284c7;
    --jamas-blue-light: #e0f2fe;
    --jamas-blue-gradient: linear-gradient(135deg, #0b4d8c 0%, #032b57 100%);
    --jamas-blue-header: linear-gradient(90deg, #0b4d8c 0%, #0284c7 100%);
    --jamas-gold: #f59e0b;
    --jamas-gold-dark: #d97706;
    --jamas-gray-bg: #f8fafc;
    --jamas-gray-border: #e2e8f0;
    --jamas-text-dark: #1e293b;
    --jamas-text-muted: #64748b;
    --jamas-card-shadow: 0 2px 8px rgba(11, 77, 140, 0.08);
    --jamas-card-hover: 0 8px 24px rgba(11, 77, 140, 0.15);
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--jamas-text-dark);
    background-color: var(--jamas-gray-bg);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: var(--jamas-blue-primary);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--jamas-blue-accent);
    text-decoration: none;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.jamas-topbar {
    background-color: var(--jamas-blue-dark);
    color: #cbd5e1;
    font-size: 0.825rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.jamas-topbar a {
    color: #e2e8f0;
    font-size: 0.825rem;
}

.jamas-topbar a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.jamas-badge-issn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.775rem;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Main Header & Navigation Bar
   ========================================================================== */
.jamas-navbar {
    background: var(--jamas-blue-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.jamas-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 75%;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0;
}

.jamas-brand img,
.jamas-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 48px;
    max-width: 320px;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

/* Tablet (iPad / screens up to 991px) */
@media (max-width: 991.98px) {
    .jamas-brand {
        max-width: 70%;
    }
    .jamas-brand img,
    .jamas-brand-logo {
        max-height: 40px;
        max-width: 250px;
    }
}

/* Mobile Devices (screens up to 575px) */
@media (max-width: 575.98px) {
    .jamas-brand {
        max-width: 68%;
    }
    .jamas-brand img,
    .jamas-brand-logo {
        max-height: 35px;
        max-width: 200px;
    }
}

/* Extra small mobile screens (screens up to 375px) */
@media (max-width: 375px) {
    .jamas-brand {
        max-width: 62%;
    }
    .jamas-brand img,
    .jamas-brand-logo {
        max-height: 30px;
        max-width: 160px;
    }
}

.jamas-brand-text {
    line-height: 1.2;
}

.jamas-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin: 0;
}

.jamas-brand-subtitle {
    font-size: 0.785rem;
    color: #bae6fd;
    margin: 0;
    font-weight: 500;
}

.jamas-nav-link {
    color: #f1f5f9 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.jamas-nav-link:hover,
.jamas-nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.jamas-nav-dropdown .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--jamas-gray-border);
    padding: 6px 0;
}

.jamas-nav-dropdown .dropdown-item {
    font-size: 0.875rem;
    padding: 8px 18px;
    font-weight: 500;
    color: var(--jamas-text-dark);
}

.jamas-nav-dropdown .dropdown-item:hover {
    background-color: var(--jamas-blue-light);
    color: var(--jamas-blue-primary);
}

/* ==========================================================================
   Hero Banner (Journal Index)
   ========================================================================== */
.jamas-hero {
    background: var(--jamas-blue-gradient);
    color: #ffffff;
    padding: 40px 0 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.jamas-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0) 70%);
    pointer-events: none;
}

.jamas-hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

.jamas-hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
}

.jamas-hero-desc {
    font-size: 0.98rem;
    color: #e0f2fe;
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.jamas-hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jamas-btn-hero-primary {
    background-color: var(--jamas-gold);
    color: #062447;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.jamas-btn-hero-primary:hover {
    background-color: var(--jamas-gold-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

.jamas-btn-hero-outline {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.jamas-btn-hero-outline:hover {
    background-color: #ffffff;
    color: var(--jamas-blue-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   Current Issue Showcase
   ========================================================================== */
.jamas-current-issue-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--jamas-card-shadow);
}

.jamas-issue-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--jamas-blue-light);
    color: var(--jamas-blue-primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.jamas-current-issue-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--jamas-blue-primary);
    margin-bottom: 8px;
}

.jamas-issue-meta {
    font-size: 0.85rem;
    color: var(--jamas-text-muted);
    margin-bottom: 16px;
}

.jamas-issue-cover-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--jamas-gray-border);
}

/* ==========================================================================
   Article Card (TOC / List)
   ========================================================================== */
.jamas-article-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 18px;
    box-shadow: var(--jamas-card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.jamas-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--jamas-card-hover);
    border-color: #cbd5e1;
}

.jamas-section-badge {
    background-color: var(--jamas-blue-light);
    color: var(--jamas-blue-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.jamas-article-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--jamas-blue-dark);
    margin-bottom: 8px;
    display: block;
}

.jamas-article-title:hover {
    color: var(--jamas-blue-accent);
}

.jamas-article-authors {
    font-size: 0.875rem;
    color: var(--jamas-text-muted);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.jamas-article-authors i {
    color: var(--jamas-blue-accent);
}

.jamas-article-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.825rem;
    margin-bottom: 14px;
}

.jamas-doi-badge {
    background-color: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0369a1;
    font-family: monospace;
    font-size: 0.775rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jamas-doi-badge:hover {
    background-color: var(--jamas-blue-light);
    color: var(--jamas-blue-primary);
}

.jamas-article-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--jamas-gray-border);
}

.jamas-btn-pdf {
    background: linear-gradient(135deg, #0b4d8c 0%, #062e56 100%);
    border: 1px solid #083c6f;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.825rem;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(11, 77, 140, 0.2);
    transition: all 0.2s ease;
}

.jamas-btn-pdf i {
    color: #93c5fd;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.jamas-btn-pdf:hover {
    background: linear-gradient(135deg, #062e56 0%, #031b34 100%);
    border-color: #031b34;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(11, 77, 140, 0.3);
}

.jamas-btn-pdf:hover i {
    color: #ffffff;
}

.jamas-btn-pdf-lg {
    background: linear-gradient(135deg, #0b4d8c 0%, #062e56 100%);
    border: 1px solid #083c6f;
    color: #ffffff !important;
    font-weight: 700;
    transition: all 0.2s ease;
}

.jamas-btn-pdf-lg:hover {
    background: linear-gradient(135deg, #062e56 0%, #031b34 100%);
    border-color: #031b34;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 77, 140, 0.25);
}

.jamas-btn-abstract-toggle {
    background-color: transparent;
    border: 1px solid var(--jamas-gray-border);
    color: var(--jamas-text-muted);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.jamas-btn-abstract-toggle:hover {
    background-color: #f1f5f9;
    color: var(--jamas-text-dark);
}

.jamas-abstract-collapse {
    margin-top: 14px;
    padding: 14px 18px;
    background-color: #f8fafc;
    border-left: 3px solid var(--jamas-blue-primary);
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.6;
}

/* ==========================================================================
   Sidebar Cards & Widgets
   ========================================================================== */
.jamas-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 10px;
    margin-bottom: 24px;
    box-shadow: var(--jamas-card-shadow);
    overflow: hidden;
}

.jamas-sidebar-header {
    background: var(--jamas-blue-header);
    color: #ffffff;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.jamas-sidebar-body {
    padding: 16px 18px;
}

/* Dynamic OJS Sidebar Blocks (configured via Admin > Settings > Website > Appearance > Sidebar) */
.pkp_block {
    background-color: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 10px;
    box-shadow: var(--jamas-card-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pkp_block:hover {
    box-shadow: var(--jamas-card-hover);
}

#customblock-article-template,
.pkp_block:has(.jamas-template-widget) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
}

#customblock-article-template .content,
.pkp_block:has(.jamas-template-widget) .content,
#customblock-menu .content,
#customblock-tools .content,
.pkp_block:has(.jamas-sidebar-header) .content {
    padding: 0 !important;
}

.pkp_block .title {
    background: var(--jamas-blue-gradient);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 18px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.3px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.pkp_block .content {
    padding: 16px 18px;
    font-size: 0.9rem;
    color: var(--jamas-text-dark);
}

.pkp_block .content img {
    max-width: 100%;
    height: auto;
}

/* Template Download Widget (Compact & Modern) */
.jamas-template-widget {
    background: linear-gradient(135deg, #0b4d8c 0%, #032b57 100%);
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0 !important;
    box-shadow: var(--jamas-card-shadow);
}

.jamas-template-widget i {
    font-size: 1.4rem;
    color: #fde047;
    margin-bottom: 4px;
}

.jamas-template-widget h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

.jamas-template-widget p {
    font-size: 0.775rem;
    color: #e0f2fe;
    margin-bottom: 8px;
    line-height: 1.35;
}

.jamas-template-btn {
    background-color: #ffffff;
    color: #0b4d8c !important;
    font-weight: 700;
    font-size: 0.785rem;
    padding: 6px 14px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jamas-template-btn:hover {
    background-color: #fde047;
    color: #062447 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Quick Links List */
.jamas-quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jamas-quick-links li {
    border-bottom: 1px solid var(--jamas-gray-border);
}

.jamas-quick-links li:last-child {
    border-bottom: none;
}

.jamas-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px;
    color: var(--jamas-text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.jamas-quick-links a:hover {
    color: var(--jamas-blue-primary);
    padding-left: 14px;
    background-color: #f8fafc;
}

.jamas-quick-links a i.chevron {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* ==========================================================================
   Article Detail Page
   ========================================================================== */
.jamas-article-detail-header {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--jamas-card-shadow);
}

.jamas-article-detail-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--jamas-blue-dark);
    line-height: 1.35;
    margin-bottom: 16px;
}

.jamas-author-list {
    margin-bottom: 20px;
}

.jamas-author-item {
    font-size: 1rem;
    font-weight: 600;
    color: var(--jamas-blue-primary);
    display: inline-block;
    margin-right: 14px;
}

.jamas-author-affiliation {
    font-size: 0.85rem;
    color: var(--jamas-text-muted);
    font-style: italic;
    display: block;
}

.jamas-detail-section {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--jamas-card-shadow);
}

.jamas-detail-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--jamas-blue-primary);
    border-bottom: 2px solid var(--jamas-blue-light);
    padding-bottom: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Citation Box */
.jamas-citation-box {
    background: #f8fafc;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 8px;
    padding: 16px;
    font-size: 0.875rem;
    color: var(--jamas-text-dark);
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.jamas-footer {
    background: var(--jamas-blue-dark);
    color: #cbd5e1;
    padding: 45px 0 20px;
    margin-top: 50px;
    border-top: 4px solid var(--jamas-blue-accent);
}

.jamas-footer h5 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid var(--jamas-blue-accent);
    padding-left: 10px;
}

.jamas-footer p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
}

.jamas-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jamas-footer-links li {
    margin-bottom: 8px;
}

.jamas-footer-links a {
    color: #cbd5e1;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.jamas-footer-links a:hover {
    color: #38bdf8;
    padding-left: 6px;
}

.jamas-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 35px;
    padding-top: 20px;
    font-size: 0.825rem;
    color: #94a3b8;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
    .jamas-hero-title {
        font-size: 1.7rem;
    }
    .jamas-hero {
        padding: 30px 0;
    }
    .jamas-brand-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .jamas-article-card {
        padding: 16px;
    }
    .jamas-article-title {
        font-size: 1.05rem;
    }
    .jamas-hero-btn-group {
        flex-direction: column;
    }
    .jamas-btn-hero-primary,
    .jamas-btn-hero-outline {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Announcements Section & Cards
   ========================================================================== */
.jamas-announcements-section {
    border-top: 3px solid var(--jamas-primary) !important;
}

.jamas-announcement-card {
    border: 1px solid var(--jamas-gray-border) !important;
    border-radius: 8px !important;
    background-color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jamas-announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 77, 140, 0.12) !important;
    border-color: #93c5fd !important;
}

.jamas-announcement-link {
    transition: color 0.2s ease;
    font-size: 1.1rem;
}

.jamas-announcement-link:hover {
    color: var(--jamas-primary) !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   Additional Homepage Content
   ========================================================================== */
.jamas-additional-content img {
    max-width: 100%;
    height: auto;
}

.jamas-additional-content #index {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 10px;
}

.jamas-additional-content #index h4 {
    width: 100%;
    color: var(--jamas-blue-primary);
    font-weight: 700;
}

.jamas-additional-content #index a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 6px 12px;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.jamas-additional-content #index a:hover {
    transform: translateY(-2px);
    box-shadow: var(--jamas-card-shadow);
    border-color: #93c5fd;
}

.jamas-additional-content .aimleft img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   Journal Indexing Showcase
   ========================================================================== */
.jamas-indexing-showcase {
    background: transparent;
}

.jamas-index-item {
    background-color: #ffffff !important;
    border: 1px solid var(--jamas-gray-border) !important;
    border-radius: 10px !important;
    padding: 14px 12px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    box-shadow: var(--jamas-card-shadow);
}

.jamas-index-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--jamas-card-hover) !important;
    border-color: #93c5fd !important;
}

.jamas-index-logo-wrap {
    height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jamas-index-logo-wrap img,
.jamas-index-logo-wrap svg {
    max-height: 46px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
    transition: transform 0.2s ease;
}

.jamas-index-item:hover .jamas-index-logo-wrap img,
.jamas-index-item:hover .jamas-index-logo-wrap svg {
    transform: scale(1.05);
}

.jamas-index-name {
    font-size: 0.78rem;
    color: var(--jamas-text-muted);
    font-weight: 600;
    margin-top: 8px;
    line-height: 1.2;
    text-align: center;
    transition: color 0.2s ease;
}

.jamas-index-item:hover .jamas-index-name {
    color: var(--jamas-blue-primary);
}


/* Standardized 2.5:1 Indexing Badges */
.jamas-index-item {
    padding: 10px 10px !important;
    text-decoration: none !important;
}

.jamas-index-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.18) !important;
    border-color: #0284c7 !important;
}

.jamas-index-logo-wrap {
    height: auto !important;
    width: 100% !important;
}

.jamas-index-logo-wrap img {
    width: 100% !important;
    max-width: 175px !important;
    height: auto !important;
    aspect-ratio: 2.5 / 1 !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    filter: none !important;
}

.jamas-index-item:hover .jamas-index-logo-wrap img {
    transform: scale(1.03) !important;
}

.jamas-index-logo {
    width: 100% !important;
    max-width: 175px !important;
    height: auto !important;
    aspect-ratio: 2.5 / 1 !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    filter: none !important;
    transition: transform 0.25s ease !important;
}

.jamas-index-item:hover .jamas-index-logo {
    transform: scale(1.03) !important;
}

/* ==========================================================================
   English / Subtitle Styling (Italic & Slightly Smaller)
   ========================================================================== */
.jamas-article-subtitle {
    display: block !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin-top: 6px !important;
    letter-spacing: 0.1px;
    text-transform: none !important;
    transition: color 0.2s ease !important;
}

.jamas-article-title:hover .jamas-article-subtitle {
    color: #334155 !important;
}

.jamas-article-detail-subtitle {
    display: block !important;
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
    text-transform: none !important;
}

/* ==========================================================================
   Article Metrics Badges (Views & Downloads)
   ========================================================================== */
.jamas-article-metrics {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jamas-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.jamas-metric-pill i {
    font-size: 0.82rem;
}

.jamas-metric-views {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
}

.jamas-metric-views i {
    color: #2563eb !important;
}

.jamas-metric-downloads {
    background-color: #f0fdf4 !important;
    color: #15803d !important;
    border-color: #bbf7d0 !important;
}

.jamas-metric-downloads i {
    color: #16a34a !important;
}

.jamas-metric-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.jamas-metric-count {
    font-weight: 700;
}

/* Card Top Row: Section Badge + Top-Right Metrics */
.jamas-article-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 8px;
    width: 100%;
}

.jamas-article-card-top .jamas-section-badge {
    margin-bottom: 0 !important;
}

.jamas-article-card-top .jamas-article-metrics {
    margin-left: auto;
}

/* ==========================================================================
   Announcements Page Styles
   ========================================================================== */
.jamas-announcement-card {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.jamas-announcement-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px -5px rgba(2, 132, 199, 0.15) !important;
    border-color: #93c5fd !important;
}

.jamas-announcement-link {
    color: var(--jamas-blue-dark) !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
}

.jamas-announcement-link:hover {
    color: var(--jamas-blue-accent) !important;
}

.jamas-announcement-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    margin: 14px 0 !important;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.jamas-about-content {
    color: var(--jamas-text-dark);
    font-size: 0.95rem;
    line-height: 1.8;
}

.jamas-about-content p {
    text-align: justify;
    margin-bottom: 1.2rem;
}

.jamas-about-content img {
    float: left;
    max-width: 210px;
    height: auto;
    margin: 0 24px 18px 0;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--jamas-gray-border);
    transition: transform 0.25s ease;
}

.jamas-about-content img:hover {
    transform: scale(1.02);
}

.jamas-fact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.jamas-fact-item:hover {
    background: #f0f7ff;
    border-color: #bfdbfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.jamas-fact-icon {
    font-size: 1.35rem;
    color: var(--jamas-blue-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.jamas-fact-label {
    font-size: 0.725rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.jamas-fact-val {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--jamas-text-dark);
}

/* ==========================================================================
   Editorial Team Styles
   ========================================================================== */
.jamas-editorial-section {
    margin-bottom: 24px;
}

.jamas-editorial-role-header {
    background: #f8fafc;
    border-left: 4px solid var(--jamas-blue-primary);
    padding: 10px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jamas-blue-dark);
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.jamas-member-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jamas-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.12);
    border-color: #93c5fd;
}

.jamas-member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b4d8c 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.jamas-member-info {
    flex-grow: 1;
    min-width: 0;
}

.jamas-member-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--jamas-text-dark);
    margin-bottom: 3px;
    line-height: 1.35;
}

.jamas-member-inst {
    font-size: 0.825rem;
    color: var(--jamas-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.jamas-member-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.jamas-badge-sinta {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background-color: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jamas-badge-sinta:hover {
    background-color: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
}

.jamas-badge-scholar {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jamas-badge-scholar:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

/* Fallback styling for standard OJS #groups */
.jamas-editorial-team-wrapper h4 {
    background: #f8fafc;
    border-left: 4px solid var(--jamas-blue-primary);
    padding: 10px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--jamas-blue-dark);
    border-radius: 0 8px 8px 0;
    margin: 24px 0 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

/* ==========================================================================
   JAMAS Theme - Submissions Page Styling
   ========================================================================== */
.jamas-page-submissions {
    margin-bottom: 2rem;
}

.jamas-step-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 12px;
    padding: 18px 16px;
    height: 100%;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jamas-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12);
    border-color: #93c5fd;
}

.jamas-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b4d8c 0%, #0284c7 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.jamas-step-title {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--jamas-text-dark);
    margin-bottom: 6px;
}

.jamas-step-desc {
    font-size: 0.825rem;
    color: var(--jamas-text-muted);
    line-height: 1.45;
    margin: 0;
}

/* Submission Checklist Styling */
.jamas-checklist-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.jamas-checklist-body ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.jamas-checklist-body ul li {
    position: relative;
    padding: 12px 14px 12px 42px;
    margin-bottom: 8px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.jamas-checklist-body ul li:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.jamas-checklist-body ul li::before {
    content: "\F26E";
    font-family: "bootstrap-icons" !important;
    position: absolute;
    left: 14px;
    top: 12px;
    color: #10b981;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Guidelines Cards */
.jamas-guideline-item {
    border-left: 4px solid var(--jamas-blue-primary);
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 12px;
}

.jamas-guideline-item h6 {
    color: var(--jamas-blue-dark);
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jamas-guideline-item p,
.jamas-guideline-item ul {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0;
}

/* ==========================================================================
   JAMAS Theme - Contact Page Styling
   ========================================================================== */
.jamas-page-contact {
    margin-bottom: 2rem;
}

.jamas-contact-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.jamas-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.15);
    border-color: #93c5fd;
}

.jamas-contact-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.jamas-contact-avatar.primary {
    background: linear-gradient(135deg, #0b4d8c 0%, #0284c7 100%);
}

.jamas-contact-avatar.support {
    background: linear-gradient(135deg, #334155 0%, #64748b 100%);
}

.jamas-contact-avatar.publisher {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.jamas-contact-role {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--jamas-blue-primary);
    margin-bottom: 4px;
}

.jamas-contact-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--jamas-text-dark);
    margin-bottom: 6px;
}

.jamas-contact-affiliation {
    font-size: 0.875rem;
    color: var(--jamas-text-muted);
    margin-bottom: 16px;
    line-height: 1.45;
}

.jamas-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 10px;
}

.jamas-contact-item i {
    font-size: 1rem;
    color: var(--jamas-blue-primary);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ==========================================================================
   JAMAS Theme - Custom Pages & Publishing Ethics Styling
   ========================================================================== */
.jamas-page-custom {
    margin-bottom: 2rem;
}

.jamas-custom-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #334155;
}

.jamas-custom-content h4,
.jamas-custom-content h5 {
    color: var(--jamas-blue-dark);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.jamas-custom-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.jamas-ethics-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jamas-ethics-card:hover {
    box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.12);
}

.jamas-ethics-header {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.jamas-ethics-header.publisher {
    background: #eff6ff;
    color: #1e40af;
    border-left: 5px solid #2563eb;
}

.jamas-ethics-header.editor {
    background: #f0fdfa;
    color: #0f766e;
    border-left: 5px solid #0d9488;
}

.jamas-ethics-header.reviewer {
    background: #fffbeb;
    color: #b45309;
    border-left: 5px solid #d97706;
}

.jamas-ethics-header.author {
    background: #f0fdf4;
    color: #15803d;
    border-left: 5px solid #16a34a;
}

.jamas-ethics-body {
    padding: 20px;
}

.jamas-ethics-list {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.jamas-ethics-list li {
    padding-left: 0.5rem;
    margin-bottom: 8px;
    text-align: justify;
    font-size: 0.925rem;
    line-height: 1.6;
    color: #334155;
}

/* ==========================================================================
   JAMAS Theme - Peer Review Process Styling
   ========================================================================== */
.jamas-timeline-container {
    position: relative;
    padding-left: 10px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.jamas-review-step {
    border-left: 3px solid #0284c7;
    position: relative;
    padding-left: 24px;
    padding-bottom: 24px;
}

.jamas-review-step:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}

.jamas-review-step::before {
    content: "";
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0284c7;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #0284c7;
}

.jamas-review-step.success::before {
    background: #10b981;
    box-shadow: 0 0 0 2px #10b981;
}

.jamas-decision-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.825rem;
    font-weight: 700;
}

.jamas-decision-accept {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.jamas-decision-minor {
    background-color: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.jamas-decision-major {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.jamas-decision-reject {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   JAMAS Theme - Author Fee Styling
   ========================================================================== */
.jamas-fee-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    padding: 24px 20px;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.jamas-fee-card.highlight {
    border-color: #38bdf8;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
}

.jamas-fee-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.15);
}

.jamas-fee-price {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--jamas-blue-dark);
    line-height: 1.2;
    margin: 12px 0 6px 0;
}

.jamas-fee-price.free {
    color: #10b981;
}

.jamas-bank-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jamas-bank-header {
    background: linear-gradient(135deg, #0b4d8c 0%, #0284c7 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jamas-account-number {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1e293b;
    font-family: monospace, Courier, sans-serif;
}

/* ==========================================================================
   JAMAS Theme - Login & Registration Form Styling
   ========================================================================== */
.jamas-login-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 20px;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    overflow: hidden;
}

.jamas-login-card .form-control:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 0.25rem rgba(2, 132, 199, 0.15);
}

.jamas-login-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b4d8c 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

/* ==========================================================================
   JAMAS Theme - Template Page Styling
   ========================================================================== */
.jamas-template-preview-wrapper {
    background: #f8fafc;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.jamas-template-preview-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jamas-template-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

/* ==========================================================================
   Sidebar Tools Block (Mendeley, Turnitin, Plagiarism Checker X)
   ========================================================================== */
.jamas-tools-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jamas-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.jamas-tool-card:hover {
    border-color: #38bdf8;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(11, 77, 140, 0.12);
}

.jamas-tool-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0b4d8c;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s ease, color 0.2s ease;
}

.jamas-tool-card:hover .jamas-tool-badge {
    background: #dbeafe;
    color: #0284c7;
}

.jamas-tool-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 4px 0;
}

.jamas-tool-img-wrap img {
    max-height: 46px;
    max-width: 88%;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.04));
}

.jamas-tool-card:hover .jamas-tool-img-wrap img {
    transform: scale(1.04);
}

/* ==========================================================================
   Article Detail Page (Modern Tech / Referensi Layout)
   ========================================================================== */
.jamas-article-detail-box {
    border: 1px solid var(--jamas-gray-border);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.jamas-author-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.jamas-author-card:hover {
    border-color: #93c5fd;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 77, 140, 0.08);
}

.jamas-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--jamas-blue-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tech-widget-card {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(11, 77, 140, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tech-widget-card:hover {
    box-shadow: 0 6px 18px rgba(11, 77, 140, 0.1);
}

/* How to Cite Widget in Aside (CitationStyleLanguage integration) */
.item.citation {
    background: #ffffff;
    border: 1px solid var(--jamas-gray-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(11, 77, 140, 0.05);
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease;
}

.item.citation:hover {
    box-shadow: 0 6px 18px rgba(11, 77, 140, 0.1);
}

.item.citation .sub_item.citation_display .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--jamas-text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.item.citation .sub_item.citation_display .label::before {
    content: "\F527"; /* Bootstrap Icon bi-quote */
    font-family: "bootstrap-icons";
    color: var(--jamas-blue-primary);
    font-size: 1.1rem;
}

#citationOutput {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--jamas-blue-primary);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.825rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 14px;
}

.citation_formats_button {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
    display: block;
}

.citation_formats_button:hover {
    background: #e2e8f0;
    color: var(--jamas-blue-primary);
    border-color: #94a3b8;
}

.citation_formats_list {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-top: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.citation_formats_list .label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 8px;
    border: none;
    padding: 0;
}

.citation_formats_styles {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.citation_formats_styles li {
    margin: 0;
}

.citation_formats_styles li a {
    display: inline-block;
    padding: 4px 10px;
    background: #eff6ff;
    color: var(--jamas-blue-primary);
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.citation_formats_styles li a:hover {
    background: var(--jamas-blue-primary);
    color: #ffffff;
    border-color: var(--jamas-blue-primary);
}

.__dimensions_badge_embed__ {
    display: inline-block;
    max-width: 100%;
}

.tech-chart-filter-btn {
    font-weight: 600;
    font-size: 0.775rem;
    transition: all 0.2s ease;
}

.tech-chart-filter-btn.active {
    background-color: var(--jamas-blue-primary) !important;
    border-color: var(--jamas-blue-primary) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   All-in-One Journal Statistics & Analytics Page
   ========================================================================== */
.jamas-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.15rem 1.1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.jamas-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
}

.jamas-kpi-card.kpi-hover-views:hover { border-color: #93c5fd !important; }
.jamas-kpi-card.kpi-hover-downloads:hover { border-color: #6ee7b7 !important; }
.jamas-kpi-card.kpi-hover-articles:hover { border-color: #7dd3fc !important; }
.jamas-kpi-card.kpi-hover-issues:hover { border-color: #a5b4fc !important; }
.jamas-kpi-card.kpi-hover-rate:hover { border-color: #fcd34d !important; }
.jamas-kpi-card.kpi-hover-decision:hover { border-color: #fda4af !important; }

.jamas-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.jamas-kpi-icon.kpi-views {
    background-color: #eff6ff;
    color: #2563eb;
}

.jamas-kpi-icon.kpi-downloads {
    background-color: #ecfdf5;
    color: #059669;
}

.jamas-kpi-icon.kpi-articles {
    background-color: #f0f9ff;
    color: #0284c7;
}

.jamas-kpi-icon.kpi-issues {
    background-color: #eef2ff;
    color: #4f46e5;
}

.jamas-kpi-icon.kpi-rate {
    background-color: #fffbeb;
    color: #d97706;
}

.jamas-kpi-icon.kpi-decision {
    background-color: #fff1f2;
    color: #e11d48;
}

.jamas-kpi-label {
    font-size: 0.685rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 2px;
}

.jamas-kpi-val {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-monospace, monospace);
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: #0f172a;
}

.text-emerald {
    color: #059669 !important;
}

/* Ranked Article Cards (Top 5 Downloaded & Viewed) */
.jamas-ranked-card {
    background-color: rgba(248, 250, 252, 0.75);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    transition: all 0.2s ease;
}

.jamas-ranked-card:hover {
    transform: translateY(-2px);
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.jamas-ranked-card.hover-downloads:hover {
    border-color: #6ee7b7;
    background-color: rgba(236, 253, 245, 0.25);
}

.jamas-ranked-card.hover-views:hover {
    border-color: #93c5fd;
    background-color: rgba(239, 246, 255, 0.25);
}

.jamas-rank-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-monospace, monospace);
    font-weight: 800;
    font-size: 0.775rem;
    line-height: 1;
    flex-shrink: 0;
}

.jamas-rank-badge.rank-1 {
    background-color: #fbbf24;
    color: #78350f;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.jamas-rank-badge.rank-2 {
    background-color: #cbd5e1;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.2);
}

.jamas-rank-badge.rank-3 {
    background-color: #b45309;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(180, 83, 9, 0.25);
}

.jamas-rank-badge.rank-4,
.jamas-rank-badge.rank-5 {
    background-color: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.jamas-ranked-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.38;
    color: #0f172a;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    transition: color 0.15s ease;
}

.jamas-ranked-title:hover {
    color: var(--jamas-blue-primary);
}

.jamas-ranked-card.hover-downloads .jamas-ranked-title:hover {
    color: #047857;
}

.jamas-stats-filter-btn {
    font-weight: 600;
    font-size: 0.775rem;
    transition: all 0.2s ease;
}

.jamas-stats-filter-btn.active {
    background-color: var(--jamas-blue-primary) !important;
    border-color: var(--jamas-blue-primary) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   JAMAS Theme - Modern Search Page Styling
   ========================================================================== */
.jamas-search-input-group {
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jamas-search-input-group:focus-within {
    border-color: var(--jamas-blue-primary) !important;
    box-shadow: 0 0 0 4px rgba(11, 77, 140, 0.12) !important;
}

.jamas-search-input-group .form-control:focus {
    box-shadow: none !important;
}

.jamas-search-date-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
}

.jamas-search-date-box fieldset {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jamas-search-date-box legend {
    font-size: 0.825rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    width: 100%;
    float: none;
    display: flex;
    align-items: center;
}

.jamas-search-date-box label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0 4px 0 8px;
    display: inline-block;
    vertical-align: middle;
}

.jamas-search-date-box label:first-of-type {
    margin-left: 0;
}

.jamas-search-date-box select {
    display: inline-block;
    vertical-align: middle;
    padding: 5px 8px;
    font-size: 0.825rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1e293b;
    outline: none;
    margin-bottom: 4px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jamas-search-date-box select:focus {
    border-color: var(--jamas-blue-primary);
    box-shadow: 0 0 0 2px rgba(11, 77, 140, 0.15);
}

/* Common Pagination Styling */
.cmp_pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cmp_pagination .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.cmp_pagination .pagination .page-item {
    margin: 0;
    display: inline-flex;
}

.cmp_pagination .pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.cmp_pagination .pagination .page-link:hover {
    background-color: #f1f5f9;
    color: var(--jamas-blue-primary);
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.cmp_pagination .pagination .page-item.active .page-link {
    background-color: var(--jamas-blue-primary) !important;
    color: #ffffff !important;
    border-color: var(--jamas-blue-primary) !important;
    box-shadow: 0 4px 12px rgba(11, 77, 140, 0.3) !important;
    font-weight: 700;
}

.cmp_pagination .pagination .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: transparent;
    border-color: transparent;
    cursor: default;
    box-shadow: none;
}

/* Fallback styling for inline OJS {page_links} */
.cmp_pagination > a,
.cmp_pagination > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    margin: 2px;
    transition: all 0.2s ease;
}

.cmp_pagination > a {
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cmp_pagination > a:hover {
    background-color: #f1f5f9;
    color: var(--jamas-blue-primary);
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.cmp_pagination > strong {
    background-color: var(--jamas-blue-primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--jamas-blue-primary) !important;
    box-shadow: 0 4px 12px rgba(11, 77, 140, 0.3) !important;
    font-weight: 700;
}

/* Print styling for Statistics report */
@media print {
    .jamas-topbar,
    .jamas-navbar,
    .jamas-footer,
    .cmp_breadcrumbs,
    button[onclick*="print"] {
        display: none !important;
    }
    body {
        background: #ffffff !important;
    }
    .jamas-stats-page {
        margin: 0 !important;
    }
}







