﻿/* Custom CSS for Affiliate Network */
/* Professional color palette and refined styling */

/* ========================================
   COLOR PALETTE (CSS Custom Properties)
   ======================================== */
:root {
    /* Primary - Deep Navy Blue */
    --color-primary: #1E3A6E;
    --color-primary-dark: #0F2647;
    --color-primary-light: #2961B4;
    --color-primary-deepest: #060E20;
    
    /* Accent - Sky Blue */
    --color-accent: #60A5FA;
    --color-accent-dark: #3B82F6;
    --color-accent-light: #93C5FD;
    
    /* Neutrals */
    --color-slate-50: #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-300: #CBD5E1;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

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

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Staggered animations for cards */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.fade-delay-050 { animation-delay: 0.05s; }
.fade-delay-080 { animation-delay: 0.08s; }
.fade-delay-100 { animation-delay: 0.1s; }
.fade-delay-120 { animation-delay: 0.12s; }
.fade-delay-140 { animation-delay: 0.14s; }
.fade-delay-150 { animation-delay: 0.15s; }
.fade-delay-160 { animation-delay: 0.16s; }
.fade-delay-180 { animation-delay: 0.18s; }
.fade-delay-200 { animation-delay: 0.2s; }
.fade-delay-220 { animation-delay: 0.22s; }
.fade-delay-250 { animation-delay: 0.25s; }
.fade-delay-300 { animation-delay: 0.3s; }
.fade-delay-350 { animation-delay: 0.35s; }
.fade-delay-400 { animation-delay: 0.4s; }
.fade-delay-450 { animation-delay: 0.45s; }

/* ========================================
   PROFESSIONAL COMPONENT OVERRIDES
   ======================================== */

/* Primary button - refined */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(30, 58, 110, 0.4);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(30, 58, 110, 0.55);
}

/* Secondary/outline button */
.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--color-slate-300);
    color: var(--color-slate-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(27, 67, 50, 0.05);
}

/* Professional card styling */
.card-professional {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.card-professional:hover {
    border-color: var(--color-slate-300);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Icon containers */
.icon-container {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: white;
}

.icon-container-accent {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle background pattern */
.hero-pattern {
    background-color: var(--color-slate-50);
    background-image: 
        radial-gradient(at 40% 20%, rgba(27, 67, 50, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(27, 67, 50, 0.03) 0px, transparent 50%);
}

/* Stats bar styling */
.stats-bar {
    background: var(--color-primary-deepest);
    color: white;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-slate-700);
}

/* Navigation link hover effect */
.nav-link {
    position: relative;
    color: var(--color-slate-600);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
    padding-bottom: 4px;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-600);
    border-radius: 8px;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
    background: rgba(30, 58, 110, 0.05);
    color: var(--color-primary);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    min-width: 220px;
    padding: 6px;
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 12px;
    box-shadow: 0 12px 40px -8px rgba(30, 58, 110, 0.15), 0 4px 12px -4px rgba(15, 23, 42, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: all 0.15s ease;
    z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-slate-600);
    border-radius: 8px;
    transition: all 0.1s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: var(--color-slate-50);
    color: var(--color-primary);
}

.nav-dropdown-item .item-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-dropdown-divider {
    height: 1px;
    margin: 4px 8px;
    background: var(--color-slate-100);
}

.nav-dropdown-label {
    padding: 6px 12px 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-slate-400);
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    font-size: 0.6rem;
    font-weight: 700;
}

.nav-badge.red { background: #FEE2E2; color: #DC2626; }
.nav-badge.amber { background: #FEF3C7; color: #B45309; }
.nav-badge.blue { background: #DBEAFE; color: #2563EB; }

.staff-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(30, 58, 110, 0.08);
    color: var(--color-primary);
}

/* Section styling */
.section-heading {
    color: var(--color-slate-900);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-subheading {
    color: var(--color-slate-500);
    font-weight: 400;
}

/* Feature badge/pill */
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(27, 67, 50, 0.1);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(27, 67, 50, 0.2);
}

/* Timeline/steps styling */
.step-line {
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-dot-accent {
    background: var(--color-accent);
}

/* Footer professional styling */
.footer-professional {
    background: var(--color-primary-deepest);
    color: var(--color-slate-300);
}

.footer-link {
    color: var(--color-slate-400);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

/* Chart container sizing */
.chart-container {
    position: relative;
    width: 100%;
    min-height: 300px;
}

/* CTA section gradient */
.cta-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

/* Trust badges */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-slate-500);
    font-size: 14px;
}

/* ========================================
   CAMPAIGN LIST VIEW STYLES
   ======================================== */

/* Search input styling */
.campaign-search-input {
    transition: all 0.2s ease;
}

.campaign-search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* Campaign list item hover */
.campaign-list-item {
    transition: background-color 0.15s ease;
}

.campaign-list-item:hover {
    background-color: var(--color-slate-50);
}

.campaign-list-item:hover .campaign-arrow {
    transform: translateX(4px);
}

.campaign-arrow {
    transition: transform 0.2s ease;
}

/* Filter select styling */
.filter-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

.filter-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

/* Enroll button styling */
.enroll-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    box-shadow: 0 2px 8px 0 rgba(27, 67, 50, 0.25);
}

.enroll-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px 0 rgba(27, 67, 50, 0.35);
}

/* ========================================
   LANDING PAGE - REFRESHED DESIGN
   ======================================== */
/* Announcement bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--color-primary-deepest) 0%, var(--color-primary) 100%);
    padding: 10px 16px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.01em;
}

.announcement-bar a {
    color: var(--color-accent-light);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Dark hero for landing */
.hero-dark-gradient {
    background: linear-gradient(160deg, #060E20 0%, #1E3A6E 55%, #0F2647 100%);
    position: relative;
    overflow: hidden;
}

.hero-dark-gradient::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.13) 0%, transparent 65%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.hero-dark-gradient::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.08) 0%, transparent 65%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

