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

:root {
    --primary-color: #1f2937;
    /* Dark Grey/Black to match Logo Ring */
    --secondary-color: #f97316;
    /* Orange to match Logo Icon */
    --accent-color: #ea580c;
    /* Darker Orange for hover */
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 119px;
    /* Adjusted to match fixed header height (35px top-bar + 84px header) */
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    /* Above main header */
}

.top-bar-container {
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-right {
    display: flex;
    gap: 1rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Main Header - Fixed */
.main-header {
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 35px;
    /* Below top bar */
    left: 0;
    z-index: 1000;
    width: 100%;
}


.header-container {
    width: 100%;
    padding: 0.75rem 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    max-height: 70px;
    transition: all 0.3s ease;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    justify-content: flex-end;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-right: 2rem;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 0.5rem;
    z-index: 100;
    /* Smooth scrolling for dropdowns */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f1f1;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

/* Dropdown scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0 0.5rem 0.5rem 0;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.dropdown-menu a:hover,
.dropdown-menu a.active-child {
    background: #f3f4f6;
    color: var(--secondary-color);
    padding-left: 1.25rem;
    font-weight: 600;
}

.dropdown-menu a:first-child {
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
}

.dropdown-menu a[onclick] {
    cursor: pointer;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
    text-align: center;
}

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

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 400px);
}

.container {
    max-width: 1400px;
    /* Base container width */
    margin: 0 auto;
    padding: 0 40px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1550px;
    }
}


/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    width: 100%;
    padding: 0 40px;
    margin: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Flash Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Responsive */

/* Large Screens / Small Desktops: 1101px-1366px */
@media (min-width: 1101px) and (max-width: 1366px) {
    .header-container {
        padding: 0.75rem 20px;
    }

    .main-nav {
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        margin-right: 1rem;
    }

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

/* Intermediate Screens: 901px-1100px */
@media (min-width: 901px) and (max-width: 1100px) {
    .header-container {
        padding: 0.75rem 15px;
    }

    .logo img {
        max-height: 55px;
    }

    .main-nav {
        gap: 0.5rem;
    }

    .nav-menu {
        gap: 0.75rem;
        margin-right: 0.5rem;
    }

    .nav-link {
        font-size: 0.88rem;
        padding: 0.5rem 0;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Tablet: 768px-900px - Horizontal Scrolling Navigation (Optional for narrow desktop view) */
@media (min-width: 768px) and (max-width: 900px) {
    .header-container {
        padding: 0.75rem 15px;
    }
    
    .main-nav {
        display: none !important; /* Switch to mobile menu for 768-900 if it's too cramped */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobile & Tablet: ≤900px */
@media (max-width: 900px) {
    body {
        padding-top: 92px;
        /* Adjusted to match mobile header height (1rem padding + 60px logo) */
    }

    .top-bar {
        display: none !important;
    }

    .main-header {
        top: 0;
        /* Move to top since top bar is hidden */
    }

    .header-container {
        flex-wrap: wrap;
        padding: 1rem 20px;
        position: relative;
    }

    .container,
    .footer-container {
        padding: 2rem 20px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        padding-left: 0;
        margin-left: 0;
        flex-direction: column;
        background: white;
        border-top: 1px solid #eee;
        /* Scrollable Mobile Menu - Increased height */
        max-height: calc(100vh - 100px);
        /* Fill remaining height with more space */
        overflow-y: auto;
        overflow-x: hidden;
        /* Smooth scrolling */
        -webkit-overflow-scrolling: touch;
        /* Custom scrollbar */
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }

    /* Custom scrollbar for mobile nav */
    .main-nav::-webkit-scrollbar {
        width: 6px;
    }

    .main-nav::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .main-nav::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

    .main-nav::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-right: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: space-between;
        color: #1f2937;
        /* Text Wrapping Fix */
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
    }

    /* Fix dropdowns on mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #f9fafb;
        margin-top: 0;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        padding-left: 0;
        border-left: 3px solid var(--secondary-color);
        border-top: 1px solid #e5e7eb;
        /* Mobile dropdown scrolling - Reduced height */
        max-height: 250px;
        overflow-y: auto;
        overflow-x: hidden;
        /* Smooth scrolling */
        -webkit-overflow-scrolling: touch;
    }

    /* Custom scrollbar styling for dropdown */
    .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

    .dropdown-menu a {
        padding-left: 2.5rem;
        background: #f9fafb;
        /* Text Wrapping Fix */
        white-space: normal;
        word-break: break-word;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .auth-buttons {
        width: 100%;
        flex-direction: column;
        margin-top: 1rem;
        margin-left: 0;
        gap: 0.5rem;
        padding-bottom: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Prevent logo overflow */
    .logo {
        max-width: 70%;
    }

    /* Reduce global font sizes on mobile */
    .page-hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .section-title {
        font-size: 1.75rem !important;
    }
}

/* Archive & Manuscript Styles */
.archive-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

@media (max-width: 900px) {
    .archive-container {
        grid-template-columns: 1fr;
    }
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.widget-header {
    background: #fee2e2;
    color: #dc2626;
    padding: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-bottom: 1px solid #fecaca;
}

.widget-header.news,
.widget-header.authors {
    background: #f3f4f6;
    color: #ef4444;
}

.widget-content {
    padding: 1.5rem;
    font-size: 0.95rem;
}

.date-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.date-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.date-label {
    color: #ef4444;
    font-weight: 600;
}

.date-value {
    color: #4b5563;
}

.btn-submit-widget {
    display: block;
    width: 100%;
    background: #f97316;
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-submit-widget:hover {
    background: #ea580c;
    transform: scale(1.02);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.sidebar-list li {
    margin-bottom: 0.75rem;
}

.sidebar-list a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-list a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Archive Main Header */
.archive-main-header {
    margin-bottom: 2rem;
}

.archive-main-header h1 {
    font-size: 2rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.archive-search-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.archive-search-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.archive-search-input:focus {
    outline: none;
    border-color: #f97316;
}

.btn-archive-search {
    background: #e5e7eb;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-archive-search:hover {
    background: #d1d5db;
}

/* Manuscript Card */
.manuscript-card {
    border-radius: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 50px 1fr 200px 120px;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.3s ease;
}

.manuscript-card:first-child {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.manuscript-card:last-child {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-bottom: none;
}

/* Odd (Default) */
.manuscript-card.odd {
    background: #ffffff;
}

.manuscript-card.odd:hover {
    background: #f9fafb;
}

.manuscript-card.odd .index-number {
    color: #9ca3af;
}

.manuscript-card.odd .manuscript-title {
    color: #1e3a8a;
}

.manuscript-card.odd .meta-label {
    color: #f97316;
}

.manuscript-card.odd .meta-text {
    color: #4b5563;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.manuscript-card.odd .btn-action {
    background: #f97316;
    color: white;
    border: 1px solid #f97316;
}

.manuscript-card.odd .btn-action:hover {
    background: #ea580c;
    border-color: #ea580c;
}

/* Even (Light Grey) */
.manuscript-card.even {
    background: #fdfdfe;
    /* Very subtle difference */
}

.manuscript-card.even:hover {
    background: #eff6ff;
}

.manuscript-card.even .index-number {
    color: #9ca3af;
}

.manuscript-card.even .manuscript-title {
    color: #1e3a8a;
}

/* Blue Title matching original */
.manuscript-card.even .manuscript-title:hover {
    opacity: 0.8;
}

.manuscript-card.even .meta-label {
    color: #f97316;
}

/* Orange Labels */
.manuscript-card.even .meta-text {
    color: #4b5563;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.manuscript-card.even .btn-action {
    background: white;
    color: #f97316;
    border: 1px solid #f97316;
}

.manuscript-card.even .btn-action:hover {
    background: #f97316;
    color: white;
}

.manuscript-card.even .btn-action.disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.index-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.manuscript-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.manuscript-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    /* Proper text wrapping for long titles */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    display: block;
}

.manuscript-meta-row {
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 700;
    margin-right: 0.25rem;
}

.paper-stats-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.manuscript-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-action {
    display: block;
    text-align: center;
    padding: 0.4rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

/* Detail Page Styles */
.detail-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-row {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #374151;
}

.detail-title-label {
    font-weight: 600;
    font-style: italic;
    margin-right: 0.5rem;
    color: #4b5563;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    background: #f3f4f6;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow-x: auto;
    /* Scroll on mobile */
}

.tab-btn {
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #1e3a8a;
    background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: #ef4444;
    border-bottom: 2px solid #ef4444;
    background: white;
}

.tab-content {
    display: none;
    padding: 1rem 0;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content.active {
    display: block;
}

.tab-header {
    color: #6db3c9;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Authors Table */
.authors-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.authors-table th,
.authors-table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.authors-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* Abstract Box */
.abstract-box,
.citation-box {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.abstract-row,
.citation-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid #e5e7eb;
}

.abstract-row:last-child,
.citation-row:last-child {
    border-bottom: none;
}

.abstract-label {
    padding: 1rem;
    font-weight: 700;
    color: #4b5563;
    background: #f9fafb;
}

.abstract-value,
.citation-text {
    padding: 1rem;
    color: #374151;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.citation-label {
    padding: 1rem;
    font-weight: 700;
    color: #4b5563;
    background: #f9fafb;
}

.citation-text {
    font-style: italic;
    color: #666;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .archive-container {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    /* Hide sidebar on mobile for cleaner layout */
    .sidebar {
        display: none;
    }

    /* Archive Header */
    .archive-main-header h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Search Bar */
    .archive-search-bar {
        flex-direction: column;
        gap: 0.5rem;
    }

    .archive-search-input {
        width: 100%;
        font-size: 0.9rem;
    }

    .btn-archive-search {
        width: 100%;
        padding: 0.75rem;
    }

    /* Sidebar Widgets */
    .sidebar-widget {
        margin-bottom: 1.5rem;
    }

    .widget-header {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .widget-content {
        padding: 1rem;
    }

    .date-row {
        font-size: 0.85rem;
    }

    .btn-submit-widget {
        font-size: 0.9rem;
        padding: 0.625rem 1rem;
    }

    /* Manuscript Cards */
    .manuscript-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .index-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .manuscript-title {
        font-size: 1.1rem;
    }

    .manuscript-meta-row {
        font-size: 0.85rem;
    }

    .paper-stats-col {
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 0.5rem;
        font-size: 0.85rem;
    }

    .manuscript-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .btn-action {
        flex: 1;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    .abstract-row,
    .citation-row {
        grid-template-columns: 1fr;
    }

    .abstract-label,
    .citation-label {
        background: #f3f4f6;
        border-bottom: 1px solid #e5e7eb;
        padding: 0.5rem 1rem;
    }

    .abstract-value,
    .citation-text {
        padding: 0.75rem 1rem;
    }
}

/* ========================================
   FORM STYLES - Contact, Board, Conference, Manuscript
   ======================================== */

/* Contact Page Specific Styles */
.page-hero {
    position: relative;
    background: url('https://placehold.co/1920x400?text=Contact+IJARIIE') no-repeat center center/cover;
    color: white;
    padding: 2.5rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background-attachment: scroll;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.85);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    word-wrap: break-word;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    word-wrap: break-word;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-form-box {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.contact-form-box h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.2s;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    background: #fff7ed;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.info-content p,
.info-content a {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
    text-decoration: none;
}

.info-content a:hover {
    color: var(--secondary-color);
}

.specific-queries {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 5rem;
}

.specific-queries h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.query-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.query-item h4 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.query-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Container - Shared by Board, Conference, Manuscript */
.form-container {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c2410c;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #6b7280;
    font-size: 1.125rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #c2410c;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    font-size: 1.75rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-label.required::after {
    content: ' *';
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Password Toggle Styles */
.password-toggle-wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-toggle-wrapper .form-input {
    padding-right: 45px !important;
}

.password-toggle-icon {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #64748b !important;
    z-index: 10 !important;
    transition: color 0.3s !important;
    font-size: 1.1rem !important;
}

.password-toggle-icon:hover {
    color: var(--secondary-color) !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-file {
    display: block;
    width: 100%;
    padding: 0.75rem;
    border: 2px dashed #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-file:hover {
    border-color: #f97316;
    background-color: #f9fafb;
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.btn-submit {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(249 115 22 / 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.checkbox-group input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

/* Manuscript-specific Author Styles */
.author-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    margin-bottom: 1rem;
    position: relative;
}

.author-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.author-number {
    font-weight: 600;
    color: #3b82f6;
}

.btn-remove-author {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-remove-author:hover {
    background-color: #dc2626;
}

.btn-add-author {
    background-color: #10b981;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-author:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.file-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.difficulty-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.6;
}

/* jQuery Validation Error Styles */
.error-input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Mobile Responsive - Contact Page */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2.5rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .page-hero p {
        font-size: 0.85rem !important;
    }

    .contact-grid {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .contact-form-box,
    .info-column {
        padding: 1.25rem;
    }

    .contact-form-box h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .form-input,
    .form-textarea {
        font-size: 0.85rem;
        padding: 0.6rem 0.75rem;
    }

    .btn-submit {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        letter-spacing: 0.3px;
    }

    .info-card {
        padding: 1rem;
        gap: 0.65rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .info-content h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .info-content p,
    .info-content a {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.4;
    }

    .specific-queries {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }

    .specific-queries h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .query-grid {
        gap: 1.25rem;
        grid-template-columns: 1fr;
    }

    .query-item h4 {
        font-size: 0.9rem;
        word-wrap: break-word;
        margin-bottom: 0.4rem;
    }

    .query-item p {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.5;
    }

    .query-item p strong {
        font-size: 0.8rem;
    }

    .query-item p a {
        font-size: 0.8rem;
        word-wrap: break-word;
    }

    /* Form Container Mobile */
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.3rem !important;
    }

    .page-hero p {
        font-size: 0.8rem !important;
    }

    .contact-form-box,
    .info-column,
    .specific-queries {
        padding: 1rem 0.85rem;
    }

    .contact-form-box h2,
    .specific-queries h2 {
        font-size: 1.1rem;
    }

    .query-item h4 {
        font-size: 0.85rem;
    }

    .query-item p {
        font-size: 0.75rem;
    }
}

/* ========================================
   PAYMENT PAGE STYLES
   ======================================== */

.payment-container {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.manuscript-preview {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
}

.preview-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.preview-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.paper-id {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.detail-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-label {
    font-weight: 600;
    color: #6b7280;
}

.detail-value {
    color: #1f2937;
}

.payment-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.payment-header {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.amount-display {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    margin-bottom: 2rem;
}

.amount-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.amount-value {
    font-size: 3rem;
    font-weight: 700;
}

.currency {
    font-size: 1.5rem;
}

.payment-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #374151;
}

.feature-icon {
    color: #10b981;
    font-size: 1.25rem;
}

.btn-pay {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3);
}

.security-badge {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.875rem;
}

.security-icon {
    color: #10b981;
    margin-right: 0.25rem;
}

/* ========================================
   CONFERENCE VIEW STYLES
   ======================================== */

/* Tab System */
.conference-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.conf-tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    position: relative;
}

.conf-tab-btn.active {
    color: #f97316;
}

.conf-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f97316;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.conf-tab-content {
    display: none;
}

.conf-tab-content.active {
    display: block;
}

.conf-detail-section {
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.conf-detail-title {
    color: #f97316;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.college-logo-container {
    text-align: center;
    margin-bottom: 1rem;
}

.college-logo-container img {
    max-width: 150px;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: #f97316;
    font-weight: 600;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
}

.table-custom th,
.table-custom td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.table-custom th {
    background-color: #f2f2f2;
    color: #333;
}

/* Payment Grid Mobile */
@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-card {
        position: static;
    }
}

/* ========================================
   STATIC PAGES STYLES - About, Processing Charges, How to Publish, Author Guidelines
   ======================================== */

/* About Page Styles */
/* Hero Section - Consistent with Home */
.page-hero {
    position: relative;
    background: url('https://placehold.co/1920x400?text=About+IJARIIE') no-repeat center center/cover;
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background-attachment: fixed;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(31, 41, 55, 0.85);
    z-index: 1;
}

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

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Section Styles */
.section-padding {
    padding: 2rem 0;
}

/* Who We Are */
.who-we-are {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.who-img {
    flex: 1;
    min-width: 300px;
}

.who-img img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.who-text {
    flex: 1;
    min-width: 300px;
}

.who-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    border-left: 5px solid var(--secondary-color);
    padding-left: 1rem;
}

.who-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Recognition Box */
.approval-box {
    background: #fdf2f8;
    border: 1px solid #fbcfe8;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.approval-box h4 {
    color: #db2777;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.mv-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--secondary-color);
    transition: transform 0.3s;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.mv-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Why Best Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reason-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s;
}

.reason-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}

.reason-card h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.reason-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Common Static Page Layout Styles */
.page-layout,
.publish-layout,
.guidelines-layout {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.sidebar-left,
.sidebar-right {
    flex: 0 0 250px;
    max-width: 250px;
}

.main-content-area,
.publish-content,
.guidelines-content {
    flex: 1;
    background: #fff;
    padding: 20px;
}

/* Widget Styles */
.sidebar-widget {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    background: #fff;
}

.widget-header {
    background: #f9fafb;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
    color: #d35400;
}

.widget-header.news,
.widget-header.authors {
    color: #d35400;
}

.widget-content {
    padding: 15px;
}

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

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}

.sidebar-list a:hover {
    color: #d35400;
    text-decoration: underline;
}

.date-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
}

.date-label {
    color: #d35400;
}

.date-value {
    color: #333;
}

.btn-submit-widget {
    display: block;
    width: 100%;
    background: #ff8c42;
    color: white;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

.btn-submit-widget:hover {
    background: #e67e22;
}

.issn-box {
    text-align: center;
    padding: 10px;
}

.issn-barcode {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 10px 0;
}

/* Tab Styles (Processing Charges) */
.tabs-nav {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    font-weight: 600;
    color: #555;
}

.tab-link.active {
    background: #fff;
    border-top: 3px solid #ff8c42;
    color: #333;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* How to Publish Styles */
.publish-title {
    color: #7abaff;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.steps-list {
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

.steps-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Author Guidelines Styles */
.guideline-title {
    color: #ff6b6b;
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.guideline-highlight {
    color: #64b5f6;
    font-weight: bold;
}

.guideline-list,
.download-list {
    list-style: none;
    padding: 0;
}

.guideline-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

.guideline-list li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: #64b5f6;
    font-weight: bold;
}

.download-list li {
    margin-bottom: 10px;
}

.download-list a {
    color: #2196f3;
    text-decoration: none;
    font-weight: 500;
}

.download-list a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments for Static Pages */
@media (max-width: 900px) {
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 2.5rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .page-hero p {
        font-size: 0.85rem !important;
    }

    .section-title {
        font-size: 1.4rem !important;
    }

    .section-subtitle {
        font-size: 0.85rem;
        padding: 0 0.75rem;
    }

    .who-we-are {
        gap: 1.5rem;
    }

    .who-text h2 {
        font-size: 1.3rem;
    }

    .who-text p {
        font-size: 0.85rem;
    }

    .approval-box {
        padding: 1rem;
    }

    .approval-box h4 {
        font-size: 0.85rem;
    }

    .approval-box p {
        font-size: 0.8rem;
    }

    .mv-card {
        padding: 1.5rem 1.25rem;
    }

    .mv-card h3 {
        font-size: 1.25rem;
    }

    .mv-card p {
        font-size: 0.85rem;
    }

    .reason-card h4 {
        font-size: 1rem;
    }

    .reason-card p {
        font-size: 0.8rem;
    }

    .sidebar-left,
    .sidebar-right {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.3rem !important;
    }

    .page-hero p {
        font-size: 0.8rem !important;
    }

    .section-title {
        font-size: 1.2rem !important;
    }

    .who-text h2 {
        font-size: 1.15rem;
    }

    .mv-card h3 {
        font-size: 1.1rem;
    }
}

/* ========================================
   BOARD LIST & AUTH PAGES STYLES
   ======================================== */

/* Board List Styles */
.board-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.board-title {
    color: #d35400;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.member-card {
    display: flex;
    background: linear-gradient(135deg, #ff8c42 0%, #f97316 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 130px;
    height: 160px;
    min-width: 130px;
    object-fit: cover;
    background-color: #eee;
    border: 3px solid white;
    border-radius: 8px;
    margin-right: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.member-info {
    flex: 1;
    min-width: 0;
    /* Critical for text wrapping in flex container */
    word-break: break-word;
    overflow-wrap: anywhere;
}

.member-name {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.member-designation {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.member-qualification {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    min-width: 200px;
    color: #333;
}

/* Auth Pages (Login & Register) Styles */
.auth-container {
    max-width: 500px;
    margin: 3rem auto;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6b7280;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.auth-footer a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-header-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .member-photo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 150px;
        height: 180px;
    }

    .member-designation {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ========================================
   USER DASHBOARD STYLES
   ======================================== */

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.action-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border-color: var(--secondary-color);
}

.action-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.action-card p {
    color: #6b7280;
    font-size: 0.875rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.manuscripts-table {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

.manuscripts-table table {
    width: 100%;
    border-collapse: collapse;
}

.manuscripts-table thead {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
    color: white;
}

.manuscripts-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.manuscripts-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.manuscripts-table tbody tr:hover {
    background-color: #f9fafb;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-accepted {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-paid {
    background-color: #dbeafe;
    color: #1e40af;
}

.badge-unpaid {
    background-color: #f3f4f6;
    color: #374151;
}

.btn-download {
    background-color: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-download:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.empty-state p {
    margin-bottom: 1.5rem;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }

    .manuscripts-table {
        overflow-x: auto;
    }
}

/* Pagination Styles */
.pagination {
    display: flex !important;
    list-style: none !important;
    padding-left: 0 !important;
    gap: 0.5rem !important;
    margin: 2rem 0 !important;
    justify-content: center !important;
}

.page-item {
    margin: 0 !important;
    list-style: none !important;
}

.page-item .page-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: white !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2) !important;
}

.page-item:hover .page-link:not(.active) {
    background: #fff7ed !important;
    color: #f97316 !important;
    border-color: #f97316 !important;
}

.page-item.disabled .page-link {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    background: #f8fafc !important;
}

/* How to Publish Page Styles */
.publish-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #374151 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 1rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.publish-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.publish-header h1 strong {
    color: var(--secondary-color);
}

.publish-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.publish-layout-modern {
    display: block !important;
    max-width: 1400px;
    /* Increased to allow wider feel */
    margin: 2rem auto !important;
    padding: 20px !important;
}

.publish-content-modern.full-width {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.process-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.process-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--secondary-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.process-card:hover::before {
    opacity: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #fff7ed;
    color: var(--secondary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s;
}

.process-card:hover .step-icon {
    background: var(--secondary-color);
    color: white;
}

.step-info h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-info p {
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.6;
}

.sidebar-widget-modern {
    background: white;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-widget-modern:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.widget-header-modern {
    background: #f8fafc;
    color: var(--primary-color) !important;
    padding: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left !important;
}

.widget-header-modern.orange-theme {
    background: #fff7ed;
    color: #9a3412 !important;
    border-bottom-color: #ffedd5;
}

.widget-content-modern {
    padding: 1.5rem;
}

.date-row-modern {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.date-row-modern:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.date-label-modern {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

.date-value-modern {
    color: #4b5563;
}

.btn-submit-modern {
    display: block;
    width: 100%;
    background: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-submit-modern:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    color: white;
}

.sidebar-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list-modern li {
    margin-bottom: 0.75rem;
}

.sidebar-list-modern a {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-list-modern a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.issn-box-modern {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.issn-text-modern {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 1200px) {
    .publish-layout-modern {
        grid-template-columns: 1fr !important;
    }

    .sidebar-left,
    .sidebar-right {
        order: 2;
        max-width: 100% !important;
        width: 100% !important;
    }

    .publish-content-modern {
        order: 1;
        width: 100% !important;
    }
}

/* Tabs Redesign */
.tabs-nav-premium {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: white;
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.tab-link-premium {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tab-link-premium.active {
    background: var(--bg-light);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.tab-link-premium:not(.active):hover {
    background: #f1f5f9;
    color: var(--primary-color);
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card-premium {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-premium.featured {
    border: 2px solid var(--secondary-color);
}

.pricing-card-premium.featured::before {
    content: "Recommended";
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 3rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: #fef3c7;
    color: #d97706;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-amount span {
    font-size: 1rem;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.pricing-features i {
    color: #10b981;
}

/* Bank Details Table/Card */
.bank-card-premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    margin-top: 2rem;
}

.bank-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.bank-item-premium {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.bank-item-premium:last-child {
    border-bottom: none;
}

.bank-label-premium {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.bank-value-premium {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Guidelines Styles */
.guideline-section-premium {
    margin-bottom: 3rem;
}

.guideline-card-premium {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.guideline-card-premium:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.05);
}

.guideline-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.guideline-content-premium h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.guideline-content-premium p {
    color: #64748b;
    font-size: 0.95rem;
}

/* CTA Buttons */
.cta-group-premium {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-cta-premium {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-cta-primary {
    background: var(--secondary-color);
    color: white;
}

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

/* About Page Premium Styles */
.about-section-premium {
    margin-bottom: 5rem;
}

.about-header-premium {
    margin-bottom: 2.5rem;
}

.about-title-premium {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.about-title-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-subtitle-premium {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.pros-list-premium {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.pros-item-premium {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.pros-item-premium:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pros-icon-premium {
    width: 24px;
    height: 24px;
    background: #fff7ed;
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
    border: 1px solid #ffedd5;
}

.pros-text-premium {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.impact-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991px) {
    .impact-grid-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.formula-card-premium {
    background: #0f172a;
    color: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.formula-card-premium::before {
    content: '{ }';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 120px;
    font-family: serif;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.formula-title-premium {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.formula-line-premium {
    font-family: 'Fira Code', monospace;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.formula-variable-premium {
    color: #38bdf8;
    font-weight: 600;
}

.formula-result-premium {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border: 1px dashed var(--secondary-color);
    border-radius: 0.5rem;
    margin-top: 1rem;
    font-weight: bold;
}