/* ============================================
   IJCHI - COMPLETE STYLESHEET
   International Journal of Computing and Health Informatics
   ============================================ */

/* ============================================
   GOOGLE FONTS
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================
   1. ROOT VARIABLES & RESET
   ============================================ */

:root {
    /* Colors - UPDATED */
    --primary: #0F4761;
    --primary-light: #1a5a7a;
    --primary-dark: #0a2f41;
    --secondary: #FFD700;
    --secondary-light: #FFE44D;
    --secondary-dark: #F5A623;
    --light-bg: #f8f9fc;
    --dark-text: #1a1a2e;
    --gray-text: #6c757d;
    --light-gray: #e9ecef;
    
    /* Status Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --pending: #ffc107;
    --under-review: #17a2b8;
    --accepted: #28a745;
    --rejected: #dc3545;
    
    /* Shadows */
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    
    /* Borders */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background: var(--light-bg);
    line-height: 1.7;
    font-size: 16px;
    padding-top: 0;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.text-gold {
    color: var(--secondary);
}
/* ============================================
   IMPACT FACTOR BADGE
   ============================================ */

.impact-factor-badge {
    background: linear-gradient(135deg, #FFD700 0%, #F5A623 100%);
    color: #0F4761;
    padding: 2px 12px 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.impact-factor-badge i {
    color: #0F4761;
    font-size: 0.7rem;
}

.impact-factor-badge strong {
    font-size: 1rem;
    font-weight: 900;
    background: rgba(15, 71, 97, 0.1);
    padding: 0 6px;
    border-radius: 3px;
    color: #0F4761;
}

/* Mobile responsive for impact factor */
@media (max-width: 576px) {
    .impact-factor-badge {
        font-size: 0.6rem;
        padding: 2px 8px 2px 6px;
    }
    .impact-factor-badge strong {
        font-size: 0.75rem;
    }
    .impact-factor-badge i {
        font-size: 0.55rem;
    }
}

@media (max-width: 400px) {
    .impact-factor-badge .if-text {
        display: none;
    }
    .impact-factor-badge {
        padding: 2px 6px;
    }
}

/* ============================================
   2. TOP BAR - COLOR UPDATED
   ============================================ */

.top-bar {
    background: #0F4761;  /* UPDATED */
    color: #ffffff;
    font-size: 0.92rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-sans);
    font-weight: 500;
}

.top-bar-dashboard {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

@media (min-width: 992px) {
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.top-bar-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-weight: 500;
}

.top-bar-left i {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.92rem;
}

.top-bar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
}

.top-bar-right a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.92rem;
    font-weight: 500;
}

.top-bar-right a:hover {
    color: #FFD700;  /* UPDATED - Gold hover */
}

.top-bar-register {
    background: #FFD700;  /* UPDATED - Gold background */
    color: #0F4761 !important;  /* UPDATED */
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-bar-register:hover {
    background: #FFE44D !important;  /* UPDATED - Lighter gold */
    color: #0F4761 !important;  /* UPDATED */
}

.top-bar-logout {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

.top-bar-logout:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff !important;
}

.social-icons-top {
    display: flex;
    gap: 8px;
}

.social-icons-top a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    font-size: 0.95rem;
}

.social-icons-top a:hover {
    color: #FFD700;  /* UPDATED - Gold hover */
    transform: translateY(-2px);
}

/* Top Bar - Logged In User */
.top-bar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 12px 3px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.user-greeting {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
}

.user-greeting i {
    color: #ffffff;
    font-size: 1rem;
}

.user-greeting strong {
    color: #ffffff;
    font-weight: 700;
}

.user-role-badge {
    font-size: 0.72rem;
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-badge {
    background: var(--danger);
    color: #ffffff;
}

.reviewer-badge {
    background: var(--info);
    color: #ffffff;
}

.author-badge {
    background: var(--success);
    color: #ffffff;
}

.top-bar-logout {
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 3px 10px;
    border-radius: 20px;
    transition: var(--transition);
}

.top-bar-logout:hover {
    background: rgba(220, 53, 69, 0.2);
    color: var(--danger) !important;
}


/* ============================================
   3. NAVIGATION - COLOR UPDATED
   ============================================ */

.navbar {
    background: #0F4761;  /* UPDATED */
    padding: 0.9rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: #0a3a4f;  /* UPDATED - Darker shade */
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    text-decoration: none;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: #FFD700;  /* UPDATED - Gold */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F4761;  /* UPDATED */
    font-size: 1.35rem;
    transition: var(--transition);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.03);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-main {
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 2.2rem;
    color: #ffffff !important;
    letter-spacing: -0.3px;
    line-height: 1;
}

.brand-sub {
    display: none;
}

@media (max-width: 575px) {
    .brand-sub {
        font-size: 0.72rem;
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    .brand-main {
        font-size: 1.7rem;
    }
    .brand-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

/* Nav Links */
.navbar-nav {
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0.65rem 1rem !important;
    border-radius: 999px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.2px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #FFD700 !important;  /* UPDATED - Gold */
    background: rgba(255, 215, 0, 0.15);  /* UPDATED - Gold with opacity */
    border-bottom-color: transparent;
}

.nav-item.active .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-bottom-color: #FFD700;  /* UPDATED - Gold */
}

.nav-link i {
    font-size: 0.95rem;
    opacity: 0.95;
}

.nav-link:hover i {
    opacity: 1;
}

/* Dropdown */
.dropdown-menu {
    background: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    padding: 8px 0;
    min-width: 230px;
    margin-top: 8px;
    border-top: 3px solid #FFD700;  /* UPDATED - Gold */
    display: none !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .dropdown-menu {
        display: none !important;
    }
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item i {
    width: 20px;
    color: #0F4761;  /* UPDATED */
    font-size: 0.85rem;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: rgba(255, 215, 0, 0.12);  /* UPDATED - Gold with opacity */
    color: #0F4761;  /* UPDATED */
    transform: translateX(4px);
}

.dropdown-item:hover i {
    color: #FFD700;  /* UPDATED - Gold */
}

.dropdown-divider {
    margin: 4px 12px;
    border-color: rgba(255, 215, 0, 0.12);  /* UPDATED - Gold with opacity */
}

/* Nav Divider */
.nav-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.15);
    margin: 6px 8px;
}

/* Search */
.search-nav-item .nav-link {
    padding: 0.5rem 0.6rem !important;
}

.search-toggle {
    cursor: pointer;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-input-wrapper i {
    padding: 0 18px;
    color: var(--gray-text);
    font-size: 1.1rem;
}

.search-input-wrapper input {
    flex: 1;
    padding: 16px 0;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-body);
}

.search-input-wrapper button {
    padding: 16px 28px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.search-input-wrapper button:hover {
    background: var(--secondary-light);
}

.search-suggestions {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.search-suggestions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 500;
}

.search-suggestions a:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

/* Mobile Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.16);  /* UPDATED - Gold */
}

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #0F4761;  /* UPDATED */
        padding: 18px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 12px 16px !important;
        border-radius: var(--radius-sm);
    }
    
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.06);
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        margin: 0;
        display: none !important;
        border-top: none;
    }
    
    .dropdown-menu.show {
        display: block !important;
    }
    
    .dropdown-item {
        color: #ffffff;
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 215, 0, 0.16);  /* UPDATED - Gold */
        color: #FFD700;  /* UPDATED - Gold */
    }
    
    .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.12);
    }
    
    .nav-divider {
        display: none;
    }
}


