:root {
    --primary: #0A6EBD;
    --primary-dark: #085A9A;
    --primary-light: #E8F4FD;
    --secondary: #1DA89A;
    --secondary-light: #E6F7F6;
    --accent: #F4A932;
    --accent-light: #FEF5E7;
    --danger: #E24B4A;
    --danger-light: #FCEBEB;
    --success: #3B9922;
    --success-light: #EAF3DE;
    --bg: #F5F7FA;
    --text: #1A202C;
    --text-muted: #718096;
    --border: #E2E8F0;
    --card: #FFFFFF;
    --radius: 12px;
    --radius-sm: 8px;
    --scrollbar-size: 7px;
    --scrollbar-track: rgba(10, 110, 189, 0.07);
    --scrollbar-thumb: #0A6EBD;
    --scrollbar-thumb-hover: #1DA89A;
    --scrollbar-thumb-active: #085A9A;
}

.dentalink-page { font-family: inherit; }

.card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 20px 24px;
}

.card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.stat-value { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.stat-change { font-size: 11px; font-weight: 600; margin-top: 8px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.dashboard-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-blue { background: var(--primary-light); color: var(--primary-dark); }
.badge-green { background: var(--success-light); color: var(--success); }
.badge-orange { background: var(--accent-light); color: #B06B10; }
.badge-red { background: var(--danger-light); color: var(--danger); }
.badge-teal { background: var(--secondary-light); color: #0F6E56; }
.badge-gray { background: #F1EFE8; color: #5F5E5A; }

.timeline { display: flex; align-items: center; gap: 0; margin: 16px 0; }
.timeline-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.timeline-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.timeline-step:first-child::before { display: none; }
.timeline-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    position: relative;
    border: 2px solid var(--border);
    background: var(--card);
    color: var(--text-muted);
}
.timeline-dot.done { background: var(--success); border-color: var(--success); color: #fff; }
.timeline-dot.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.timeline-step.done::before { background: var(--success); }
.timeline-label { font-size: 10px; color: var(--text-muted); margin-top: 6px; text-align: center; }

.progress { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 3px; transition: width 0.5s; }

.filters-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.filter-select {
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background-color: var(--card);
    color: var(--text);
}

.dentalink-page select.filter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    background-position: right 0.75rem center;
    padding-inline-end: 2.25rem;
    min-width: 140px;
    cursor: pointer;
}

[dir='rtl'] .dentalink-page select.filter-select {
    background-position: left 0.75rem center !important;
}

.labs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1024px) { .labs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .labs-grid { grid-template-columns: 1fr; } }

.lab-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.lab-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.lab-name { font-size: 15px; font-weight: 700; }
.lab-country { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stars { color: var(--accent); font-size: 13px; }
.lab-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.lab-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.lab-stat-val { font-size: 14px; font-weight: 800; }
.lab-stat-key { font-size: 10px; color: var(--text-muted); }

.wallet-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    padding: 28px;
    color: #fff;
}
.wallet-label { font-size: 12px; opacity: 0.85; }
.wallet-balance { font-size: 36px; font-weight: 800; margin: 8px 0 16px; }
.wallet-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.wallet-btn { padding: 8px 16px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; cursor: pointer; border: none; }
.wallet-btn-white { background: #fff; color: var(--primary); }
.wallet-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }

.ai-card {
    background: linear-gradient(135deg, #0D1B2A 0%, #1A3A5C 100%);
    border-radius: var(--radius);
    padding: 20px;
    color: #fff;
}
.ai-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.ai-desc { font-size: 12px; opacity: 0.85; line-height: 1.5; }
.ai-card .chat-messages { padding: 0; }
.ai-card .chat-bubble.received {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.ai-card .chat-bubble.received p { margin: 0; }
.ai-card .chat-bubble.sent p { margin: 0; }
.ai-suggestion {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}
.ai-suggestion-icon { font-size: 16px; flex-shrink: 0; }
.ai-suggestion-text { font-size: 12px; color: var(--text); }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px;
}
.section-title { font-size: 20px; font-weight: 800; }
.section-sub { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

.table-wrap { overflow-x: auto; }
.dentalink-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dentalink-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11.5px;
    border-bottom: 1px solid var(--border);
}
.dentalink-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}
.dentalink-table tr:last-child td { border-bottom: none; }
.dentalink-table tr:hover td { background: var(--bg); }

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.notif-item:last-child { border-bottom: none; }
.notif-icon { font-size: 18px; flex-shrink: 0; }
.notif-text { font-size: 13px; font-weight: 500; }
.notif-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.chat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; min-height: 500px; }
@media (max-width: 768px) { .chat-layout { grid-template-columns: 1fr; } }
.chat-thread {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-bottom: 4px;
}
.chat-thread:hover, .chat-thread.active { background: var(--primary-light); }
.chat-messages { display: flex; flex-direction: column; gap: 12px; max-height: 400px; overflow-y: auto; padding: 16px; }
.chat-bubble { max-width: 70%; padding: 10px 14px; border-radius: 12px; font-size: 13px; }
.chat-bubble.sent { align-self: flex-end; background: var(--primary); color: #fff; }
.chat-bubble.received { align-self: flex-start; background: var(--bg); color: var(--text); }

.step-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.step-tab {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    background: var(--bg);
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    cursor: pointer;
}
.step-tab.active { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary); }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--card);
    color: var(--text);
}

