/* ============================================
   Academic Journal Website - Main Stylesheet
   ============================================ */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --primary-color: #1a3a5c;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --light-gray: #f7fafc;
    --medium-gray: #e2e8f0;
    --dark-gray: #4a5568;
    --text-color: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* ============================================
   Navigation Styles
   ============================================ */
.navbar {
    background-color: #4f46e5 !important;
    padding: 0;
    transition: var(--transition);
}

.navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand img {
    height: 45px;
    margin-right: 10px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--white) !important;
    padding: 1rem 1.25rem !important;
    margin: 0;
    border-radius: 0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
    background-color: rgba(255, 255, 255, 0.15);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Navbar Auth Buttons */
.navbar-auth {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.navbar-auth .btn {
    padding: 0.4rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 4px;
}

.navbar-auth .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.navbar-auth .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.navbar-auth .btn-light {
    background-color: var(--white);
    color: #4f46e5;
}

.navbar-auth .btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Navbar Dropdown Styling */
.navbar-dark .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
    margin-top: 0.65rem;
    min-width: 240px;
    animation: dropdownFadeIn 0.25s ease;
    overflow: hidden;
    border-top: 3px solid var(--primary-color);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-dark .dropdown-menu li {
    padding: 0 0.5rem;
}

.navbar-dark .dropdown-item {
    color: #333;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    font-weight: 450;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.01em;
}

.navbar-dark .dropdown-item::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: scale(0);
    flex-shrink: 0;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
    background-color: #f0edff;
    color: var(--primary-color);
    padding-left: 1rem;
}

.navbar-dark .dropdown-item:hover::before,
.navbar-dark .dropdown-item:focus::before {
    opacity: 1;
    transform: scale(1);
}

.navbar-dark .dropdown-item.active,
.navbar-dark .dropdown-item:active {
    background-color: var(--primary-color);
    color: #fff;
}

.navbar-dark .dropdown-item.active::before,
.navbar-dark .dropdown-item:active::before {
    background-color: #fff;
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   Hero Header Section (Top Banner)
   ============================================ */
.hero-header {
    background: url('../img/hero.png') center center / cover no-repeat;
    background-color: #0a1628;
    color: var(--white);
    padding: 0;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.5) 0%, rgba(20, 50, 90, 0.3) 100%);
    z-index: 1;
}

.hero-header-content {
    position: relative;
    z-index: 5;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-logo-icon {
    font-size: 5rem;
    color: var(--white);
    margin-right: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-header-text h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0;
}

.hero-header-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 50px;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--white);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============================================
   Article Cards
   ============================================ */
.article-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--accent-color);
}