/* ============================================
   4. DASHBOARD NAVIGATION - COLOR UPDATED
   ============================================ */

.navbar-dashboard {
    background: #0F4761 !important;  /* UPDATED */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar-dashboard .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.6rem 1rem !important;
    border-radius: 999px;
    transition: var(--transition);
}

.navbar-dashboard .nav-link:hover {
    color: #FFD700 !important;  /* UPDATED - Gold */
    background: rgba(255, 215, 0, 0.15);  /* UPDATED - Gold */
}

.navbar-dashboard .nav-item.active .nav-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-bottom: 2px solid #FFD700;  /* UPDATED - Gold */
}

.navbar-dashboard .nav-link i {
    font-size: 0.85rem;
    margin-right: 4px;
}

/* Dashboard Nav Items */
.dashboard-nav-item .nav-link {
    font-weight: 600 !important;
}

.nav-link-dashboard {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    padding: 0.45rem 1rem !important;
}

.nav-link-dashboard:hover {
    background: #FFD700 !important;  /* UPDATED - Gold */
    color: #0F4761 !important;  /* UPDATED */
    transform: none;
    box-shadow: none;
}

.nav-link-dashboard i {
    color: #ffffff;
}

.nav-link-dashboard:hover i {
    color: #0F4761;  /* UPDATED */
}

