/* ===== FADV Design System ===== */

/* --- Custom Properties --- */
:root {
    --fadv-primary: #2563eb;
    --fadv-primary-hover: #1d4ed8;
    --fadv-primary-subtle: rgba(37, 99, 235, 0.08);
    --fadv-accent: #6366f1;
    --fadv-green: #10b981;
    --fadv-green-bg: rgba(16, 185, 129, 0.1);
    --fadv-red: #ef4444;
    --fadv-red-bg: rgba(239, 68, 68, 0.1);
    --fadv-yellow: #f59e0b;
    --fadv-yellow-bg: rgba(245, 158, 11, 0.1);
    --fadv-text: #1e293b;
    --fadv-text-muted: #64748b;
    --fadv-bg: #f8fafc;
    --fadv-surface: #ffffff;
    --fadv-surface-hover: #f1f5f9;
    --fadv-border: #e2e8f0;
    --fadv-border-strong: #cbd5e1;
    --fadv-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --fadv-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --fadv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --fadv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --fadv-radius: 0.75rem;
    --fadv-radius-sm: 0.5rem;
    --fadv-radius-lg: 1rem;
    --fadv-nav-height: 4rem;
    --fadv-gradient: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
    --fadv-gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
}

[data-theme="dark"] {
    --fadv-text: #e2e8f0;
    --fadv-text-muted: #94a3b8;
    --fadv-bg: #0f172a;
    --fadv-surface: #1e293b;
    --fadv-surface-hover: #334155;
    --fadv-border: #334155;
    --fadv-border-strong: #475569;
    --fadv-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --fadv-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --fadv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --fadv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
    --fadv-primary-subtle: rgba(37, 99, 235, 0.15);
    --fadv-green-bg: rgba(16, 185, 129, 0.15);
    --fadv-red-bg: rgba(239, 68, 68, 0.15);
    --fadv-yellow-bg: rgba(245, 158, 11, 0.15);
    --fadv-gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}

/* --- Global Overrides --- */
body {
    background-color: var(--fadv-bg);
    font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 {
    text-wrap: balance;
}

/* --- Navigation --- */
.fadv-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--fadv-surface);
    border-bottom: 1px solid var(--fadv-border);
    box-shadow: var(--fadv-shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.fadv-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--fadv-nav-height);
    padding-top: 0;
    padding-bottom: 0;
}

.fadv-nav-brand {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    background: var(--fadv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fadv-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fadv-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border-radius: var(--fadv-radius-sm);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fadv-text-muted);
    transition: color 0.15s ease, background-color 0.15s ease;
}

.fadv-nav-links a:hover {
    color: var(--fadv-text);
    background: var(--fadv-primary-subtle);
}

.fadv-nav-links a.active {
    color: var(--fadv-primary);
    background: var(--fadv-primary-subtle);
}

.fadv-nav-links svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.theme-toggle {
    background: none;
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius-sm);
    padding: 0.4rem;
    cursor: pointer;
    color: var(--fadv-text-muted);
    display: flex;
    align-items: center;
    transition: color 0.15s ease, border-color 0.15s ease;
    width: auto;
    margin: 0;
}

.theme-toggle:hover {
    color: var(--fadv-text);
    border-color: var(--fadv-border-strong);
}

.theme-toggle svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* --- Footer --- */
.fadv-footer {
    border-top: 1px solid var(--fadv-border);
    padding: 1.5rem 0;
    margin-top: 3rem;
    text-align: center;
    color: var(--fadv-text-muted);
    font-size: 0.8rem;
}