/* Pre-launch badge */
.prelaunce-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93C5FD;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prelaunce-badge .dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #60A5FA;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Gradient headline for dark hero */
.gradient-text-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #BAE6FD 60%, #60A5FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature pill labels */
.feature-pill-green {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(96, 165, 250, 0.1);
    color: #2563EB;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.feature-pill-amber {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(245, 158, 11, 0.1);
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.feature-pill-blue {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Glow card â€” card with top-border accent on hover */
.glow-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 20px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover {
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.2), 0 24px 48px -12px rgba(96, 165, 250, 0.12);
    transform: translateY(-5px);
}

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

/* Billboard dark feature block */
.billboard-dark-block {
    background: linear-gradient(150deg, #060E20 0%, #1E3A6E 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.billboard-dark-block::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.18) 0%, transparent 65%);
    top: -80px;
    right: -80px;
    pointer-events: none;
}

/* Icon with gradient background */
.icon-grad {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    box-shadow: 0 4px 14px rgba(30, 58, 110, 0.3);
    flex-shrink: 0;
}

.icon-grad-accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    box-shadow: 0 4px 14px rgba(96, 165, 250, 0.3);
}

.icon-grad-amber {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}

/* Accent stat number */
.accent-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

/* Two-tone section divider */
.divider-gradient {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    max-width: 200px;
    margin: 0 auto 16px;
}

/* White outline button for dark backgrounds */
.btn-white-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

/* How-it-works step number circles */
.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-circle-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

/* Checklist row */
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--color-slate-700);
}

.check-row svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================================
   LANDING PAGE - ANIMATED PILLAR ICONS
   ======================================== */

.pillar-illus {
    display: block;
}

.pillar-illus svg {
    display: block;
    width: 150px;
    height: auto;
    overflow: visible;
}

/* ---- Analytics: bars grow from bottom ---- */
.pillar-icon-analytics .pi-bar {
    transform-box: fill-box;
    transform-origin: bottom center;
}

.pillar-icon-analytics .pi-b1 {
    animation:
        pi-bar-grow 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.10s both,
        pi-bar-breathe 3.8s ease-in-out 1.3s infinite;
}
.pillar-icon-analytics .pi-b2 {
    animation:
        pi-bar-grow 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.22s both,
        pi-bar-breathe 3.2s ease-in-out 1.5s infinite;
}
.pillar-icon-analytics .pi-b3 {
    animation:
        pi-bar-grow 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.34s both,
        pi-bar-breathe 3.5s ease-in-out 1.7s infinite;
}
.pillar-icon-analytics .pi-b4 {
    animation:
        pi-bar-grow 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 0.46s both,
        pi-bar-breathe 2.9s ease-in-out 1.9s infinite;
}