.dashboard-nav-item.active .nav-link-dashboard {
    background: #FFD700 !important;  /* UPDATED - Gold */
    color: #0F4761 !important;  /* UPDATED */
}

.dashboard-nav-item.active .nav-link-dashboard i {
    color: #0F4761;  /* UPDATED */
}

/* Admin Nav */
.nav-link-admin {
    background: rgba(220, 53, 69, 0.12) !important;
    color: var(--danger) !important;
    border: 1px solid rgba(220, 53, 69, 0.2) !important;
}

.nav-link-admin:hover {
    background: var(--danger) !important;
    color: #ffffff !important;
}

.nav-link-admin i {
    color: var(--danger);
}

.nav-link-admin:hover i {
    color: #ffffff;
}

/* Admin Navbar */
.navbar-admin {
    border-bottom-color: rgba(220, 53, 69, 0.3) !important;
}

/* Author Navbar */
.navbar-author .nav-link-dashboard {
    background: rgba(40, 167, 69, 0.12) !important;
    color: var(--success) !important;
    border: 1px solid rgba(40, 167, 69, 0.2) !important;
}

.navbar-author .nav-link-dashboard:hover {
    background: var(--success) !important;
    color: #ffffff !important;
}

.navbar-author .nav-link-dashboard i {
    color: var(--success);
}

.navbar-author .nav-link-dashboard:hover i {
    color: #ffffff;
}

.navbar-author .nav-item.active .nav-link-dashboard {
    background: var(--success) !important;
    color: #ffffff !important;
}

/* Reviewer Navbar */
.navbar-reviewer .nav-link-dashboard {
    background: rgba(23, 162, 184, 0.12) !important;
    color: var(--info) !important;
    border: 1px solid rgba(23, 162, 184, 0.2) !important;
}

.navbar-reviewer .nav-link-dashboard:hover {
    background: var(--info) !important;
    color: #ffffff !important;
}

.navbar-reviewer .nav-link-dashboard i {
    color: var(--info);
}

.navbar-reviewer .nav-link-dashboard:hover i {
    color: #ffffff;
}

.navbar-reviewer .nav-item.active .nav-link-dashboard {
    background: var(--info) !important;
    color: #ffffff !important;
}


/* ============================================
   5. QUICK ACCESS BAR - COLOR UPDATED
   ============================================ */

.dashboard-quick-bar {
    padding: 5px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-quick-bar {
    background: #0a2f41;  /* UPDATED - Darker shade */
    border-bottom: 2px solid var(--danger);
}

.author-quick-bar {
    background: #0a2f41;  /* UPDATED - Darker shade */
    border-bottom: 2px solid var(--success);
}

.reviewer-quick-bar {
    background: var(--primary-dark);
    border-bottom: 2px solid var(--info);
}

.quick-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.quick-bar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.quick-bar-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
    color: #FFD700;  /* UPDATED - Gold */
}