.form-error {
    margin-top: 4px;
    font-size: 11px;
    color: var(--danger);
    font-weight: 600;
}

.dentalink-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(13, 27, 42, 0.55);
    backdrop-filter: blur(2px);
}

.dentalink-modal {
    width: 100%;
    max-width: 440px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    animation: fadeInUp 0.25s ease-out both;
}

.dentalink-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.dentalink-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.dentalink-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.dentalink-modal-body {
    padding: 20px;
}

.dentalink-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    background: var(--bg);
}
.upload-icon { font-size: 32px; margin-bottom: 8px; }
.upload-text { font-size: 14px; font-weight: 600; }
.upload-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-top: 20px; }
.chart-bar { flex: 1; background: var(--primary-light); border-radius: 4px 4px 0 0; min-height: 8px; }
.chart-bar.highlight { background: var(--primary); }

.express-badge {
    display: inline-flex;
    background: var(--accent-light);
    color: #B06B10;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
}

.inline-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.dentalink-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
}
.dentalink-btn-primary { background: var(--primary); color: #fff; }
.dentalink-btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.dentalink-btn-success { background: var(--success); color: #fff; }
.dentalink-btn-danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.approval-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.approval-row:last-child { border-bottom: none; }

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

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes progress-fill {
    from { width: 0; }
}

@keyframes bar-grow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.animate-slide-in {
    animation: slideInLeft 0.45s ease-out forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

.dentalink-page .stat-card,
.dentalink-page .card,
.dentalink-page .lab-card {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.dentalink-page .stat-card:nth-child(1) { animation-delay: 0.05s; }
.dentalink-page .stat-card:nth-child(2) { animation-delay: 0.1s; }
.dentalink-page .stat-card:nth-child(3) { animation-delay: 0.15s; }
.dentalink-page .stat-card:nth-child(4) { animation-delay: 0.2s; }

.dentalink-page .lab-card:nth-child(1) { animation-delay: 0.05s; }
.dentalink-page .lab-card:nth-child(2) { animation-delay: 0.1s; }
.dentalink-page .lab-card:nth-child(3) { animation-delay: 0.15s; }
.dentalink-page .lab-card:nth-child(4) { animation-delay: 0.2s; }
.dentalink-page .lab-card:nth-child(5) { animation-delay: 0.25s; }
.dentalink-page .lab-card:nth-child(6) { animation-delay: 0.3s; }

.dentalink-page .timeline-dot.active {
    animation: pulse-soft 2s ease-in-out infinite;
}

.dentalink-page .progress-bar {
    animation: progress-fill 1s ease-out forwards;
}

.dentalink-page .chart-bar {
    animation: bar-grow 0.6s ease-out forwards;
}

.dentalink-page .chart-bar:nth-child(1) { animation-delay: 0.1s; }
.dentalink-page .chart-bar:nth-child(2) { animation-delay: 0.15s; }
.dentalink-page .chart-bar:nth-child(3) { animation-delay: 0.2s; }
.dentalink-page .chart-bar:nth-child(4) { animation-delay: 0.25s; }
.dentalink-page .chart-bar:nth-child(5) { animation-delay: 0.3s; }
.dentalink-page .chart-bar:nth-child(6) { animation-delay: 0.35s; }
.dentalink-page .chart-bar:nth-child(7) { animation-delay: 0.4s; }

.dentalink-page .notif-item {
    animation: slideInLeft 0.4s ease-out forwards;
    opacity: 0;
}

.dentalink-page .notif-item:nth-child(1) { animation-delay: 0.05s; }
.dentalink-page .notif-item:nth-child(2) { animation-delay: 0.1s; }
.dentalink-page .notif-item:nth-child(3) { animation-delay: 0.15s; }
.dentalink-page .notif-item:nth-child(4) { animation-delay: 0.2s; }
.dentalink-page .notif-item:nth-child(5) { animation-delay: 0.25s; }
.dentalink-page .notif-item:nth-child(6) { animation-delay: 0.3s; }

.dentalink-page .chat-bubble {
    animation: fadeInUp 0.35s ease-out forwards;
}

.dentalink-page .ai-suggestion {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dentalink-page .ai-suggestion:hover {
    transform: translateX(4px);
}

.dentalink-page .lab-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dentalink-page .lab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 110, 189, 0.12);
}

.dentalink-page .stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dentalink-page .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.dentalink-page .dentalink-btn,
.dentalink-page .dentalink-btn-primary,
.dentalink-page .dentalink-btn-outline {
    transition: all 0.15s ease;
}

.dentalink-page .dentalink-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to { opacity: 1; transform: scale(1); }
}

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

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

.dentalink-page .section-header {
    animation: fadeInUp 0.45s ease-out both;
}

.dentalink-page .filters-bar {
    animation: fadeIn 0.4s ease-out 0.1s both;
}

.dentalink-page .dentalink-table tbody tr {
    animation: fadeInUp 0.35s ease-out both;
    transition: background-color 0.2s ease;
}

.dentalink-page .dentalink-table tbody tr:nth-child(1) { animation-delay: 0.04s; }
.dentalink-page .dentalink-table tbody tr:nth-child(2) { animation-delay: 0.08s; }
.dentalink-page .dentalink-table tbody tr:nth-child(3) { animation-delay: 0.12s; }
.dentalink-page .dentalink-table tbody tr:nth-child(4) { animation-delay: 0.16s; }
.dentalink-page .dentalink-table tbody tr:nth-child(5) { animation-delay: 0.20s; }
.dentalink-page .dentalink-table tbody tr:nth-child(6) { animation-delay: 0.24s; }

.dentalink-page .step-tab {
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.dentalink-page .step-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 110, 189, 0.12);
}

.dentalink-page .step-tab.active {
    animation: pulse-soft 0.4s ease-out;
}

.dentalink-page .upload-zone {
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.dentalink-page .upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.01);
}