@keyframes pi-bar-grow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}
@keyframes pi-bar-breathe {
    0%, 100% { transform: scaleY(1); }
    50%       { transform: scaleY(0.9); }
}

.pillar-icon-analytics .pi-trend-line {
    animation: pi-line-draw 0.85s ease-out 0.65s both;
}
@keyframes pi-line-draw {
    to { stroke-dashoffset: 0; }
}

.pillar-icon-analytics .pi-trend-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: pi-dot-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1.45s both;
}
@keyframes pi-dot-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ---- Billboard: content fades in, QR stagger, scan sweeps ---- */
.pillar-icon-billboard .pi-content {
    animation: pi-fade-in 0.7s ease-out 0.3s both;
}
@keyframes pi-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.pillar-icon-billboard .pi-qr-1 { animation: pi-fade-in 0.4s ease-out 0.8s both; }
.pillar-icon-billboard .pi-qr-2 { animation: pi-fade-in 0.4s ease-out 1.0s both; }
.pillar-icon-billboard .pi-qr-3 { animation: pi-fade-in 0.4s ease-out 1.2s both; }
.pillar-icon-billboard .pi-qr-4 { animation: pi-fade-in 0.4s ease-out 1.4s both; }

/* ---- AI: orbit rings rotate, glow pulses, bolt pops in ---- */
.pillar-icon-ai .pi-ring-outer {
    transform-box: fill-box;
    transform-origin: center;
    animation: pi-rotate-cw 10s linear infinite;
}
.pillar-icon-ai .pi-ring-inner {
    transform-box: fill-box;
    transform-origin: center;
    animation: pi-rotate-ccw 5.5s linear infinite;
}
@keyframes pi-rotate-cw  { to { transform: rotate( 360deg); } }
@keyframes pi-rotate-ccw { to { transform: rotate(-360deg); } }

.pillar-icon-ai .pi-glow-blob {
    transform-box: fill-box;
    transform-origin: center;
    animation: pi-pulse-glow 2.5s ease-in-out infinite;
}
@keyframes pi-pulse-glow {
    0%, 100% { transform: scale(1);   opacity: 0.8; }
    50%       { transform: scale(1.5); opacity: 0.2; }
}

