/* Main CSS Styles for West African Journal of Religion & Development Studies */

/* CSS Reset and Base Styles */
:root {
    /* Color Variables */
    --primary-color: #2E5C8A;
    --secondary-color: #D4A259;
    --accent-color: #8B4F34;
    --dark-color: #343A40;
    --light-color: #F8F9FA;
    --text-color: #333333;
    --link-color: #2E5C8A;
    --link-hover-color: #1A3C5A;
    --footer-bg: #343A40;
    --border-color: #DEE2E6;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --error-color: #DC3545;
    
    /* Typography */
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Source Sans Pro', Arial, sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --component-spacing: 2rem;
    --element-spacing: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem for easier calculations */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-color);
    font-weight: 700;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--link-hover-color);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.tertiary-btn {
    background-color: transparent;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
}

.tertiary-btn:hover {
    background-color: var(--border-color);
}

/* Header Styles */
#main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.logo {
    width: 8rem;
    height: auto;
    margin-right: 2rem;
}

.journal-title h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.tagline {
    font-style: italic;
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 0;
}
/* 
#main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
} */
/* 
.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-right: 2rem;
}

.nav-links li:last-child {
    margin-right: 0;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
} */

.login-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 3rem;
}

.login-btn:hover {
    background-color: var(--link-hover-color);
}

.login-btn::after {
    display: none;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Banner */
#hero-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 4rem;
    color: white;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Journal Info Section */
#journal-info {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.info-columns {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.info-column {
    flex: 1;
    text-align: center;
    padding: 2rem;
    border-radius: 0.8rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-container {
    background-color: var(--light-color);
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.info-icon {
    width: 4rem;
    height: 4rem;
}

/* Latest Issue Section */
#latest-issue {
    padding: var(--section-spacing) 0;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--dark-color);
    opacity: 0.8;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.article-card {
    background-color: white;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 2rem;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-authors {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article-abstract {
    margin-bottom: 2rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.read-more:hover::after {
    margin-left: 1rem;
}

.view-all-container {
    text-align: center;
}

/* Call for Papers */
#call-for-papers {
    padding: var(--section-spacing) 0;
    background-color: var(--primary-color);
    color: white;
}

.cfp-content {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.cfp-content h2 {
    color: white;
}

.cfp-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.cfp-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    list-style: none;
    padding: 0;
}

.cfp-topics li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 3rem;
}

/* Editorial Board Preview */
#editorial-preview {
    padding: var(--section-spacing) 0;
    background-color: white;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.editor-card {
    text-align: center;
    padding: 2rem;
}

.editor-image {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 5px solid var(--light-color);
}

.editor-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.editor-affiliation {
    font-style: italic;
    margin-bottom: 0;
}

/* Footer */
#main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--secondary-color);
}

.about-column {
    grid-column: span 2;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.5s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.social-links img {
    width: 2rem;
    height: 2rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: white;
    opacity: 0.8;
    margin-left: 2rem;
    transition: opacity 0.3s ease;

}

.footer-bottom-links a:hover {
    opacity: 1;
}

.footer-bottom-links a:last-child {
    margin-right: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .info-columns, 
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-column {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
    }
    
    #mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 10rem 2rem 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0 0 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-columns {
        flex-direction: column;
    }
    
    #call-for-papers .btn {
        display: block;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .articles-grid,
    .editorial-grid,
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links a {
        margin: 0 1rem;
    }
}

/* User Dashboard Common Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 8rem);
}

.sidebar {
    width: 25rem;
    background-color: var(--dark-color);
    color: white;
    padding: 2rem;
}

.sidebar-header {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
}

.user-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-role {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.menu-title {
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: white;
    border-radius: 0.4rem;
    transition: background-color 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu .menu-icon {
    margin-right: 1rem;
}

.logout-btn {
    margin-top: 4rem;
    padding: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: var(--error-color);
}

.main-content {
    flex: 1;
    padding: 3rem;
    background-color: #f5f7fa;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.greeting h2 {
    margin-bottom: 0.5rem;
}

.greeting p {
    color: var(--dark-color);
    opacity: 0.7;
    margin-bottom: 0;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.card {
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-title {
    margin-bottom: 0;
}

/* Forms */
.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.4rem;
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 15rem;
    resize: vertical;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: var(--dark-color);
    opacity: 0.7;
}