.admin-quick-bar .quick-bar-title {
    color: var(--danger);
}

.author-quick-bar .quick-bar-title {
    color: var(--success);
}

.reviewer-quick-bar .quick-bar-title {
    color: var(--info);
}

.quick-bar-title i {
    margin-right: 4px;
}

.quick-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.82rem;
    padding: 4px 14px;
    border-radius: 50px;
    transition: var(--transition);
    font-weight: 500;
    border: 1px solid transparent;
}

.quick-link:hover {
    color: #FFD700;  /* UPDATED - Gold */
    background: rgba(255, 215, 0, 0.1);  /* UPDATED - Gold */
}

.quick-link.active {
    color: #FFD700;  /* UPDATED - Gold */
    background: rgba(255, 215, 0, 0.15);  /* UPDATED - Gold */
    border-color: rgba(255, 215, 0, 0.2);  /* UPDATED - Gold */
}

.quick-link i {
    margin-right: 4px;
    font-size: 0.65rem;
}

.admin-quick-bar .quick-link.active {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: var(--danger);
}

.author-quick-bar .quick-link.active {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.3);
    color: var(--success);
}

.reviewer-quick-bar .quick-link.active {
    background: rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.3);
    color: var(--info);
}

/* Quick User Info */
.quick-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 12px 2px 5px;
    border-radius: 50px;
}

.quick-avatar {
    width: 30px;
    height: 30px;
    background: #FFD700;  /* UPDATED - Gold */
    color: #0F4761;  /* UPDATED */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-avatar {
    background: var(--danger) !important;
    color: #ffffff !important;
}

.author-avatar {
    background: var(--success) !important;
    color: #ffffff !important;
}

.reviewer-avatar {
    background: var(--info) !important;
    color: #ffffff !important;
}

.quick-user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.quick-user-name {
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 600;
}

.quick-user-role {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.4);
}

.quick-user-role i {
    font-size: 0.45rem;
    margin-right: 2px;
}

.admin-role {
    color: var(--danger) !important;
}

.author-role {
    color: var(--success) !important;
}

.reviewer-role {
    color: var(--info) !important;
}

.quick-logout {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 0.9rem;
}

.quick-logout:hover {
    color: var(--danger);
    background: rgba(220, 53, 69, 0.15);
}

@media (max-width: 991px) {
    .dashboard-quick-bar {
        display: none;
    }
}


/* ============================================
   6. MAIN CONTENT
   ============================================ */

.main-dashboard {
    padding-top: 10px;
    background: var(--light-bg);
    min-height: calc(100vh - 200px);
}

.main-public {
    padding-top: 0;
}


/* ============================================
   7. DASHBOARD HEADER
   ============================================ */

.dashboard-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 25px 0 20px;
    color: #ffffff;
    margin-bottom: 25px;
}

.dashboard-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-header h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.dashboard-header h1 i {
    color: var(--secondary);
}

.dashboard-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
}

.dashboard-subtitle strong {
    color: #ffffff;
}

.dashboard-header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}


/* ============================================
   8. DASHBOARD STATS
   ============================================ */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 25px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-card-total .stat-card-icon {
    background: rgba(15, 71, 97, 0.1);  /* UPDATED */
    color: var(--primary);
}

.stat-card-pending .stat-card-icon {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
}

.stat-card-review .stat-card-icon {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
}

.stat-card-accepted .stat-card-icon {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stat-card-rejected .stat-card-icon {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.stat-card-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ============================================
   9. QUICK ACTIONS
   ============================================ */

.quick-actions {
    margin-bottom: 25px;
}

.quick-actions h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.quick-actions h3 i {
    color: var(--secondary);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.quick-action-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-text);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.quick-action-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: var(--dark-text);
}

.quick-action-card i {
    font-size: 1.4rem;
    color: var(--secondary);
    display: block;
    margin-bottom: 6px;
}

.quick-action-card span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-action-card small {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-text);
}