.pillar-icon-ai .pi-bolt {
    transform-box: fill-box;
    transform-origin: center;
    animation: pi-bolt-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes pi-bolt-in {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.pillar-icon-ai .pi-spark {
    animation: pi-spark-float ease-in-out infinite;
}
.pillar-icon-ai .pi-spark-1 { animation-duration: 2.8s; animation-delay: 0.0s; }
.pillar-icon-ai .pi-spark-2 { animation-duration: 3.5s; animation-delay: 0.9s; }
.pillar-icon-ai .pi-spark-3 { animation-duration: 2.2s; animation-delay: 0.4s; }
@keyframes pi-spark-float {
    0%, 100% { opacity: 0.7; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(-5px); }
}

/* ===== Billboard deep-dive card icons ===== */
.bb-icon-bar {
    transform-box: fill-box;
    transform-origin: bottom;
    animation: bb-bar-grow 3.2s ease-in-out infinite;
}
.bb-icon-bar-2 { animation-delay: 0.28s; }
.bb-icon-bar-3 { animation-delay: 0.56s; }
@keyframes bb-bar-grow {
    0%, 5%    { transform: scaleY(0.1); opacity: 0.45; }
    45%, 55%  { transform: scaleY(1);   opacity: 1; }
    95%, 100% { transform: scaleY(0.1); opacity: 0.45; }
}

.bb-icon-trend {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: bb-trend-draw 3.2s ease-in-out 0.7s infinite;
}
@keyframes bb-trend-draw {
    0%, 15%   { stroke-dashoffset: 36; opacity: 0; }
    45%, 55%  { stroke-dashoffset: 0;  opacity: 0.75; }
    90%, 100% { stroke-dashoffset: 0;  opacity: 0; }
}

.bb-icon-star {
    transform-box: fill-box;
    transform-origin: center;
    animation: bb-star-wobble 5s ease-in-out infinite;
}
@keyframes bb-star-wobble {
    0%, 100% { transform: rotate(0deg) scale(1);     opacity: 0.88; }
    25%      { transform: rotate(9deg) scale(1.04);  opacity: 1; }
    75%      { transform: rotate(-9deg) scale(1.04); opacity: 1; }
}

.bb-icon-sparkle {
    transform-box: fill-box;
    transform-origin: center;
    animation: bb-sparkle-pulse 2.4s ease-in-out infinite;
}
.bb-icon-sparkle-2 { animation-delay: 0.6s; }
.bb-icon-sparkle-3 { animation-delay: 1.2s; }
.bb-icon-sparkle-4 { animation-delay: 1.8s; }
@keyframes bb-sparkle-pulse {
    0%, 100% { transform: scale(0.7); opacity: 0.4; }
    50%      { transform: scale(1.2); opacity: 1; }
}

/* ===== Analytics dashboard illustration ===== */
.di-bar {
    transform-box: fill-box;
    transform-origin: center bottom;
    animation: di-bar-grow 6s ease-in-out infinite;
}
.di-b1 { animation-delay: 0.00s; }
.di-b2 { animation-delay: 0.18s; }
.di-b3 { animation-delay: 0.36s; }
.di-b4 { animation-delay: 0.54s; }
.di-b5 { animation-delay: 0.72s; }
.di-b6 { animation-delay: 0.90s; }
.di-b7 { animation-delay: 1.08s; }
@keyframes di-bar-grow {
    0%, 2%    { transform: scaleY(0); }
    14%, 72%  { transform: scaleY(1); }
    83%, 100% { transform: scaleY(0); }
}

.di-trend {
    stroke-dasharray: 380;
    stroke-dashoffset: 380;
    animation: di-trend-draw 6s ease-out infinite;
}
@keyframes di-trend-draw {
    0%, 36%   { stroke-dashoffset: 380; opacity: 0; }
    38%       { opacity: 1; }
    50%, 74%  { stroke-dashoffset: 0; opacity: 1; }
    82%, 100% { stroke-dashoffset: 380; opacity: 0; }
}

.di-trend-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: di-dot-pop 6s ease-out infinite;
}
@keyframes di-dot-pop {
    0%, 49%   { opacity: 0; transform: scale(0); }
    52%       { opacity: 1; transform: scale(1.4); }
    56%, 72%  { transform: scale(1); opacity: 1; }
    82%, 100% { opacity: 0; transform: scale(0); }
}

.di-stat {
    animation: di-stat-in 6s ease-out infinite;
}
.di-stat-2 { animation-delay: 0.25s; }
@keyframes di-stat-in {
    0%, 26%   { opacity: 0; }
    38%, 74%  { opacity: 1; }
    83%, 100% { opacity: 0; }
}

.di-live-dot {
    transform-box: fill-box;
    transform-origin: center;
    animation: di-live-pulse 2s ease-in-out infinite;
}
@keyframes di-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.75); }
}

/* ========================================
   PUBLISHER DASHBOARD — Redesign Components
   ======================================== */

/* Multi-select filter chips */
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1.5px solid var(--color-slate-200);
    background: white;
    color: var(--color-slate-600);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
    white-space: nowrap;
}
.filter-chip:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}
.filter-chip.selected {
    background: rgba(41, 97, 180, 0.08);
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}
.filter-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Collapsible filter chip container */
.filter-chips-wrap {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Mobile: always start collapsed (hidden), toggled by JS */
.filter-chips-mobile-collapsed {
    max-height: 0;
}
@media (min-width: 1024px) {
    .filter-chips-mobile-collapsed {
        max-height: none;  /* On desktop, mobile-collapsed class has no effect */
    }
}

/* Desktop: collapse overflow only when many chips (>4 assets or >6 campaigns) */
.filter-chips-desktop-collapsed {
    max-height: none;  /* No effect on mobile — mobile uses its own class */
}
@media (min-width: 1024px) {
    .filter-chips-desktop-collapsed {
        max-height: 88px;  /* ~2 rows on desktop */
    }
}

.filter-chips-expanded {
    max-height: 600px !important;
}

/* Metric cards — subtle gradient bar on hover */
.metric-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.metric-card:hover {
    box-shadow: 0 8px 30px -8px rgba(30, 58, 110, 0.12);
    transform: translateY(-2px);
}
.metric-card:hover::before {
    opacity: 1;
}

/* Earnings card accent background */
.earnings-highlight {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(41, 97, 180, 0.04) 100%);
    border: 1px solid rgba(96, 165, 250, 0.15);
}

