:root {
    --prism-violet: #4066CC;
    --prism-purple: #2E5FB8;
    --prism-pink: #4EADE4;
    --prism-orange: #1E88E5;
    --prism-cyan: #0288D1;
    --prism-green: #0277BD;
}

html {
    scrollbar-gutter: stable;
    overflow-x: hidden;
}

body {
    background: #F5F7FA;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    scrollbar-gutter: stable;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    animation: backgroundPulse 20s infinite ease-in-out;
}

/* Cache busting for responsive changes */
#prism-mobile-v1 { display: none; }

@keyframes backgroundPulse {
    0% { background-color: #F5F7FA; }
    33% { background-color: #f0f4f8; }
    66% { background-color: #f8f5fa; }
    100% { background-color: #F5F7FA; }
}

* {
    box-sizing: border-box;
}

*:hover {
    outline: none;
}

.dashboard-header {
    --gradient-x: 120px;
    background: conic-gradient(from 180deg at var(--gradient-x) -5%, 
        #FF0000 0deg,
        #FF7F00 51deg,
        #FFFF00 102deg,
        #00FF00 153deg,
        #0000FF 204deg,
        #4B0082 255deg,
        #8B00FF 306deg,
        #FF0000 360deg);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at var(--gradient-x) 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.prism-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
    letter-spacing: 3px;
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    padding-top: 0;
}

.pm-super {
    position: relative;
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    margin-top: -15px;
}

.pm-super::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 100px solid #20558a;
    z-index: 1;
    filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.4));
}

.pm-super span {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.6), 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
    z-index: 2;
}

.prism-text {
    display: inline;
    margin-top: 12px;
    margin-left: -10px;
}

.nav-item-parallelogram {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-12deg);
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-item-parallelogram:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

.nav-item-parallelogram.active {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-item-inner {
    display: block;
    transform: skewX(12deg);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.nav-item-super {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.nav-item-parallelogram.active .nav-item-inner {
    color: #fff;
}

.nav-item-title {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
}

.nav-item-desc {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.75;
    margin-top: 2px;
    white-space: nowrap;
}

.nav-item-text {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.nav-item-text:hover {
    color: #fff;
    text-decoration: none;
}

.nav-item-text.active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.dashboard-header a {
    cursor: pointer;
    position: relative;
    z-index: 10;
    display: block;
    transition: all 0.3s ease;
}

.dashboard-header a .prism-logo {
    transition: all 0.3s ease;
}

.dashboard-header a:hover .prism-logo {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.dashboard-header a:hover .prism-subtitle {
    opacity: 0.8;
}

.prism-subtitle {
    opacity: 1;
    font-size: 1rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Custom Nav Pills for View Switcher */
.nav-pills-custom {
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.nav-pills-custom .nav-link {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-pills-custom .nav-link:hover {
    background: rgba(0, 0, 0, 0.03);
}

.nav-pills-custom .nav-link.active {
    background: white !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.05);
}

.nav-pills-custom .nav-link.btn-combined.active { color: #667eea !important; }
.nav-pills-custom .nav-link.btn-trending.active { color: #f64f59 !important; }
.nav-pills-custom .nav-link.btn-total.active { color: var(--prism-violet) !important; }
.nav-pills-custom .nav-link.btn-growth.active { color: #11998e !important; }
.nav-pills-custom .nav-link.btn-effective.active { color: #e91e63 !important; }
.nav-pills-custom .nav-link.btn-cases.active { color: #FF8E53 !important; }

.colorful-select {
    font-weight: 600 !important;
    border: 1.5px solid var(--prism-violet) !important;
    color: var(--prism-violet) !important;
    background-color: #f8fafc !important;
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
    .treatment-controls {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .section-header-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.25rem !important;
    }
    .treatment-view-switcher {
        width: 100%;
        margin-top: 0.5rem;
    }
    #treatment-view-select {
        width: 100% !important;
        padding: 0.6rem !important;
        font-size: 0.95rem !important;
    }
    #articles-highly-effective-mobile-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    body {
        background: #FFFFFF !important;
    }
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .stat-card, .prism-card, .chart-container {
        border-left: none !important;
        border-right: none !important;
        padding: 1rem 0.5rem !important;
        margin-bottom: 0.75rem !important;
        clip-path: none !important;
        box-shadow: none !important;
        border-top: 1px solid #f0f0f0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.stat-card, .prism-card {
    background: #FFFFFF;
    border-radius: 0;
    padding: 0.5rem 1.2rem;
    margin-bottom: 0.15rem;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #E0E7FF;
}

.section-header-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    background: linear-gradient(90deg, var(--prism-violet), var(--prism-purple)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    margin-bottom: 3px !important;
    margin-top: 0 !important;
}

.stat-card::before, .prism-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0288D1, #1E88E5, #2E5FB8, #4066CC);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #1E88E5, #0288D1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-container {
    background: #FFFFFF;
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: 400px;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    border: 1px solid #E0E7FF;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0288D1, #1E88E5, #2E5FB8);
}

.article-card {
    background: #FFFFFF;
    border-left: none;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    position: relative;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    transition: background 0.2s ease;
    cursor: pointer;
}

.article-card:last-child {
    border-bottom: 1px solid #f0f0f0;
}

.article-card:hover {
    background: #f8f9fa;
}

.article-card::before {
    display: none;
}

.article-left {
    flex: 1;
    min-width: 0;
    padding-right: 0.5rem;
}

.article-right {
    flex: 0 0 40%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-left: 1px solid #E0E7FF;
    padding-left: 0.5rem;
}

.article-card:hover .article-right {
    opacity: 1;
}

.article-abstract {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    max-height: 280px;
    overflow-y: auto;
}

.article-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.25;
    display: inline;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-bottom: 0.05rem;
}

.article-title-row .badge-treatment,
.article-title-row .badge-condition {
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    margin: 0;
}

.article-title a {
    color: var(--prism-violet);
    text-decoration: none;
    transition: all 0.2s;
}

.article-title a:hover {
    color: var(--prism-purple);
    text-decoration: underline;
}

.article-meta {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.25;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.05rem;
}

.article-meta-row i {
    font-size: 0.7rem;
    color: #94a3b8;
}

.badge {
    display: inline-block !important;
    padding: 0.35em 0.65em !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: baseline !important;
    border-radius: 0.25rem !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important; /* Fix for gradient inheritance */
}
.bg-success { background-color: #28a745 !important; }
.bg-warning { background-color: #ffc107 !important; color: #212529 !important; -webkit-text-fill-color: #212529 !important; }
.bg-danger { background-color: #dc3545 !important; }
.bg-primary { background-color: #007bff !important; }
.bg-info { background-color: #17a2b8 !important; }
.bg-secondary { background-color: #6c757d !important; }

.abstract-panel-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.abstract-panel-date {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
    margin-left: 2px;
}

.badge-treatment {
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple));
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.25rem;
    border-radius: 0;
    clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.badge-condition {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.badge-elite {
    background: linear-gradient(135deg, #d4af37, #f0d94d);
    color: #333;
    font-weight: 600;
}

.badge-high-quality {
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple));
    color: white;
}

.badge-mid-tier {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
}

.badge-low-tier {
    background: linear-gradient(135deg, #a5a5a5, #9a9a9a);
    color: white;
}

.badge-unknown {
    background: linear-gradient(135deg, #ccc, #bbb);
    color: #333;
}

.badge-no-ranking {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    font-weight: 600;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.spinner-border {
    color: var(--prism-violet);
}

.treatment-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    -webkit-overflow-scrolling: touch;
}

.treatment-cards-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.treatment-cards-grid .parallelogram-card-wrapper {
    flex: 0 0 85%; /* Show mostly one card with a peek of the next */
    scroll-snap-align: center;
    margin-right: 10px;
}

/* Article batch pagination mobile styles */
.mobile-only-pagination {
    background: #fff;
    padding: 10px;
    border-top: 1px solid #eee;
    margin-bottom: 60px; /* Space for mobile nav */
    touch-action: pan-y; /* Allow vertical scroll but enable custom swipe handling */
}

.articles-list {
    touch-action: pan-y; /* Ensure vertical scrolling is smooth */
}

.swipe-hint {
    opacity: 0.7;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .treatment-cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
    }
    
    .treatment-cards-grid .parallelogram-card-wrapper {
        flex: none;
        scroll-snap-align: none;
    }
}

.parallelogram-card {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 0.75rem 1rem;
    transform: skewX(-5deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    min-height: 85px;
}

.parallelogram-card:hover {
    transform: skewX(-5deg) translateY(-3px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.2);
}

.parallelogram-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--prism-cyan), var(--prism-violet), var(--prism-pink));
}

.parallelogram-card .card-content {
    transform: skewX(5deg);
}

.parallelogram-card .treatment-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.parallelogram-card .treatment-count {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.parallelogram-card .emerging-trend {
    position: static;
    display: inline-flex;
    background: linear-gradient(135deg, var(--prism-orange), var(--prism-pink));
    color: white;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    transform: skewX(5deg);
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 0.25rem;
    height: fit-content;
}

/* Redesigned card styles */
.parallelogram-card-redesigned {
    display: flex !important;
    flex-direction: column !important;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
    padding: 12px 16px !important;
    transform: skewX(-5deg) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    min-height: 110px !important;
}

.parallelogram-card-redesigned:hover {
    transform: skewX(-5deg) translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(102,126,234,0.25) !important;
    z-index: 5 !important;
}

.parallelogram-card-redesigned .treatment-name {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 0.4rem !important;
    line-height: 1.25 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transform: skewX(5deg) !important;
}

.card-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.treatment-name-container {
    transform: skewX(5deg) !important;
}

.metrics-row-redesigned {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    gap: 4px !important;
    transform: skewX(5deg) !important;
    width: 100% !important;
}

/* Hide side elements in treatment prism */
.treatment-prism-sidebar,
.nav-pills-custom {
    display: none !important;
}

/* Ensure full width */
#treatment-prism .row > div {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.metric-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 0 !important;
    font-size: 0.65rem !important;
    color: #718096 !important;
    transition: all 0.2s !important;
    padding: 4px 2px !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.metric-item i {
    font-size: 0.85rem !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.metric-item span {
    font-weight: 700 !important;
    color: #4a5568 !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
}

.metric-highlight-volume, .metric-highlight-effective, .metric-highlight-growth {
    background: rgba(102, 126, 234, 0.12) !important;
    border-radius: 4px !important;
    box-shadow: inset 0 0 0 1px rgba(102, 126, 234, 0.2) !important;
}

/* Distinctive highlights for different metric types */
.metric-highlight-volume {
    background: rgba(64, 102, 204, 0.15) !important;
}

.metric-highlight-effective {
    background: rgba(233, 30, 99, 0.15) !important;
}

.metric-highlight-growth {
    background: rgba(17, 153, 142, 0.15) !important;
}

.metric-highlight-cr {
    background: rgba(40, 167, 69, 0.15) !important;
}

.metric-highlight-volume i, .metric-highlight-volume span { color: var(--prism-violet) !important; }
.metric-highlight-effective i, .metric-highlight-effective span { color: #e91e63 !important; }
.metric-highlight-growth i, .metric-highlight-growth span { color: #11998e !important; }
.metric-highlight-cr i, .metric-highlight-cr span { color: #28a745 !important; }

/* Low values: dimmed out */
.metric-low-value {
    opacity: 0.35 !important;
    filter: grayscale(0.5) !important;
}

/* 2-line treatment name for consistency */
/* Mobile Combined View Adjustments */
@media (max-width: 767.98px) {
    .combined-row {
        padding-left: 0 !important;
        margin-left: 0 !important;
        width: 100vw !important;
    }
    .combined-row-label {
        width: 30px !important;
        min-width: 30px !important;
        padding: 5px 2px !important;
        left: 0 !important;
    }
    .combined-row-label .label-text {
        font-size: 0.6rem !important;
        letter-spacing: 0 !important;
    }
    .combined-row-label i {
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
    }
    .combined-row-content {
        padding-left: 0 !important;
        flex: 1 !important;
        min-width: 0 !important;
        width: calc(100% - 30px) !important;
    }
    .treatment-cards-grid-redesigned.combined-row-cards {
        padding-left: 2px !important;
        gap: 6px !important;
    }
    .stat-card#treatment-prism {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.treatment-name-2lines {
    min-height: 2.5em !important;
    height: 2.5em !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.25 !important;
}

/* Combined view row styling - full width horizontal labels */
.combined-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.combined-row-label {
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 6px 15px !important;
    margin-bottom: 0.5rem !important;
    border-radius: 0 !important;
    clip-path: none !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
}

.combined-row-label .label-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.combined-row-label i {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    margin-right: 8px !important;
    transform: none !important;
}

.combined-row-label .label-text {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.combined-row-content {
    width: 100% !important;
    display: block !important;
    padding: 0 10px 10px 10px !important;
}

.combined-row-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
}

.combined-row-paging {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    padding: 0.5rem !important;
}


.combined-paging-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    color: #6c757d;
}

.combined-paging-btn:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.combined-paging-btn:disabled {
    opacity: 0.4;
}

.paging-info {
    font-size: 0.7rem;
    color: #6c757d;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .combined-row-cards {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 767.98px) {
    .combined-row {
        min-height: 120px;
    }
    .combined-row-label {
        width: 24px;
        min-width: 24px;
    }
    .combined-row-label .label-text {
        font-size: 0.55rem;
    }
    .combined-row-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.trending-tag-redesigned {
    position: absolute;
    top: 8px;
    right: 35px;
    background: linear-gradient(135deg, var(--prism-orange), var(--prism-pink));
    color: white;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    transform: skewX(5deg);
    border-radius: 2px;
    z-index: 2;
}

.parallelogram-card-redesigned .treatment-count {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.parallelogram-card-redesigned .treatment-trend {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

.parallelogram-card-redesigned .badge {
    font-size: 0.65rem;
    padding: 0.15rem 0.35rem;
}

.treatment-cards-grid-redesigned {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.parallelogram-card-redesigned {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 0.65rem 0.85rem;
    transform: skewX(-5deg);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    min-height: 80px;
}

.case-study-card {
    min-height: 70px;
    padding: 0.5rem 0.75rem;
}

.case-study-card .treatment-name {
    font-size: 0.85rem;
    -webkit-line-clamp: 1;
}

.case-study-card .treatment-count {
    font-size: 1.1rem;
}

.case-study-card .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.25rem;
}

.parallelogram-card-small {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 1rem 1.25rem;
    transform: skewX(-5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

.parallelogram-card-small:hover {
    box-shadow: 0 6px 20px rgba(102,126,234,0.3);
}

.parallelogram-card-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--prism-cyan), var(--prism-violet), var(--prism-pink));
}

.parallelogram-card-small .card-content {
    transform: skewX(5deg);
}

.parallelogram-card-small .treatment-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.parallelogram-card-small .treatment-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.parallelogram-card-wrapper {
    position: relative;
}

.parallelogram-card-wrapper .save-treatment-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
}

.parallelogram-card-wrapper .save-treatment-btn:hover {
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.parallelogram-card-wrapper .save-treatment-btn.saved {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.15);
}

.parallelogram-card-wrapper .save-treatment-btn.saved:hover {
    background: rgba(212, 175, 55, 0.3);
}

.related-term-nolink {
    display: inline-block;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0.5rem 0.5rem 0;
    opacity: 0.7;
    cursor: default;
}

.related-term-nolink .term-name {
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.related-term-nolink .term-meta {
    font-size: 0.8rem;
    color: #999;
}

.prism-divider {
    width: 3px;
    background: linear-gradient(180deg, 
        var(--prism-violet) 0%, 
        var(--prism-purple) 25%, 
        var(--prism-pink) 50%, 
        var(--prism-orange) 75%, 
        var(--prism-cyan) 100%);
    min-height: 100%;
    border-radius: 2px;
}

.trending-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.back-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

.mesh-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

h4 {
    color: #333;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.filter-section {
    background: #fff;
    padding: 2.5rem 3rem;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    margin-bottom: 2rem;
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
    border: none;
    overflow: hidden;
}

.filter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a2e, #16213e);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    transform: none;
}

.filter-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0;
}

.filter-column {
    flex: 1;
    min-width: 0;
    padding: 0;
    position: relative;
}

.total-articles-badge {
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(64,102,204,0.3);
}

.total-articles-badge small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Articles Navigation Panel */
.articles-nav-panel {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0.75rem;
    background: white;
    border: 1px solid #E0E7FF;
    border-radius: 4px;
    width: 70px;
    flex-shrink: 0;
}

.article-nav-btn {
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple)) !important;
    color: white !important;
    border: none !important;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.25rem;
    flex-shrink: 0;
    padding: 0;
    position: relative;
    z-index: 10;
}

.article-nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64,102,204,0.3);
}

.article-nav-btn:active:not(:disabled) {
    transform: translateY(0);
}

.article-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
}

.article-nav-btn i {
    pointer-events: none;
}

.article-page-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-direction: column;
    text-align: center;
}

.article-page-input {
    width: 50px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #E0E7FF;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.article-page-input:focus {
    outline: none;
    border-color: var(--prism-violet);
    box-shadow: 0 0 0 3px rgba(64,102,204,0.1);
}

.article-page-total {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* Articles container with side nav */
.articles-container {
    display: flex;
    gap: 0;
    align-items: stretch;
}

#unified-cards-container-wrapper.articles-container {
    padding-left: 0 !important;
}

#unified-cards-container {
    flex: 1;
}

.articles-list {
    flex: 1;
    min-width: 0;
    user-select: none;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    border: 1px solid #E0E7FF;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #4066CC #f1f1f1;
}

/* Webkit scrollbar styling */
.articles-list::-webkit-scrollbar {
    width: 12px;
}

.articles-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
    margin: 2px 0;
}

.articles-list::-webkit-scrollbar-thumb {
    background: #4066CC;
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

.articles-list::-webkit-scrollbar-thumb:hover {
    background: #2E5FB8;
    border: 2px solid #f1f1f1;
}

.articles-list.dragging {
    opacity: 0.8;
}

/* Abstract panel hidden - using inline Gmail-style expansion */
.abstract-panel {
    display: none;
}

/* Inline abstract expansion (Gmail-style) */
.article-row .mobile-abstract {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
}

.article-row.expanded .mobile-abstract {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.article-row.expanded {
    background: linear-gradient(to bottom, #f8fafc, #fff);
    border-color: #cbd5e1;
}

.article-row {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.25rem;
    background: white;
    border: 1px solid #E0E7FF;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
}

.article-row:hover {
    background: #f8f9fa;
}

/* Article page flip animations */
@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-40px);
    }
}

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

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#recent-articles.slide-up {
    animation: slideOutUp 0.4s ease-out;
}

#recent-articles.slide-up-in {
    animation: slideInUp 0.4s ease-out;
}

#recent-articles.slide-down {
    animation: slideOutDown 0.4s ease-out;
}

#recent-articles.slide-down-in {
    animation: slideInDown 0.4s ease-out;
}

/* Enhanced Article Browsing UX */
.article-row.keyboard-selected {
    background: #ffffff;
    border-color: var(--prism-violet);
    box-shadow: 0 0 0 2px rgba(64, 102, 204, 0.3);
    border-left: 3px solid var(--prism-violet);
}

.article-row.active {
    background: #ffffff;
    border-left: 3px solid var(--prism-violet);
    box-shadow: inset 0 0 0 2px rgba(64, 102, 204, 0.2);
}

.article-row.saved {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
}

.article-row.saved.active,
.article-row.saved.keyboard-selected {
    background: linear-gradient(135deg, #fff3cc 0%, #ffeebb 100%);
    border-left: 3px solid #d4af37;
}

#articles-highly-effective-btn.active {
    background: #fef3c7 !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

.article-row.extreme-effectiveness,
.article-row.highlight-effective {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f9f1 100%) !important;
    border: 1.5px solid #22c55e !important;
}

.article-row.extreme-effectiveness:hover,
.article-row.highlight-effective:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #c7f0d8 100%);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.extreme-effectiveness-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #22c55e;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Save button enhancements */
.save-article-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: #94a3b8;
    margin-left: auto;
    flex-shrink: 0;
}

.save-article-btn:hover {
    background: rgba(64, 102, 204, 0.1);
    color: var(--prism-violet);
    transform: scale(1.1);
}

.save-article-btn.saved {
    color: #d4af37;
}

.save-article-btn.saved:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #c9a227;
}

@keyframes savePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.save-article-btn.save-pulse {
    animation: savePulse 0.3s ease-out;
}

/* Shortcut bar */
.article-shortcut-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.shortcut-hints {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.shortcut-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
    font-size: 0.7rem;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.shortcut-label {
    color: #64748b;
    margin-right: 0.75rem;
}

.shortcut-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.saved-counter {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #d4af37;
    font-weight: 600;
}

.page-indicator {
    color: #64748b;
}

/* Abstract panel actions */
.abstract-panel-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.abstract-save-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple));
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.abstract-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(64, 102, 204, 0.3);
}

.abstract-save-btn.saved {
    background: linear-gradient(135deg, #d4af37, #f0d94d);
    color: #333;
}

.abstract-pubmed-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: white;
    border: 1px solid #e0e7ff;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #0284c7;
    text-decoration: none;
    transition: all 0.2s ease;
}

.abstract-pubmed-link:hover {
    background: #f0f4ff;
    border-color: var(--prism-violet);
}

/* Article badges styling */
.article-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.1rem;
}

.abstract-panel-header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.abstract-panel-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.article-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
}