/* --- Cards --- */
.card {
    background: var(--fadv-surface);
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    padding: 1.5rem;
    box-shadow: var(--fadv-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.card-clickable:hover {
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    background: var(--fadv-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--fadv-text-muted);
    max-width: 32rem;
    margin: 0 auto 2rem;
}

/* --- Search --- */
.search-wrapper {
    position: relative;
    max-width: 36rem;
    margin: 0 auto;
}

.search-wrapper input[type="search"] {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    background: var(--fadv-surface);
    color: var(--fadv-text);
    box-shadow: var(--fadv-shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-wrapper input[type="search"]:focus {
    border-color: var(--fadv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--fadv-surface);
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: var(--fadv-shadow-lg);
}

.search-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--fadv-text);
    border-bottom: 1px solid var(--fadv-border);
    transition: background-color 0.1s ease;
}

.search-dropdown a:last-child {
    border-bottom: none;
}

.search-dropdown a:hover {
    background: var(--fadv-primary-subtle);
}

.search-dropdown a small {
    color: var(--fadv-text-muted);
    font-size: 0.8rem;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.75rem;
    text-align: center;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--fadv-radius);
    background: var(--fadv-gradient-subtle);
    color: var(--fadv-primary);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--fadv-text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Recommendation Card --- */
.recommendation-card {
    padding: 2rem;
    border-radius: var(--fadv-radius-lg);
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        currentColor 10px,
        currentColor 11px
    );
}

.recommendation-buy {
    background: var(--fadv-green-bg);
    border: 2px solid var(--fadv-green);
    color: var(--fadv-green);
}

.recommendation-hold {
    background: var(--fadv-yellow-bg);
    border: 2px solid var(--fadv-yellow);
    color: var(--fadv-yellow);
}

.recommendation-sell {
    background: var(--fadv-red-bg);
    border: 2px solid var(--fadv-red);
    color: var(--fadv-red);
}

.rec-action {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rec-score {
    font-size: 1.1rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.rec-confidence {
    font-size: 0.95rem;
    margin-top: 0.15rem;
    opacity: 0.8;
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.badge-bullish {
    background: var(--fadv-green-bg);
    color: var(--fadv-green);
}

.badge-bearish {
    background: var(--fadv-red-bg);
    color: var(--fadv-red);
}

.badge-neutral {
    background: var(--fadv-primary-subtle);
    color: var(--fadv-text-muted);
}

.badge-rec-buy {
    background: var(--fadv-green);
    color: white;
}

.badge-rec-hold {
    background: var(--fadv-yellow);
    color: #1e293b;
}

.badge-rec-sell {
    background: var(--fadv-red);
    color: white;
}

.badge-fund {
    background: var(--fadv-green);
    color: white;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
}

.badge-share {
    background: var(--fadv-primary);
    color: white;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
}

/* --- Value Colors --- */
.positive {
    color: var(--fadv-green);
    font-weight: 600;
}

.negative {
    color: var(--fadv-red);
    font-weight: 600;
}

.trend-bullish { color: var(--fadv-green); font-weight: 600; }
.trend-bearish { color: var(--fadv-red); font-weight: 600; }
.trend-neutral { color: var(--fadv-text-muted); }

/* --- Tables --- */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.875rem;
}

thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fadv-text-muted);
    padding: 0.75rem 0.6rem;
    border-bottom: 2px solid var(--fadv-border);
    text-align: left;
    white-space: nowrap;
}

thead th[style*="cursor"]::after {
    content: ' \25B8';
    opacity: 0.3;
}

thead th[data-sort="asc"]::after {
    content: ' \25B4';
    opacity: 1;
}

thead th[data-sort="desc"]::after {
    content: ' \25BE';
    opacity: 1;
}

tbody td {
    padding: 0.65rem 0.6rem;
    border-bottom: 1px solid var(--fadv-border);
    color: var(--fadv-text);
}

tbody tr:hover {
    background: var(--fadv-primary-subtle);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* --- Section Headers --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h2,
.section-header h3 {
    margin-bottom: 0;
}

.section-header small {
    color: var(--fadv-text-muted);
    font-weight: 400;
}

/* --- Metric Cards Grid --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.metric-card {
    background: var(--fadv-surface);
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    padding: 1.25rem;
}

.metric-card h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fadv-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--fadv-border);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.metric-label {
    color: var(--fadv-text-muted);
    font-size: 0.875rem;
}

.metric-value {
    font-weight: 600;
    font-size: 0.875rem;
}

/* --- Price Chart --- */
#price-chart {
    width: 100%;
    height: 400px;
    border-radius: var(--fadv-radius);
    overflow: hidden;
}

/* --- Portfolio Summary --- */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-card {
    background: var(--fadv-surface);
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    padding: 1.25rem;
    text-align: center;
}

.summary-card h4 {
    margin-bottom: 0.5rem;
    color: var(--fadv-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.summary-sub {
    font-size: 0.8rem;
    color: var(--fadv-text-muted);
}

/* --- Allocation Bar --- */
.allocation-bar {
    display: flex;
    height: 0.5rem;
    border-radius: 1rem;
    overflow: hidden;
    margin: 0.75rem 0;
    background: var(--fadv-border);
}

.alloc-shares {
    background: var(--fadv-primary);
    transition: width 0.5s ease;
    border-radius: 1rem 0 0 1rem;
}

.alloc-funds {
    background: var(--fadv-green);
    transition: width 0.5s ease;
    border-radius: 0 1rem 1rem 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--fadv-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--fadv-gradient);
    color: white;
    box-shadow: var(--fadv-shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--fadv-shadow-md);
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    color: var(--fadv-primary);
    border: 1.5px solid var(--fadv-primary);
}

.btn-outline:hover {
    background: var(--fadv-primary-subtle);
}

.btn-danger-outline {
    background: transparent;
    color: var(--fadv-red);
    border: 1.5px solid var(--fadv-red);
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
}

.btn-danger-outline:hover {
    background: var(--fadv-red-bg);
}

.currency-select {
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1.5px solid var(--fadv-border);
    border-radius: 4px;
    background-color: transparent;
    color: var(--fadv-text);
    color-scheme: dark light;
    cursor: pointer;
    min-width: 5.5rem;
}

.currency-select option {
    background: var(--fadv-bg);
    color: var(--fadv-text);
}

.btn svg {
    width: 1rem;
    height: 1rem;
}

.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* --- Forms --- */
.form-card {
    background: var(--fadv-surface);
    border: 1px solid var(--fadv-border);
    border-radius: var(--fadv-radius);
    padding: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--fadv-text-muted);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.radio-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: var(--fadv-text);
}

/* --- Progress Bar --- */
.progress-section {
    margin: 1rem 0;
}

progress {
    border-radius: 1rem;
    height: 0.5rem;
}

progress::-webkit-progress-bar {
    background: var(--fadv-border);
    border-radius: 1rem;
}

progress::-webkit-progress-value {
    background: var(--fadv-gradient);
    border-radius: 1rem;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--fadv-text-muted);
    margin-top: 0.35rem;
}