/* Chart card */
.chart-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
}

.chart-h-200 { height: 200px; }
.chart-h-300 { height: 300px; }
.chart-h-320 { height: 320px; }
.chart-h-40 { height: 40px; }
.chart-inline-100 {
    display: inline-block;
    width: 100px;
}

.type-badge-compact {
    padding: 1px 5px;
    font-size: 0.6rem;
}

.type-badge-micro {
    padding: 1px 5px;
    font-size: 0.55rem;
}

.dashboard-accent-banner {
    background: linear-gradient(135deg, rgba(41, 97, 180, 0.06) 0%, rgba(96, 165, 250, 0.06) 100%);
}

.publisher-chart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.publisher-chart-main {
    min-width: 0;
}

@media (min-width: 1024px) {
    .publisher-chart-layout.has-asset-sidebar {
        grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
        gap: 24px;
    }
}

/* Status dots */
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}
.status-dot.green  { background: #22C55E; }
.status-dot.amber  { background: #F59E0B; }
.status-dot.red    { background: #EF4444; }
.status-dot.blue   { background: #3B82F6; }
.status-dot.slate  { background: #94A3B8; }

/* Asset type badges */
.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.type-badge.website   { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.type-badge.social    { background: rgba(168, 85, 247, 0.1); color: #7C3AED; }
.type-badge.billboard { background: rgba(245, 158, 11, 0.1); color: #B45309; }

/* Trend indicators */
.trend-up   { color: #16A34A; }
.trend-down { color: #DC2626; }

/* Data table */
.data-table {
    width: 100%;
}
.data-table th {
    padding: 10px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-slate-400);
    text-align: left;
    border-bottom: 1px solid var(--color-slate-200);
}
.data-table td {
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--color-slate-700);
    border-bottom: 1px solid var(--color-slate-100);
}
.data-table tbody tr:hover {
    background: var(--color-slate-50);
}

/* Campaign status badges */
.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.campaign-badge.active { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.campaign-badge.paused { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.campaign-badge.review { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.campaign-badge.draft { background: rgba(148, 163, 184, 0.1); color: #64748B; }
.campaign-badge.ended { background: rgba(239, 68, 68, 0.1); color: #DC2626; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.status-badge.active { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.status-badge.paused { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.status-badge.review { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.status-badge.draft { background: rgba(148, 163, 184, 0.1); color: #64748B; }
.status-badge.ended { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.status-badge.pending { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.status-badge.approved { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.status-badge.suspended { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.status-badge.overdue { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.status-badge.issued { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.status-badge.paid { background: rgba(34, 197, 94, 0.1); color: #16A34A; }

/* Commission tags */
.comm-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.comm-tag.percentage { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.comm-tag.flat { background: rgba(168, 85, 247, 0.1); color: #7C3AED; }

.chart-toggle {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    color: var(--color-slate-500);
    border: 1px solid transparent;
    transition: all 0.15s;
    cursor: pointer;
    background: transparent;
}
.chart-toggle:hover { background: var(--color-slate-50); }
.chart-toggle.active {
    background: rgba(41, 97, 180, 0.05);
    color: var(--color-primary);
    border-color: rgba(41, 97, 180, 0.15);
}

/* Progress bars */
.progress-bar-track {
    height: 6px;
    border-radius: 3px;
    background: var(--color-slate-100);
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}
.progress-bar-fill.green { background: #22C55E; }
.progress-bar-fill.amber { background: #F59E0B; }
.progress-bar-fill.red { background: #EF4444; }
.progress-bar-fill.slate { background: #CBD5E1; }

/* Dashboard action cards */
.action-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.action-card:hover {
    box-shadow: 0 6px 24px -6px rgba(30, 58, 110, 0.1);
    transform: translateY(-1px);
}
.action-card:hover::before {
    opacity: 1;
}

/* Shared page panels for migrated list/detail/form pages */
.surface-panel {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 18px;
    overflow: hidden;
}

.surface-panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-slate-100);
}

.surface-panel-body {
    padding: 20px 24px;
}

.surface-panel-muted {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.page-hero {
    margin-bottom: 24px;
}

.page-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-slate-900);
    letter-spacing: -0.03em;
}

.page-hero-copy {
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--color-slate-500);
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.toolbar-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.toolbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(41, 97, 180, 0.06);
    color: var(--color-primary);
}

.toolbar-chip.slate {
    background: var(--color-slate-100);
    color: var(--color-slate-600);
}

.dashboard-form-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-slate-400);
}

.dashboard-help-text {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--color-slate-500);
}

.dashboard-error-text {
    margin-top: 6px;
    font-size: 0.75rem;
    color: #DC2626;
}

.summary-inline-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    padding: 16px 18px;
}

.summary-inline-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-slate-400);
}

.summary-inline-value {
    margin-top: 6px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-slate-900);
    letter-spacing: -0.03em;
}

.summary-inline-copy {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--color-slate-500);
}

.empty-state-panel {
    padding: 56px 24px;
    text-align: center;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(41, 97, 180, 0.08) 0%, rgba(96, 165, 250, 0.08) 100%);
    color: var(--color-primary-light);
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-slate-900);
}

.empty-state-copy {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--color-slate-500);
}

.stack-list {
    display: flex;
    flex-direction: column;
}

.stack-list-item {
    padding: 18px 20px;
    border-top: 1px solid var(--color-slate-100);
}

.stack-list-item:first-child {
    border-top: 0;
}

.stack-list-item:hover {
    background: var(--color-slate-50);
}

.code-panel {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #0F2647;
    background: #0F172A;
    color: #E2E8F0;
}

.code-panel pre {
    margin: 0;
    padding: 18px 20px;
    overflow-x: auto;
    font-size: 0.8rem;
    line-height: 1.6;
}

.guide-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    background: white;
}

.guide-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-slate-500);
    transition: all 0.15s ease;
}

.guide-tab:hover {
    background: var(--color-slate-50);
    color: var(--color-primary);
}

.guide-tab.active {
    background: rgba(41, 97, 180, 0.06);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(41, 97, 180, 0.12);
}

.guide-note {
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.85rem;
    line-height: 1.55;
    border: 1px solid var(--color-slate-200);
    background: var(--color-slate-50);
    color: var(--color-slate-700);
}

.guide-note.info {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.14);
}

.guide-note.success {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.14);
}

.guide-note.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.18);
}

.guide-note.danger {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.16);
}

@media (min-width: 768px) {
    .dashboard-form-grid.two-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-form-grid.three-col {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-form-grid.four-col {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Portfolio cards */
.campaign-card {
    background: white;
    border: 1px solid var(--color-slate-200);
    border-radius: 16px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.campaign-card:hover {
    box-shadow: 0 8px 30px -8px rgba(30, 58, 110, 0.12);
    transform: translateY(-2px);
}
.campaign-card:hover::before {
    opacity: 1;
}

.info-ribbon {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 16px;
    color: white;
}

/* UI helpers reused across dashboards */
.panel-toggle {
    transition: transform 0.2s ease;
}
.panel-toggle.open {
    transform: rotate(180deg);
}
.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0 6px;
}
.count-badge.primary { background: rgba(41, 97, 180, 0.1); color: var(--color-primary); }
.count-badge.amber { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.count-badge.green { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.count-badge.red { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.staff-dashboard-page .queue-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-slate-100);
    transition: background 0.15s ease;
}

.staff-dashboard-page .queue-item:hover {
    background: var(--color-slate-50);
}

.staff-dashboard-page .queue-item:last-child {
    border-bottom: none;
}

.staff-dashboard-page .anomaly-card {
    background: white;
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.staff-dashboard-page .anomaly-card:hover {
    background: rgba(239, 68, 68, 0.02);
    border-color: rgba(239, 68, 68, 0.28);
}

.staff-metric-icon,
.staff-action-icon,
.log-icon,
.staff-alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.staff-metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.staff-metric-icon-primary { background: rgba(30, 58, 110, 0.08); color: var(--color-primary); }
.staff-metric-icon-green { background: rgba(34, 197, 94, 0.08); color: #16A34A; }
.staff-metric-icon-accent { background: rgba(96, 165, 250, 0.12); color: #2563EB; }
.staff-metric-icon-violet { background: rgba(139, 92, 246, 0.08); color: #7C3AED; }
.staff-metric-icon-amber { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.staff-metric-icon-blue { background: rgba(59, 130, 246, 0.08); color: #2563EB; }

.staff-alert {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--color-slate-200);
}

.staff-alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    margin-top: 2px;
}

.staff-alert-red {
    background: rgba(254, 242, 242, 0.65);
    border-color: rgba(252, 165, 165, 0.45);
    color: #991B1B;
}

.staff-alert-red .staff-alert-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.staff-alert-amber {
    background: rgba(255, 251, 235, 0.8);
    border-color: rgba(252, 211, 77, 0.4);
    color: #92400E;
}

.staff-alert-amber .staff-alert-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.staff-alert-blue {
    background: rgba(239, 246, 255, 0.9);
    border-color: rgba(147, 197, 253, 0.5);
    color: #1D4ED8;
}

.staff-alert-blue .staff-alert-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3B82F6;
}

.log-item {
    font-size: 0.8125rem;
    color: var(--color-slate-600);
}

.log-actor,
.log-target {
    font-weight: 600;
    color: var(--color-slate-700);
}

.log-action {
    color: var(--color-primary);
    font-weight: 500;
}

.log-time {
    font-size: 0.75rem;
    white-space: nowrap;
    color: var(--color-slate-400);
}

.log-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    margin-top: 2px;
}

.log-icon-green { background: #ECFDF5; color: #16A34A; }
.log-icon-emerald { background: #ECFDF5; color: #059669; }
.log-icon-blue { background: #EFF6FF; color: #2563EB; }
.log-icon-violet { background: #F5F3FF; color: #7C3AED; }
.log-icon-amber { background: #FFFBEB; color: #D97706; }
.log-icon-red { background: #FEF2F2; color: #DC2626; }
.log-icon-slate { background: var(--color-slate-100); color: var(--color-slate-500); }

.staff-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.staff-action-icon-green { background: rgba(34, 197, 94, 0.08); }
.staff-action-icon-amber { background: rgba(245, 158, 11, 0.1); }
.staff-action-icon-blue { background: rgba(59, 130, 246, 0.08); }
.staff-action-icon-violet { background: rgba(139, 92, 246, 0.08); }
.pub-id {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.75rem;
    color: var(--color-slate-500);
}
.rank-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}
.rank-badge.gold { background: #FEF3C7; color: #B45309; }
.rank-badge.silver { background: var(--color-slate-100); color: var(--color-slate-500); }
.rank-badge.bronze { background: #FED7AA; color: #C2410C; }
.rank-badge.regular { background: var(--color-slate-100); color: var(--color-slate-400); }
.share-bar {
    height: 8px;
    border-radius: 4px;
    background: var(--color-slate-100);
    overflow: hidden;
}
.share-bar .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
}
.slim-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--color-slate-100);
    color: var(--color-slate-500);
}
.conv-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}
.conv-status.confirmed { background: rgba(34, 197, 94, 0.1); color: #16A34A; }
.conv-status.pending { background: rgba(245, 158, 11, 0.1); color: #B45309; }
.conv-status.disputed { background: rgba(239, 68, 68, 0.1); color: #DC2626; }

/* Mobile bottom navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--color-slate-200);
    z-index: 50;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-slate-400);
    transition: color 0.15s;
    padding: 4px 0;
    position: relative;
    text-decoration: none;
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--color-primary);
}
.mobile-nav-item.active::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 0 0 3px 3px;
}

.di-dl-arrow {
    animation: di-dl-bounce 1.5s ease-in-out infinite;
}
@keyframes di-dl-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(2.5px); }
}