/* ============================================
   10. RECENT SUBMISSIONS TABLE
   ============================================ */

.recent-submissions {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.section-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.section-header h3 i {
    color: var(--secondary);
}

.view-all {
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
}

.view-all:hover {
    color: var(--primary);
}

.view-all i {
    transition: var(--transition);
}

.view-all:hover i {
    transform: translateX(4px);
}

/* Dashboard Table */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table thead {
    background: var(--light-bg);
    border-radius: var(--radius-sm);
}

.dashboard-table thead th {
    padding: 10px 14px;
    text-align: left;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-text);
    font-weight: 600;
}

.dashboard-table tbody td {
    padding: 10px 14px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--light-gray);
}

.dashboard-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.03);  /* UPDATED - Gold */
}

.paper-id {
    font-weight: 600;
    color: var(--primary);
}

.paper-title {
    color: var(--dark-text);
}

.paper-date {
    color: var(--gray-text);
    font-size: 0.75rem;
}


/* ============================================
   11. BADGES & STATUS
   ============================================ */

.badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.7rem;
    display: inline-block;
}

.badge-warning {
    background: var(--warning);
    color: var(--dark-text);
}

.badge-info {
    background: var(--info);
    color: #ffffff;
}

.badge-success {
    background: var(--success);
    color: #ffffff;
}

.badge-danger {
    background: var(--danger);
    color: #ffffff;
}

.badge-dark {
    background: var(--primary);
    color: #ffffff;
}

.badge-secondary {
    background: var(--gray-text);
    color: #ffffff;
}


/* ============================================
   12. BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.btn-primary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);  /* UPDATED */
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--light-gray);
}

.btn-outline:hover {
    background: var(--light-bg);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-secondary {
    background: var(--gray-text);
    color: #ffffff;
}

.btn-secondary:hover {
    background: #5a6268;
    color: #ffffff;
}


/* ============================================
   13. FORMS
   ============================================ */

.form-control {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: var(--transition);
    font-size: 0.95rem;
    font-family: var(--font-body);
    width: 100%;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);  /* UPDATED */
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.form-text {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: 4px;
}

.form-select {
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    width: 100%;
    background: #ffffff;
}

.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);  /* UPDATED */
    outline: none;
}

.input-group-text {
    background: var(--light-bg);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 10px 14px;
    color: var(--gray-text);
}


/* ============================================
   14. ALERTS
   ============================================ */

.alert {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border-left: 4px solid;
    margin-bottom: 12px;
}

.alert-success {
    background: #d4edda;
    border-color: var(--success);
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: var(--danger);
    color: #721c24;
}

.alert-warning {
    background: #fff3cd;
    border-color: var(--warning);
    color: #856404;
}

.alert-info {
    background: #d1ecf1;
    border-color: var(--info);
    color: #0c5460;
}


/* ============================================
   15. CARDS
   ============================================ */

.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 20px;
}

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

.card-header {
    background: var(--primary);
    color: #ffffff;
    padding: 14px 20px;
    border-bottom: 3px solid var(--secondary);
}

.card-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.card-header h4 i {
    color: var(--secondary);
    margin-right: 8px;
}

.card-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.card-body {
    padding: 20px 24px;
}


/* ============================================
   16. HERO SECTION (Public)
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0 50px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, 0.15);  /* UPDATED */
    color: var(--secondary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 215, 0, 0.2);  /* UPDATED */
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
    font-family: var(--font-serif);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 20px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-stats .stat-item .stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
}

.hero-stats .stat-item .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stats .stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.08);  /* UPDATED */
    border: 1px solid rgba(255, 215, 0, 0.05);  /* UPDATED */
    animation: float-particle var(--duration, 15s) infinite alternate ease-in-out;
    width: var(--size, 15px);
    height: var(--size, 15px);
    top: var(--y, 50%);
    left: var(--x, 50%);
}