.form-error {
    color: var(--error-color);
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.table .status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.status-approved {
    background-color: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.status-rejected {
    background-color: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.status-in-review {
    background-color: rgba(0, 123, 255, 0.2);
    color: #004085;
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
}

.btn-view {
    background-color: var(--primary-color);
    color: white;
}

.btn-edit {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.btn-delete {
    background-color: var(--error-color);
    color: white;
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f7fa;
    padding: 2rem;
}

.auth-card {
    width: 100%;
    max-width: 50rem;
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.auth-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.auth-body {
    padding: 3rem;
}

.auth-footer {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 1rem;
}

/* Notifications */
.notification {
    padding: 1.5rem;
    border-radius: 0.4rem;
    margin-bottom: 2rem;
}

.notification-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-left: 4px solid var(--success-color);
}

.notification-warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-left: 4px solid var(--warning-color);
}

.notification-error {
    background-color: rgba(220, 53, 69, 0.2);
    border-left: 4px solid var(--error-color);
}

/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 60rem;
    background-color: white;
    border-radius: 0.8rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal {
    transform: translateY(0);
}

.modal-header {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    margin-bottom: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-color);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-item {
    margin: 0 0.5rem;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(46, 92, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
}

.stat-icon img {
    width: 2.5rem;
    height: 2.5rem;
}

.stat-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    opacity: 0.7;
}

.stat-info p {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 0.8rem;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-color);
}

.file-upload-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1.5rem;
}

.file-upload input {
    display: none;
}

.file-list {
    margin-top: 2rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 0.4rem;
    margin-bottom: 1rem;
}

.file-icon {
    margin-right: 1rem;
}

.file-name {
    flex: 1;
}

.file-actions {
    display: flex;
    gap: 1rem;
}

.file-size {
    color: var(--dark-color);
    opacity: 0.7;
    margin-right: 1rem;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 0.8rem;
    background-color: var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 1rem;
    transition: width 0.3s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 1.4rem;
    color: var(--dark-color);
    opacity: 0.7;
}

/* Article Preview */
.article-preview {
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.article-preview-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-preview-body {
    padding: 2rem;
}

.article-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    opacity: 0.7;
}

.meta-item {
    display: flex;
    align-items: center;
}

.meta-icon {
    margin-right: 0.5rem;
}

.article-abstract {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 0.4rem;
    margin-bottom: 2rem;
}

.article-abstract h4 {
    margin-bottom: 1rem;
}

/* Review Form */
.review-criteria {
    margin-bottom: 3rem;
}

.criteria-item {
    margin-bottom: 2rem;
}

.rating-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.rating-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-option input {
    margin-bottom: 0.5rem;
}

/* Loading Spinner */
.spinner {
    width: 4rem;
    height: 4rem;
    border: 4px solid rgba(46, 92, 138, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem;
}

.loading-text {
    margin-top: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Login Page Styles */
.auth-container {
    max-width: 50rem;
    margin: 5rem auto;
    padding: 3rem;
    background-color: white;
    border-radius: 0.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-header h2 {
    margin-bottom: 1rem;
}

.auth-header p {
    color: var(--dark-color);
    opacity: 0.8;
}

.auth-form .form-group {
    margin-bottom: 2rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 0.4rem;
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    width: auto;
    margin-right: 1rem;
}

.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-links p {
    margin-bottom: 1rem;
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 80px);
}

.dashboard-sidebar {
    width: 25rem;
    background-color: var(--dark-color);
    color: white;
    padding: 2rem 0;
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

.user-info {
    padding: 0 2rem 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.user-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.user-role {
    opacity: 0.8;
    font-size: 1.4rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1.2rem 2rem;
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.sidebar-menu img {
    width: 2rem;
    height: 2rem;
    margin-right: 1.5rem;
}

.dashboard-content {
    flex: 1;
    margin-left: 25rem;
    padding: 3rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    margin-bottom: 0;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background-color: white;
    border-radius: 0.8rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.blue {
    background-color: rgba(46, 92, 138, 0.1);
}

.stat-icon.green {
    background-color: rgba(40, 167, 69, 0.1);
}

.stat-icon.yellow {
    background-color: rgba(255, 193, 7, 0.1);
}

.stat-icon.red {
    background-color: rgba(220, 53, 69, 0.1);
}

.stat-icon img {
    width: 2.5rem;
    height: 2.5rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.data-table th,
.data-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.data-table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.action-buttons {
    display: flex;
    gap: 1rem;
}

.action-btn {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: var(--border-color);
}

.action-btn img {
    width: 1.8rem;
    height: 1.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination-btn:hover:not(.active) {
    background-color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .info-columns {
        flex-direction: column;
        max-width: 50rem;
        margin: 0 auto;
    }
    
    .dashboard-sidebar {
        width: 20rem;
    }
    
    .dashboard-content {
        margin-left: 20rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    #mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 8rem;
        left: -100%;
        flex-direction: column;
        width: 100%;
        background-color: white;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-right: 0;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .about-column {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .dashboard-content {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .articles-grid,
    .editorial-grid,
    .stat-cards {
        grid-template-columns: 1fr;
    }
}