/* --- AI Advice --- */
.advice-text {
    line-height: 1.8;
    font-size: 0.925rem;
}

.advice-text h1, .advice-text h2, .advice-text h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--fadv-text);
}

.advice-text ul, .advice-text ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.advice-text strong {
    color: var(--fadv-text);
}

.advice-text p {
    margin-bottom: 0.75rem;
}

.advice-collapsed {
    max-height: 160px;
    overflow: hidden;
    position: relative;
}

.advice-collapsed .advice-fade {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--fadv-surface));
    pointer-events: none;
}

.advice-expanded {
    max-height: none;
    overflow: visible;
}

.advice-expanded .advice-fade {
    display: none;
}

/* --- Page Header --- */
.page-header {
    margin-bottom: 2rem;
}

.page-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.page-header p {
    color: var(--fadv-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Stock Header --- */
.stock-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stock-header-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.stock-header-info h2 small {
    font-weight: 400;
    color: var(--fadv-text-muted);
    font-size: 0.9rem;
}

.stock-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fadv-text);
}

.stock-price-currency {
    font-size: 1rem;
    color: var(--fadv-text-muted);
    font-weight: 400;
}

/* --- Narrative Blockquote --- */
.narrative-block {
    border-left: 4px solid var(--fadv-primary);
    background: var(--fadv-gradient-subtle);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--fadv-radius) var(--fadv-radius) 0;
    margin: 1.5rem 0;
    font-size: 0.925rem;
    line-height: 1.7;
    color: var(--fadv-text);
}

/* --- Screener Market Chips --- */
.market-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.market-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    border: 1.5px solid var(--fadv-border);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    background: var(--fadv-surface);
    color: var(--fadv-text);
}

.market-chip:has(input:checked) {
    border-color: var(--fadv-primary);
    background: var(--fadv-primary-subtle);
    color: var(--fadv-primary);
}

.market-chip input[type="checkbox"] {
    display: none;
}

.market-chip-count {
    font-size: 0.75rem;
    color: var(--fadv-text-muted);
}

/* --- Empty States --- */
.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--fadv-text-muted);
}

.empty-state svg {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.4;
}

.empty-state p {
    font-size: 0.9rem;
}

/* --- Error Message --- */
.error-message {
    color: var(--fadv-red);
    margin-top: 0.5rem;
}

/* --- Delete Button --- */
.delete-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: var(--fadv-radius-sm);
    width: auto;
    margin: 0;
}

/* --- Loading Spinner --- */
.loading-pulse {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    color: var(--fadv-text-muted);
    font-size: 0.9rem;
}

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

.loading-dots {
    display: flex;
    gap: 0.25rem;
}

.loading-dots span {
    width: 0.4rem;
    height: 0.4rem;
    background: var(--fadv-primary);
    border-radius: 50%;
    animation: pulse-dot 1.2s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .stock-header {
        flex-direction: column;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fadv-nav-links a span {
        display: none;
    }

    table {
        font-size: 0.8rem;
    }

    thead th, tbody td {
        padding: 0.5rem 0.6rem;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--fadv-border-strong);
    border-radius: 3px;
}

.timestamp-label {
    font-size: 0.8rem;
    color: var(--fadv-text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}