.article-card .article-category {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card h4 {
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.article-card h4 a {
    color: var(--primary-color);
}

.article-card h4 a:hover {
    color: var(--accent-color);
}

.article-card .article-meta {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.article-card .article-meta i {
    margin-right: 5px;
    color: var(--accent-color);
}

.article-card .article-abstract {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-card .article-authors {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.article-card .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   Announcement Cards
   ============================================ */
.announcement-card {
    background: var(--white);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.announcement-card:hover {
    transform: translateX(5px);
    box-shadow: var(--box-shadow-lg);
}

.announcement-card .announcement-date {
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.announcement-card h5 {
    margin-bottom: 0.5rem;
}

.announcement-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Archive List
   ============================================ */
.archive-year {
    margin-bottom: 2rem;
}

.archive-year h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.archive-list {
    list-style: none;
    padding: 0;
}

.archive-list li {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.archive-list li:hover {
    background-color: var(--light-gray);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.archive-list li a {
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.archive-list li a:hover {
    color: var(--accent-color);
}

.archive-list li .issue-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Article Detail Page
   ============================================ */
.article-detail {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.article-detail .article-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-detail .article-authors-list {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.article-detail .article-section {
    margin-bottom: 2rem;
}

.article-detail .article-section h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.article-detail .article-section p {
    text-align: justify;
    line-height: 1.8;
}

.article-sidebar {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.article-sidebar h5 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.article-sidebar .sidebar-item {
    margin-bottom: 1rem;
}

.article-sidebar .sidebar-item label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    display: block;
}

.article-sidebar .sidebar-item span {
    color: var(--text-color);
}

/* ============================================
   Editorial Board
   ============================================ */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.team-card .team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.team-card .team-affiliation {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.team-card .team-info {
    text-align: left;
}

.team-card .team-title {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.team-card .team-expertise {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.team-card .team-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.team-card .team-links a {
    color: var(--dark-gray);
    font-size: 1.1rem;
    transition: var(--transition);
}

.team-card .team-links a:hover {
    color: var(--accent-color);
}

.team-card .team-avatar.small-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.team-card .d-flex {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.team-card .d-flex .team-avatar {
    margin: 0;
    flex-shrink: 0;
}

/* ============================================
   Forms
   ============================================ */
.form-control {
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.custom-file-upload {
    border: 2px dashed var(--medium-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--light-gray);
}

.custom-file-upload:hover {
    border-color: var(--accent-color);
    background-color: var(--white);
}

.custom-file-upload i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.custom-file-upload p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================
   Contact Info Cards
   ============================================ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.contact-info-card .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-info-card h5 {
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ============================================
   Guidelines Section
   ============================================ */
.guidelines-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.guidelines-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.guidelines-section ul {
    padding-left: 1.5rem;
}

.guidelines-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.guidelines-section ul li::marker {
    color: var(--accent-color);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    display: block;
}

.stat-item .stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color) !important;
}

.bg-light-custom {
    background-color: var(--light-gray) !important;
}

.mb-6 {
    margin-bottom: 4rem !important;
}

/* ============================================
   Authentication Forms (Login/Register)
   ============================================ */
.auth-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 2rem 0;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.auth-header h2 {
    margin-bottom: 0.5rem;
}

.auth-form .form-label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.auth-form .input-group-text {
    background-color: var(--light-gray);
    border-color: var(--medium-gray);
    color: var(--dark-gray);
}

.auth-form .form-control,
.auth-form .form-select {
    border-color: var(--medium-gray);
    padding: 0.75rem 1rem;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.15);
}

.toggle-password {
    border-color: var(--medium-gray);
    background: var(--white);
}

.toggle-password:hover {
    background: var(--light-gray);
}

.forgot-link {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.forgot-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--medium-gray);
}

.auth-divider span {
    background: var(--white);
    padding: 0 1rem;
    color: var(--text-muted);
    position: relative;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-login .btn {
    flex: 1;
    padding: 0.75rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 500;
}

.auth-footer a:hover {
    color: var(--primary-color);
}

.password-strength {
    font-size: 0.85rem;
}

.password-strength .progress-bar {
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength .progress-bar.weak {
    background-color: #dc3545;
}

.password-strength .progress-bar.medium {
    background-color: #ffc107;
}

.password-strength .progress-bar.strong {
    background-color: #28a745;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991.98px) {
    .hero-header {
        min-height: auto;
    }
    
    .hero-header-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo-icon {
        font-size: 4rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .navbar-collapse {
        background-color: #4f46e5;
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .navbar-auth {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-header-content .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-logo-icon {
        font-size: 3.5rem;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .hero-header-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-header-meta {
        align-items: center;
        text-align: center;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .article-detail {
        padding: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 2.5rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

@media (max-width: 575.98px) {
    .btn-primary,
    .btn-outline-primary,
    .btn-light {
        padding: 0.6rem 1.5rem;
    }
    
    .article-card {
        padding: 1.25rem;
    }
    
    .stat-item {
        margin-bottom: 2rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .btn {
        display: none !important;
    }
    
    .article-detail {
        box-shadow: none;
        padding: 0;
    }
}

/* ============================================
   KuMC Style Layout
   ============================================ */
.main-navbar {
    background-color: #3f51b5;
    padding: 0;
}
.main-navbar .navbar-nav .nav-link {
    color: #fff;
    padding: 15px 20px;
    font-weight: 500;
}
.main-navbar .navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}
.main-navbar .dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.journal-intro {
    padding: 40px 0;
    background: #fff;
}
.journal-description {
    text-align: justify;
    line-height: 1.8;
    color: #333;
    font-size: 15px;
}
.journal-description strong {
    color: #000;
}
.journal-cover {
    text-align: center;
}
.journal-cover img {
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 3px;
}
.sidebar-card {
    background: #fff;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}
.sidebar-card-header {
    background: #f5f5f5;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: #333;
}
.sidebar-card-body {
    padding: 15px;
}
.btn-submission {
    background: #3f51b5;
    color: #fff;
    border: none;
    padding: 12px 25px;
    width: 100%;
    font-weight: 500;
}
.btn-submission:hover {
    background: #303f9f;
    color: #fff;
}
.feed-link {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
}
.feed-link img {
    margin-right: 8px;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.info-list li:last-child {
    border-bottom: none;
}
.info-list a {
    color: #3f51b5;
    text-decoration: none;
}
.info-list a:hover {
    text-decoration: underline;
}
/* Indexing Section */
.indexing-section {
    border-top: 1px solid #eee;
    padding-top: 20px;
}
.indexing-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}
.indexing-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.indexing-logo {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    transition: all 0.3s ease;
}
.indexing-logo:hover {
    border-color: #3f51b5;
    box-shadow: 0 2px 8px rgba(63,81,181,0.2);
}
.indexing-logo img {
    height: 30px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}