.particle:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

@keyframes float-particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(30px, -30px) scale(1.5);
        opacity: 0.8;
    }
}

@media (min-width: 768px) {
    .hero-section {
        padding: 100px 0 70px;
        min-height: 85vh;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        font-size: 1.15rem;
    }
    .hero-stats .stat-item .stat-number {
        font-size: 1.8rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 4rem;
    }
}


/* ============================================
   17. FEATURES SECTION
   ============================================ */

.features-section {
    padding: 50px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.feature-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 20px 18px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #ffffff;
    border-color: rgba(255, 215, 0, 0.2);  /* UPDATED */
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 215, 0, 0.1);  /* UPDATED */
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition);
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--secondary);
}

.feature-card:hover .feature-icon {
    background: var(--secondary);
}

.feature-card:hover .feature-icon i {
    color: var(--primary);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.feature-description {
    font-size: 0.85rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.feature-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

.feature-link a i {
    transition: var(--transition);
}

.feature-link a:hover i {
    transform: translateX(5px);
}


/* ============================================
   18. CTA SECTION
   ============================================ */

.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 1.8rem;
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 70px 0;
    }
    .cta-content h2 {
        font-size: 2.5rem;
    }
    .cta-content p {
        font-size: 1.15rem;
    }
}


/* ============================================
   19. PUBLICATIONS SECTION
   ============================================ */

.publications-section {
    padding: 50px 0;
    background: var(--light-bg);
}

.publications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 576px) {
    .publications-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .publications-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.publication-card {
    background: #ffffff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 215, 0, 0.2);  /* UPDATED */
}

.publication-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.publication-content {
    padding: 16px 18px;
}

.publication-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.publication-title a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.publication-title a:hover {
    color: var(--secondary);
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-bottom: 6px;
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.publication-abstract {
    font-size: 0.8rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.publication-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--light-gray);
}

.publication-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.keyword-tag {
    background: var(--light-bg);
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    color: var(--gray-text);
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
}

.read-more i {
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}


/* ============================================
   20. SECTION HEADERS (Public)
   ============================================ */

.section-header-center {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);  /* UPDATED */
    color: var(--secondary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-family: var(--font-serif);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray-text);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.3rem;
    }
    .section-subtitle {
        font-size: 1.1rem;
    }
}


/* ============================================
   21. SUBMIT CTA
   ============================================ */

.submit-cta {
    padding: 40px 0;
    background: var(--light-bg);
}

.submit-cta-content {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.submit-cta-text h2 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-serif);
    margin-bottom: 2px;
}

.submit-cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

@media (min-width: 768px) {
    .submit-cta-content {
        padding: 40px 36px;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .submit-cta-text h2 {
        font-size: 1.8rem;
    }
}


/* ============================================
   22. QUICK STATS
   ============================================ */

.quick-stats {
    padding: 35px 0;
    background: #ffffff;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.stats-grid .stat-item .stat-number {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
}

.stats-grid .stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}


/* ============================================
   23. PAGE HEADER (Inner Pages)
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 35px 0 28px;
    color: #ffffff;
    margin-bottom: 35px;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.page-header h1 i {
    color: var(--secondary);
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}


/* ============================================
   24. EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 12px;
    display: block;
}

.empty-state h4 {
    color: var(--dark-text);
    margin-bottom: 4px;
}

.empty-state p {
    color: var(--gray-text);
}


/* ============================================
   25. ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}


/* ============================================
   26. BACK TO TOP
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);  /* UPDATED */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);  /* UPDATED */
}


/* ============================================
   27. FOOTER - COLOR UPDATED
   ============================================ */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 0;
    font-family: var(--font-body);
}