.badge-cancer {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

.badge-treatment {
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-purple));
    color: white;
    clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

.badge-study {
    background: linear-gradient(135deg, #ff9a56, #ff6b6b);
    color: white;
    clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}

/* Abstract panel title styling */
.abstract-panel-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    color: #1a1a2e;
    margin-left: 2px;
}

.active-filters-chips-container {
    display: none !important;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
}

.filter-column {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
}

/* Mobile filter overrides - must come after base styles */
@media (max-width: 575.98px) {
    .filter-row {
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    .filter-column {
        flex: none !important;
        min-width: 100% !important;
        width: 100% !important;
    }
}

.filters-card-container {
    position: relative;
}

.filters-card-container .stat-card {
    padding-bottom: 4rem;
}

.filters-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--prism-violet), var(--prism-pink));
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    text-align: center;
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
    min-width: 140px;
}

.filters-badge .badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.filters-badge .badge-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .prism-divider {
        display: none;
    }
    .filter-column {
        border-bottom: 2px solid;
        border-image: linear-gradient(90deg, var(--prism-cyan), var(--prism-violet), var(--prism-pink)) 1;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .filter-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

.spinner-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.stat-card.loading .stat-number {
    color: #ccc;
}

.chart-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 300px;
}

.global-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #e0e0e0;
    z-index: 9999;
    display: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.global-progress-container.active {
    display: block;
}

.global-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f64f59 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), inset 0 0 5px rgba(255,255,255,0.3);
}

.global-progress-container.active .global-progress-bar {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.loading-overlay {
    display: none;
}

.loading-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    display: none;
    text-align: center;
    border-left: 4px solid #667eea;
}

.loading-status.active {
    display: flex;
    align-items: center;
    gap: 15px;
}

.loading-status .progress-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-status .loading-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}