.dentalink-page .wallet-card {
    animation: scaleIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dentalink-page .ai-card {
    animation: scaleIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.dentalink-page .chat-thread {
    transition: transform 0.2s ease, background-color 0.2s ease;
    animation: slideInRight 0.35s ease-out both;
}

.dentalink-page .chat-thread:nth-child(1) { animation-delay: 0.04s; }
.dentalink-page .chat-thread:nth-child(2) { animation-delay: 0.08s; }
.dentalink-page .chat-thread:nth-child(3) { animation-delay: 0.12s; }
.dentalink-page .chat-thread:nth-child(4) { animation-delay: 0.16s; }

.dentalink-page .chat-thread:hover {
    transform: translateX(-4px);
}

.dentalink-page .badge {
    transition: transform 0.15s ease;
}

.dentalink-page .badge:hover {
    transform: scale(1.05);
}

.dentalink-page .dentalink-btn:active {
    transform: scale(0.97);
}

.dentalink-page .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 110, 189, 0.15);
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dentalink-page .approval-row {
    animation: slideInLeft 0.35s ease-out both;
    transition: background-color 0.2s ease;
}

.dentalink-page .approval-row:hover {
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.dentalink-page .stat-icon {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dentalink-page .stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.dentalink-page .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dentalink-page .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 110, 189, 0.08);
}

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

/* ===== MODERN SCROLLBAR (global) ===== */

html,
body,
.landing,
.dentalink-page,
.dentalink-page .chat-messages,
.dentalink-page .table-wrap,
.fi-modal-window,
.fi-dropdown-panel,
.fi-ta-content,
.fi-fo-repeater-items,
.fi-infolists-tabs-component,
.fi-wi-stats-overview-stats-ctn {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.landing::-webkit-scrollbar,
.dentalink-page::-webkit-scrollbar,
.dentalink-page .chat-messages::-webkit-scrollbar,
.dentalink-page .table-wrap::-webkit-scrollbar,
.fi-modal-window::-webkit-scrollbar,
.fi-dropdown-panel::-webkit-scrollbar,
.fi-ta-content::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
.landing::-webkit-scrollbar-track,
.dentalink-page::-webkit-scrollbar-track,
.dentalink-page .chat-messages::-webkit-scrollbar-track,
.dentalink-page .table-wrap::-webkit-scrollbar-track,
.fi-modal-window::-webkit-scrollbar-track,
.fi-dropdown-panel::-webkit-scrollbar-track,
.fi-ta-content::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: var(--scrollbar-size);
    margin: 3px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
.landing::-webkit-scrollbar-thumb,
.dentalink-page::-webkit-scrollbar-thumb,
.dentalink-page .chat-messages::-webkit-scrollbar-thumb,
.dentalink-page .table-wrap::-webkit-scrollbar-thumb,
.fi-modal-window::-webkit-scrollbar-thumb,
.fi-dropdown-panel::-webkit-scrollbar-thumb,
.fi-ta-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--scrollbar-thumb) 0%, var(--scrollbar-thumb-active) 100%);
    border-radius: var(--scrollbar-size);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background 0.2s ease;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
.landing::-webkit-scrollbar-thumb:hover,
.dentalink-page::-webkit-scrollbar-thumb:hover,
.dentalink-page .chat-messages::-webkit-scrollbar-thumb:hover,
.dentalink-page .table-wrap::-webkit-scrollbar-thumb:hover,
.fi-modal-window::-webkit-scrollbar-thumb:hover,
.fi-dropdown-panel::-webkit-scrollbar-thumb:hover,
.fi-ta-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--scrollbar-thumb-hover) 0%, #159688 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active,
.landing::-webkit-scrollbar-thumb:active,
.dentalink-page::-webkit-scrollbar-thumb:active,
.fi-ta-content::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-thumb-active);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
.dentalink-page::-webkit-scrollbar-corner {
    background: transparent;
}