.footer-top {
    padding-bottom: 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Footer Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-brand .brand-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-brand h3 {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0;
}

.footer-brand .brand-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    display: block;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 14px;
    max-width: 340px;
}

/* Footer Stats */
.footer-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-stat {
    display: flex;
    flex-direction: column;
}

.footer-stat .stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.footer-stat .stat-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Social */
.footer-social .social-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-social .social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-social .social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.footer-social .social-icon.twitter:hover { background: #1DA1F2; }
.footer-social .social-icon.linkedin:hover { background: #0A66C2; }
.footer-social .social-icon.researchgate:hover { background: #00CCBB; }
.footer-social .social-icon.scholar:hover { background: #4285F4; }
.footer-social .social-icon.facebook:hover { background: #1877F2; }
.footer-social .social-icon.youtube:hover { background: #FF0000; }

/* Footer Widgets */
.footer-widget {
    margin-bottom: 6px;
}

.footer-widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-widget-title i {
    color: var(--secondary);
    font-size: 0.85rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a i {
    font-size: 0.5rem;
    color: var(--secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-contact li i {
    color: var(--secondary);
    font-size: 0.85rem;
    padding-top: 2px;
    flex-shrink: 0;
    width: 18px;
}

.footer-contact li div {
    display: flex;
    flex-direction: column;
}

.footer-contact li span {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--secondary);
}

/* Newsletter */
.footer-newsletter {
    margin-top: 4px;
}

.footer-newsletter-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.newsletter-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.newsletter-group:focus-within {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-group input {
    flex: 1;
    padding: 9px 14px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-family: var(--font-body);
}

.newsletter-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-group button {
    padding: 9px 16px;
    background: var(--secondary);
    border: none;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.newsletter-group button:hover {
    background: var(--secondary-light);
}

/* Footer Divider */
.footer-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 0 16px;
}

.footer-divider .divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 215, 0, 0.2), transparent);  /* UPDATED */
}

.footer-divider .divider-icon {
    color: var(--secondary);
    font-size: 1rem;
    opacity: 0.4;
}

/* Footer Middle */
.footer-middle {
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-middle-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.825rem;
    transition: var(--transition);
    font-weight: 500;
}

.footer-policies a:hover {
    color: var(--secondary);
}

.footer-policies .separator {
    color: rgba(255, 255, 255, 0.1);
    padding: 0 8px;
}

.footer-recognition {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recognition-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recognition-badge i {
    color: var(--secondary);
    font-size: 0.7rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 18px 0 14px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.copyright strong {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.footer-credit {
    margin-top: 8px;
    text-align: center;
}

.footer-credit p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.2);
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-middle-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-policies {
        justify-content: center;
    }
    .footer-recognition {
        justify-content: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
    }
    .footer-policies .separator {
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .footer-policies {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    .footer-policies .separator {
        display: none;
    }
    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
}


/* ============================================
   28. RESPONSIVE UTILITIES
   ============================================ */

/* Hide on specific breakpoints */
@media (max-width: 575px) {
    .hide-mobile { display: none !important; }
    .text-center-mobile { text-align: center !important; }
}

@media (min-width: 576px) {
    .show-mobile { display: none !important; }
}

/* Container max-width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 576px) {
    .container { padding: 0 20px; }
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
}

@media (min-width: 992px) {
    .container { padding: 0 32px; }
}


/* ============================================
   29. SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}


/* ============================================
   30. MISC UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 40px; }

.d-flex { display: flex; }
.d-block { display: block; }
.d-none { display: none; }

.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-100 { width: 100%; }
.w-50 { width: 50%; }

.rounded { border-radius: var(--radius); }
.rounded-sm { border-radius: var(--radius-sm); }

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

.bg-white { background: #ffffff; }
.bg-light { background: var(--light-bg); }
.bg-primary { background: var(--primary); }

.text-muted { color: var(--gray-text); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--secondary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }

/* ============================================
   END OF CSS FILE
   ============================================ */