/* ==========================================================================
   ProspectFlow - Design System & Layout Stylesheet
   ========================================================================== */

:root {
    color-scheme: dark;
    --bg: #080d18;
    --side: #0b1120;
    --card: #101828;
    --card2: #131e30;
    --card-hover: #172237;
    --line: #223048;
    --line-light: #2d3e5c;
    --muted: #8b9ab1;
    --text: #eef2ff;
    --primary: #8b5cf6;
    --primary-hover: #7c4af0;
    --primary2: #6e47e7;
    --primary-glow: rgba(139, 92, 246, 0.25);
    --green: #2cd6a3;
    --green-bg: rgba(44, 214, 163, 0.12);
    --red: #f78089;
    --red-bg: rgba(247, 128, 137, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.15);
}

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

html {
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    background-color: var(--bg);
}

body {
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
}

button, input, select, textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
    color: #fff;
}

h2 {
    font-size: 18px;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    color: #fff;
}

p {
    color: var(--muted);
}

.muted {
    color: var(--muted) !important;
}

.small {
    font-size: 12px;
}

.full {
    grid-column: 1 / -1;
    width: 100%;
}

/* ==========================================================================
   Brand & Visual Identity
   ========================================================================== */

.brand {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.6px;
    color: #fff;
}

.brand > span:last-child {
    color: #ad91ff;
}

.brand-symbol {
    height: 36px;
    width: 36px;
    background: linear-gradient(135deg, #905cff, #5334b2);
    border-radius: 11px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    margin-right: 10px;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(105, 58, 214, 0.4);
    flex-shrink: 0;
}

.brand.large {
    font-size: 24px;
}

.brand.large .brand-symbol {
    height: 42px;
    width: 42px;
    font-size: 24px;
    border-radius: 12px;
}

/* ==========================================================================
   Authentication Screens (Login & Register) - Perfectly Centered
   ========================================================================== */

.auth-body {
    min-height: 100vh;
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: radial-gradient(ellipse at 50% 12%, rgba(139, 92, 246, 0.22) 0%, rgba(8, 13, 24, 0) 65%), #080d18;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    margin: auto;
    background: linear-gradient(180deg, #121c2e 0%, #0d1525 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #2cd6a3, #8b5cf6);
}

.auth-card .brand {
    margin-bottom: 24px;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #c4b5fd;
    letter-spacing: 1px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.auth-card h1 {
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
    color: #fff;
}

.auth-card .muted {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-bottom {
    text-align: center;
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 20px;
    font-size: 12px;
    color: #72819b;
    line-height: 1.6;
}

.text-link {
    font-size: 13px;
    color: #c4b5fd;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.text-link:hover {
    color: #fff;
}

/* ==========================================================================
   App Shell Layout (Dashboard & Internal Pages)
   ========================================================================== */

.app-shell {
    display: flex;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 270px;
    flex: none;
    background: var(--side);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 16px;
    z-index: 100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sidebar .brand {
    margin: 0 8px 24px;
}

.workspace-tag {
    border: 1px solid var(--line);
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--card);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.workspace-avatar, .avatar, .top-avatar {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7555d9, #ac66e9);
    color: white;
    border-radius: 9px;
    width: 34px;
    height: 34px;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.workspace-tag b, .user-card b {
    display: block;
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workspace-tag small, .user-card small {
    color: var(--muted);
    font-size: 11px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chev {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
}

.nav-title {
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #667792;
    margin: 0 8px 10px;
    text-transform: uppercase;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.nav-link {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9babca;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(139, 92, 246, 0.15);
    color: #ddd0ff;
}

.nav-link.active {
    box-shadow: inset 3px 0 #905cff;
}

.nav-ico {
    font-size: 17px;
    width: 22px;
    text-align: center;
    color: #a78bfa;
}

.nav-link small {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 11px;
    color: #cbd5e1;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 16px;
}

.limit-card {
    background: linear-gradient(145deg, #16182e, #111728);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 14px;
}

.limit-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #94a3b8;
}

.limit-head b {
    color: #ddd0ff;
}

.progress {
    height: 6px;
    border-radius: 8px;
    background: #252e42;
    margin: 10px 0 8px;
    overflow: hidden;
}

.progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #2cd6a3);
    border-radius: 8px;
    transition: width 0.3s ease;
}

.limit-card small {
    color: #8b9ab1;
    font-size: 11px;
}

.user-card {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logout {
    background: none;
    border: none;
    color: #91a3c2;
    font-size: 20px;
    padding: 6px;
    margin-left: auto;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.logout:hover {
    color: #f78089;
    background: var(--red-bg);
}

/* Sidebar Backdrop on Mobile */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 95;
}

.sidebar-backdrop.active {
    display: block;
}

/* Main Content Area */
.main-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.topbar {
    height: 70px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    background: rgba(11, 17, 32, 0.7);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.crumb {
    font-weight: 600;
    color: #8e9bb2;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.crumb span {
    margin: 0 10px;
    color: #475776;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.secure {
    font-size: 11px;
    color: #2cd6a3;
    background: var(--green-bg);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(44, 214, 163, 0.3);
    font-weight: 600;
}

.top-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.hamb {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    place-items: center;
    cursor: pointer;
}

.content {
    padding: 32px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.page-head h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 6px;
}

.page-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.eyebrow {
    font-size: 11px;
    color: #a78bfa;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.date-chip {
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: #aebbd3;
    font-size: 12px;
    background: var(--card);
}

/* ==========================================================================
   Metrics & Stats Row (Responsive Grid)
   ========================================================================== */

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

.stat-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 136px;
    transition: all 0.2s ease;
}

.stat-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #9eacc1;
    font-size: 12px;
    font-weight: 600;
}

.stat-icon {
    border-radius: 9px;
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    font-size: 16px;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.stat-card strong {
    font-size: 28px;
    font-weight: 850;
    letter-spacing: -0.8px;
    color: #fff;
    margin: 10px 0 6px;
    display: block;
}

.stat-foot {
    font-size: 11px;
    color: #7d8ca5;
}

/* ==========================================================================
   Panels, Grids & Cards
   ========================================================================== */

.grid-2 {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    min-width: 0;
    margin-bottom: 20px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.panel-header h2 {
    margin-bottom: 2px;
}

.panel-header p {
    font-size: 12px;
    margin: 0;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #33435c;
    padding: 4px 10px;
    background: #182337;
    border-radius: 6px;
    color: #bac6d8;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.tag.positive {
    background: var(--green-bg);
    border-color: rgba(44, 214, 163, 0.4);
    color: #2cd6a3;
}

.tag.neutral {
    background: #1e283b;
    border-color: #334155;
    color: #94a3b8;
}

.tag.tag-admin {
    background: rgba(139, 92, 246, 0.18);
    border-color: rgba(139, 92, 246, 0.45);
    color: #c4b5fd;
}

.tag.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #f87171;
}

/* Charts */
.chart-panel {
    overflow: hidden;
}

.bar-chart {
    height: 200px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bar-item {
    flex: 1;
    min-width: 32px;
    max-width: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #8293ad;
}

.bars {
    height: 160px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
}

.bars i {
    width: 45%;
    display: block;
    border-radius: 4px 4px 0 0;
}

.bar-main {
    background: linear-gradient(180deg, #a78bfa 0%, #7c3aed 100%);
}

.bar-secondary {
    background: #2cd6a3;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    color: #899bb4;
    font-size: 12px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.purple { background: #8b5cf6; }
.green { background: #2cd6a3; }

/* Quick Shortcuts */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-grid a {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    background: #111a2d;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.quick-grid a:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    background: #152037;
}

.quick-grid a span {
    color: #a78bfa;
    font-size: 22px;
    margin-bottom: 8px;
}

.quick-grid a b {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 4px;
}

.quick-grid a small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

/* ==========================================================================
   Tables & Lists
   ========================================================================== */

.responsive-table {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    min-width: 580px;
    white-space: nowrap;
}

th {
    padding: 12px 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #7e90ac;
    font-size: 10px;
    font-weight: 800;
    border-bottom: 1px solid var(--line);
    background: rgba(11, 17, 32, 0.4);
}

td {
    padding: 14px;
    border-bottom: 1px solid rgba(34, 48, 72, 0.6);
    color: #b9c5da;
    font-size: 13px;
}

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

td small {
    display: block;
    color: #7f90ab;
    font-size: 11px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile b {
    font-size: 13px;
    color: #e4eafb;
    display: block;
}

.profile-pic {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    color: #c4b5fd;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   Toolbars, Filters & Buttons
   ========================================================================== */

.toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.search {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #0d1526;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    flex: 1;
    min-width: 240px;
    padding: 0 12px;
}

.search input {
    background: none;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
    padding: 11px 0;
    font-size: 14px;
}

.search button {
    background: none;
    border: none;
    color: #c4b5fd;
    font-weight: 700;
    padding: 4px 8px;
}

.search span {
    font-size: 16px;
    color: #7a8bab;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 1px solid transparent;
    font-size: 13px;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-align: center;
    min-height: 42px;
}

.btn:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.btn.primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(109, 40, 217, 0.3);
}

.btn.ghost, .btn.subtle {
    background: #172236;
    border-color: var(--line);
    color: #d0dbef;
}

.btn.ghost:hover, .btn.subtle:hover {
    border-color: #3e5070;
    color: #fff;
}

.btn.danger-text {
    background: transparent;
    color: #f78089;
    border-color: rgba(247, 128, 137, 0.3);
}

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

.filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-row .small {
    margin-left: auto;
}

.pill {
    border-radius: var(--radius-sm);
    padding: 7px 14px;
    border: 1px solid var(--line);
    color: #a3b1c8;
    font-size: 12px;
    font-weight: 600;
    background: #111a2d;
    transition: all 0.15s ease;
}

.pill:hover {
    border-color: rgba(139, 92, 246, 0.4);
    color: #fff;
}

.pill.selected {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.2);
    color: #ddd0ff;
}

/* ==========================================================================
   Forms & Inputs (Touch-Friendly & iOS-Safe)
   ========================================================================== */

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

label {
    font-size: 13px;
    color: #cbd5e1;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

input, textarea, select {
    background: #0d1526;
    color: #e8edfb;
    border: 1px solid #2d3b55;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    outline: none;
    max-width: 100%;
    min-width: 0;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.upload-area {
    min-height: 180px;
    padding: 24px;
    border: 2px dashed rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(139, 92, 246, 0.05);
    color: #c4b5fd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-area:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
}

.upload-area strong {
    font-size: 16px;
    color: #fff;
    margin: 8px 0 4px;
}

.upload-area small {
    font-size: 12px;
    color: #8b9ab1;
    max-width: 320px;
}

.upload-area input {
    margin-top: 12px;
    font-size: 12px;
}

.sample {
    overflow-x: auto;
    white-space: pre;
    padding: 16px;
    background: #080d19;
    border-radius: var(--radius-sm);
    color: #75eac0;
    border: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.8;
}

.tip {
    padding: 14px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-sm);
    font-size: 12px;
    margin: 16px 0;
}

.source-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.source-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: #0e1627;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
    cursor: pointer;
    position: relative;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.source-item:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 214, 163, 0.45);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.source-item .inline-actions {
    cursor: default;
    z-index: 5;
    position: relative;
}

.source-click-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #2cd6a3;
    background: rgba(44, 214, 163, 0.12);
    border: 1px solid rgba(44, 214, 163, 0.3);
    border-radius: 9999px;
    padding: 2px 9px;
    transition: all 0.15s ease;
}

.source-item:hover .source-click-pill {
    background: #2cd6a3;
    color: #0b1120;
    font-weight: 700;
    transform: translateX(2px);
}

.source-icon {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border-radius: 9px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.source-detail {
    flex: 1;
    min-width: 180px;
}

.source-detail b {
    display: block;
    color: #fff;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.source-detail small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

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

.inline-actions select {
    padding: 8px 10px;
    font-size: 12px;
}

.inline-actions .btn {
    padding: 8px 14px;
    min-height: 36px;
}

.export-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.plan-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.plan-line p {
    margin: 4px 0 0;
    font-size: 13px;
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 500;
}

.alert.ok {
    background: var(--green-bg);
    border: 1px solid rgba(44, 214, 163, 0.4);
    color: #2cd6a3;
}

.alert.danger {
    background: var(--red-bg);
    border: 1px solid rgba(247, 128, 137, 0.4);
    color: #f78089;
}

.empty {
    padding: 36px 16px;
    color: #8495ac;
    text-align: center;
    font-size: 13px;
}

.footer {
    padding: 20px 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
    gap: 10px;
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 17, 0.75);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-backdrop.opened {
    display: flex;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 30px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: #0f182b;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 18px;
    top: 16px;
    color: #94a3b8;
    font-size: 26px;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 6px;
}

.close-modal:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Media Queries
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1150px) */
@media (max-width: 1150px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Tablets (<= 980px) */
@media (max-width: 980px) {
    .sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 15px 0 50px rgba(0, 0, 0, 0.7);
        z-index: 200;
    }
    .sidebar.opened {
        left: 0;
    }
    .hamb {
        display: grid;
    }
    .topbar {
        padding: 0 18px;
        gap: 12px;
    }
    .crumb {
        font-size: 12px;
    }
    .content {
        padding: 24px 18px;
    }
}

/* Small Tablets & Mobile Landscape (<= 768px) */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 22px;
        border-radius: var(--radius-lg);
    }
    .auth-card h1 {
        font-size: 24px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .stats-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .stat-card {
        min-height: 120px;
        padding: 16px;
    }
    .stat-card strong {
        font-size: 24px;
    }
    .page-head {
        margin-bottom: 20px;
    }
    .page-head h1 {
        font-size: 22px;
    }
    .date-chip {
        display: none;
    }
    .panel {
        padding: 18px;
        border-radius: var(--radius-md);
    }
    .toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .search {
        width: 100%;
        min-width: 100%;
    }
    .toolbar > .btn, .toolbar > a.btn {
        width: 100%;
    }
    .quick-grid {
        grid-template-columns: 1fr;
    }
    .export-actions > a {
        width: 100%;
    }
    .footer {
        padding: 16px 18px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    /* iOS input zoom prevention: minimum 16px on mobile */
    input, select, textarea {
        font-size: 16px !important;
        padding: 13px 12px;
    }
    .auth-body {
        padding: 16px 12px;
    }
    .auth-card {
        padding: 24px 16px;
        box-shadow: none;
        border-color: rgba(139, 92, 246, 0.2);
    }
    .content {
        padding: 16px 12px;
    }
    .topbar {
        padding: 0 12px;
        height: 60px;
    }
    .top-right .secure {
        display: none;
    }
    .btn {
        padding: 12px 16px;
        font-size: 13px;
        width: 100%;
    }
    .modal {
        padding: 20px 16px;
    }
    .source-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .source-item .inline-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Checkout & Pix Gateway Styles
   ========================================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}
.pix-box {
    text-align: center;
    background: linear-gradient(180deg, #12192c 0%, #0c1220 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.pix-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(44, 214, 163, 0.12);
    border: 1px solid rgba(44, 214, 163, 0.35);
    color: #2cd6a3;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2cd6a3;
    box-shadow: 0 0 10px #2cd6a3;
    animation: pixPulse 1.8s infinite ease-in-out;
}
@keyframes pixPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.3); }
}
.pix-qr-container {
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    display: inline-block;
    margin: 16px auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.pix-qr-code-img {
    width: 220px;
    height: 220px;
    display: block;
    margin: 0 auto;
}
.pix-amount-pill {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px;
    font-size: 15px;
    color: #cbd5e1;
}
.pix-amount-pill strong {
    font-size: 22px;
    color: #2cd6a3;
    font-weight: 800;
}
.pix-copy-section {
    background: #090e1a;
    border: 1px solid #1c2738;
    border-radius: 12px;
    padding: 14px;
    text-align: left;
    margin-top: 10px;
}
.pix-copy-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 600;
}
.pix-input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pix-input-group input {
    flex: 1;
    min-width: 0;
    font-family: monospace;
    font-size: 12px !important;
    background: #050811;
    border: 1px solid #23334d;
    color: #a5b4fc;
    padding: 10px 12px !important;
}
.pix-input-group button {
    white-space: nowrap;
}
.pix-timer-note {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.plan-selector-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.plan-choice-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #090e1a;
    border: 1px solid #1c2738;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}
.plan-choice-card:hover {
    border-color: var(--primary);
    background: #111a2e;
}
.plan-choice-card.active {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}
.plan-choice-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.plan-choice-price {
    text-align: right;
}
.plan-choice-price span {
    font-size: 18px;
    font-weight: 800;
    color: #2cd6a3;
    display: block;
}
.plan-choice-price small {
    color: #94a3b8;
    font-size: 11px;
}
.plan-summary-box {
    background: #090e1a;
    border: 1px solid #1c2738;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}
.plan-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1c2738;
    padding-bottom: 12px;
    margin-bottom: 14px;
}
.plan-summary-head h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}
.plan-summary-head .price-val {
    font-size: 20px;
    font-weight: 800;
    color: #2cd6a3;
}
.plan-summary-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
}
.customer-info-box {
    background: #090e1a;
    border: 1px solid #1c2738;
    border-radius: 12px;
    padding: 18px;
}
.customer-info-box h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #141d2d;
    font-size: 13px;
}
.info-row:last-child {
    border-bottom: none;
}
.info-row span {
    color: #94a3b8;
}
.info-row b {
    color: #e2e8f0;
}

/* ==========================================================================
   Advanced Filters & Batch Actions Toolbar (Leads CRM)
   ========================================================================== */

.filter-bar-advanced {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
    background: #0d1527;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group label {
    font-size: 11.5px;
    color: var(--muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-group select {
    background: #111a2d;
    border: 1px solid var(--line);
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.15s ease;
}

.filter-group select:focus {
    border-color: #8b5cf6;
}

.batch-cb {
    width: 17px;
    height: 17px;
    accent-color: #8b5cf6;
    cursor: pointer;
    vertical-align: middle;
}

/* Floating Batch Action Toolbar */
.batch-toolbar {
    position: fixed;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    border: 1px solid #334155;
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.7), 0 10px 15px -5px rgba(0, 0, 0, 0.5);
    border-radius: 9999px;
    padding: 10px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 1050;
    transition: bottom 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.batch-toolbar.visible {
    bottom: 24px;
    opacity: 1;
    pointer-events: auto;
}

.batch-toolbar .batch-counter {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}

.batch-toolbar .batch-actions-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.batch-toolbar select {
    background: #1e293b;
    border: 1px solid #475569;
    color: #f1f5f9;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}

.batch-toolbar select:focus {
    border-color: #8b5cf6;
}

.batch-toolbar .btn-batch-apply {
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.batch-toolbar .btn-batch-apply:hover {
    background: #7c3aed;
}

.batch-toolbar .btn-batch-export {
    background: #1e293b;
    color: #38bdf8;
    border: 1px solid #334155;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.batch-toolbar .btn-batch-export:hover {
    background: #334155;
    border-color: #38bdf8;
}

.batch-toolbar .btn-batch-delete {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.batch-toolbar .btn-batch-delete:hover {
    background: rgba(239, 68, 68, 0.28);
}

.batch-toolbar .btn-batch-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 12.5px;
    padding: 4px 8px;
    text-decoration: underline;
}

.batch-toolbar .btn-batch-clear:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .batch-toolbar {
        left: 12px;
        right: 12px;
        transform: none;
        border-radius: 16px;
        flex-direction: column;
        padding: 14px;
        gap: 10px;
        white-space: normal;
    }
    .batch-toolbar.visible {
        bottom: 16px;
    }
    .batch-toolbar .batch-actions-form {
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .filter-bar-advanced {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .filter-group select {
        width: 100%;
    }
}

/* ==========================================================================
   Impersonation Banner & Admin Dashboard Enhancements
   ========================================================================== */

.impersonation-banner {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(90deg, #d97706, #b45309);
    color: #ffffff;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.impersonation-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.impersonation-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-stop-impersonate {
    background: #0f172a;
    color: #fcd34d;
    border: 1px solid rgba(252, 211, 77, 0.4);
    font-weight: 700;
    font-size: 12.5px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-stop-impersonate:hover {
    background: #000;
    color: #fff;
    border-color: #fcd34d;
}

.admin-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
    overflow-x: auto;
    white-space: nowrap;
}

.admin-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.15s ease;
    background: transparent;
    border: 1px solid transparent;
}

.admin-tab:hover {
    color: #e2e8f0;
    background: #111a2d;
}

.admin-tab.active {
    color: #fff;
    background: #1e293b;
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.admin-tab .badge {
    background: #334155;
    color: #cbd5e1;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 700;
}

.admin-tab.active .badge {
    background: #8b5cf6;
    color: #fff;
}

.btn-impersonate {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-impersonate:hover {
    background: rgba(245, 158, 11, 0.28);
    color: #fff;
    border-color: #fbbf24;
}

.btn-edit-tool {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-edit-tool:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #fff;
    border-color: #818cf8;
}

@media (max-width: 768px) {
    .impersonation-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 12px;
    }
    .impersonation-content {
        justify-content: center;
    }
}

/* Enhanced Admin UX */
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    background: #0b1120;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    padding: 12px 16px;
}

.admin-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 240px;
    max-width: 440px;
}

.admin-search-input {
    width: 100%;
    background: #050811;
    border: 1px solid #1e293b;
    border-radius: 6px;
    color: #e2e8f0;
    padding: 7px 12px;
    font-size: 13px;
    outline: none;
    transition: all 0.15s ease;
}

.admin-search-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.admin-filter-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.admin-filter-btn {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #94a3b8;
    background: #090e1a;
    border: 1px solid #1e293b;
    transition: all 0.15s ease;
}

.admin-filter-btn:hover, .admin-filter-btn.active {
    color: #fff;
    background: #1e293b;
    border-color: #8b5cf6;
}

.admin-stat-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0b1120;
    border: 1px solid #1e293b;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    color: #94a3b8;
}

.admin-stat-chip strong {
    color: #f1f5f9;
    font-size: 13.5px;
}

.admin-copy-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #04070e;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 10px 14px;
    flex-wrap: wrap;
}

.admin-copy-code {
    font-family: monospace;
    font-size: 12.5px;
    color: #2cd6a3;
    word-break: break-all;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    grid-column: 1 / -1;
}

/* ==========================================================================
   Guide & Documentation Center (Ultra-Modern UX)
   ========================================================================== */

/* Mode Switcher (Admin / User Toggle) */
.guide-mode-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.guide-mode-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #090e1a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.guide-mode-btn:hover {
    border-color: #3b82f6;
    background: #0d1527;
    transform: translateY(-1px);
}

.guide-mode-btn.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-color: #8b5cf6;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.25);
}

.guide-mode-btn .icon {
    font-size: 26px;
    flex-shrink: 0;
}

.guide-mode-btn strong {
    display: block;
    font-size: 14.5px;
    color: #f8fafc;
    margin-bottom: 2px;
}

.guide-mode-btn small {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.guide-mode-btn.active strong {
    color: #fff;
}

/* Hero Banner & Search */
.guide-hero-banner {
    background: radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.18) 0%, rgba(11, 17, 32, 0.95) 70%), #0b1120;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
}

.guide-hero-banner::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.guide-hero-content {
    flex: 1;
    max-width: 660px;
}

.guide-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.guide-hero-content h1 {
    font-size: 26px;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.guide-hero-content p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Search Box */
.guide-search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #030712;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 6px 14px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.guide-search-box:focus-within {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
    background: #050814;
}

.guide-search-icon {
    font-size: 16px;
    color: #64748b;
}

.guide-search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #f1f5f9;
    font-size: 13.5px;
    padding: 6px 0;
}

.guide-search-box input::placeholder {
    color: #64748b;
}

.guide-search-clear {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    line-height: 1;
}

.guide-search-clear:hover {
    color: #fff;
}

.guide-hero-stats {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.guide-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    min-width: 110px;
}

.guide-stat-box .val {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.guide-stat-box .lbl {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 2px;
}

/* Category Filter Bar */
.guide-category-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.guide-cat-btn {
    padding: 7px 15px;
    border-radius: 20px;
    background: #090e1a;
    border: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.guide-cat-btn:hover {
    color: #fff;
    background: #111a2e;
    border-color: #334155;
}

.guide-cat-btn.active {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}

.guide-search-counter {
    margin-left: auto;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* 2-Column Responsive Layout */
.guide-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 28px;
    align-items: start;
}

/* Sticky Sidebar Navigation */
.guide-sidebar-nav {
    position: sticky;
    top: 85px;
    background: #0b1120;
    border: 1px solid #1e293b;
    border-radius: 14px;
    padding: 18px 16px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.guide-nav-header {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px 12px;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 10px;
}

.guide-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.guide-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.guide-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.guide-nav-item.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.18);
    border-left: 3px solid #8b5cf6;
    font-weight: 600;
}

.guide-nav-item .nav-ico {
    font-size: 15px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.guide-sidebar-box {
    margin-top: 20px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 12px;
    color: #94a3b8;
}

.guide-sidebar-box strong {
    display: block;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.guide-sidebar-box p {
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* Main Content Cards */
.guide-content-stream {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.guide-card {
    background: #0b1120;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 28px 30px;
    line-height: 1.7;
    position: relative;
    scroll-margin-top: 90px;
    transition: all 0.25s ease;
}

.guide-card:hover {
    border-color: #334155;
}

.guide-card.highlight {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.35);
}

.guide-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #1e293b;
}

.guide-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-card h3 {
    margin: 0;
    font-size: 18px;
    color: #f8fafc;
    font-weight: 700;
}

.guide-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-badge.prospect {
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.3);
}

.guide-badge.crm {
    background: rgba(44, 214, 163, 0.12);
    color: #2cd6a3;
    border-color: rgba(44, 214, 163, 0.3);
}

.guide-badge.billing {
    background: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}

.guide-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    background: #1e293b;
    border: 1px solid #334155;
    text-decoration: none;
    transition: all 0.15s ease;
}

.guide-action-btn:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

/* Callouts */
.guide-callout {
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(44, 214, 163, 0.06);
    border-left: 4px solid #2cd6a3;
    margin: 18px 0;
    font-size: 13.5px;
    color: #cbd5e1;
    line-height: 1.6;
}

.guide-callout.warning {
    background: rgba(245, 158, 11, 0.08);
    border-left-color: #fbbf24;
}

.guide-callout.info {
    background: rgba(99, 102, 241, 0.08);
    border-left-color: #818cf8;
}

/* Visual Feature Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.guide-feature-box {
    background: #060a14;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.2s ease;
}

.guide-feature-box:hover {
    border-color: #3b82f6;
    background: #090e1a;
}

.guide-feature-box .feat-ico {
    font-size: 22px;
    margin-bottom: 8px;
    display: block;
}

.guide-feature-box strong {
    display: block;
    color: #f1f5f9;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.guide-feature-box p {
    margin: 0;
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.55;
}

/* Workflow Step Diagram */
.guide-workflow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 18px;
    background: #050811;
    border: 1px solid #1e293b;
    border-radius: 12px;
    overflow-x: auto;
}

.guide-wf-step {
    flex: 1;
    min-width: 140px;
    background: #0d1527;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 12px 14px;
    text-align: center;
}

.guide-wf-step strong {
    display: block;
    font-size: 12.5px;
    color: #f8fafc;
    margin-bottom: 4px;
}

.guide-wf-step small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

.guide-wf-arrow {
    color: #8b5cf6;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Accordions (FAQ / Deep Dives) */
.guide-accordion {
    margin: 12px 0;
    border: 1px solid #1e293b;
    border-radius: 10px;
    background: #060a14;
    overflow: hidden;
    transition: all 0.2s ease;
}

.guide-accordion[open] {
    border-color: #334155;
    background: #080d1a;
}

.guide-accordion summary {
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #f1f5f9;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.guide-accordion summary::-webkit-details-marker {
    display: none;
}

.guide-accordion summary::after {
    content: '+';
    font-size: 18px;
    color: #8b5cf6;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.guide-accordion[open] summary::after {
    content: '−';
    color: #ef4444;
}

.guide-accordion-body {
    padding: 0 18px 16px;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 12px;
}

/* Code Snippet Box with Copy Button */
.guide-code-box {
    position: relative;
    background: #030712;
    border: 1px solid #1f2937;
    border-radius: 10px;
    margin: 14px 0;
    overflow: hidden;
}

.guide-code-box pre {
    margin: 0;
    padding: 14px 18px;
    font-family: monospace;
    font-size: 12.5px;
    color: #2cd6a3;
    overflow-x: auto;
    line-height: 1.5;
}

.btn-copy-code {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s ease;
}

.btn-copy-code:hover {
    background: #8b5cf6;
    border-color: #8b5cf6;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .guide-layout {
        grid-template-columns: 1fr;
    }
    .guide-sidebar-nav {
        position: static;
        max-height: none;
    }
    .guide-hero-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }
    .guide-hero-stats {
        width: 100%;
        justify-content: flex-start;
    }
    .guide-mode-switcher {
        grid-template-columns: 1fr;
    }
    .guide-card {
        padding: 20px;
    }
}

/* =========================================================
   LEADS THUMBNAILS & PROFILE HYPERLINKS
   ========================================================= */
.profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.profile-thumb-wrap {
    display: inline-block;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 10px;
    line-height: 0;
}
.profile-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    background: #0d1424;
    border: 1.5px solid #1d2a44;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    display: block;
}
.profile-thumb-wrap:hover .profile-thumb {
    transform: scale(1.08);
    border-color: #2cd6a3;
    box-shadow: 0 0 12px rgba(44, 214, 163, 0.35);
}
.profile-name-link {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: color 0.15s ease;
    display: inline-block;
    line-height: 1.25;
}
.profile-name-link:hover {
    color: #2cd6a3;
    text-decoration: underline;
}
.profile-link {
    color: #2cd6a3;
    text-decoration: none;
    font-family: var(--font-mono, monospace);
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 2.5px;
    transition: color 0.15s ease;
    margin-top: 2px;
}
.profile-link:hover {
    color: #38bdf8;
    text-decoration: underline;
}
.profile-link .ext-ico {
    font-size: 10.5px;
    opacity: 0.75;
}

/* =========================================================
   BIPARTITE QUALIFICATION TABS
   ========================================================= */
.qualification-bipartite-container {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.qualification-bipartite {
    display: inline-flex;
    align-items: center;
    background: #0d1424;
    border: 1px solid #1d2a44;
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
    flex-wrap: wrap;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.bipartite-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}
.bipartite-tab:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.04);
}
.bipartite-tab.active {
    background: #111b30;
    color: #fff;
    border: 1px solid #263756;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bipartite-tab.bipartite-qual.active {
    color: #2cd6a3;
    background: rgba(44, 214, 163, 0.12);
    border-color: rgba(44, 214, 163, 0.35);
}
.bipartite-tab.bipartite-unqual.active {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
}
.bipartite-tab .tab-count {
    background: #080d18;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: var(--font-mono, monospace);
    border: 1px solid #1d2a44;
    color: #cbd5e1;
}

/* =========================================================
   SYSTEM AUDIT LOGS (ADMIN OVERVIEW)
   ========================================================= */
.audit-panel {
    margin-top: 24px;
}
.audit-header-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.audit-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    background: #0b1120;
    border: 1px solid #1e293b;
    color: #94a3b8;
}
.audit-chip strong {
    color: #f1f5f9;
}
.audit-actor {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.audit-actor-name {
    font-weight: 600;
    color: #f1f5f9;
    font-size: 13px;
}
.audit-actor-meta {
    font-size: 11px;
    color: #64748b;
    font-family: var(--font-mono, monospace);
}
.audit-details-code {
    background: #080d18;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11.5px;
    font-family: var(--font-mono, monospace);
    color: #cbd5e1;
    max-width: 380px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    display: inline-block;
}
.tag-audit {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.tag-audit-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.tag-audit-green { background: rgba(44, 214, 163, 0.15); color: #2cd6a3; border: 1px solid rgba(44, 214, 163, 0.3); }
.tag-audit-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.tag-audit-rose { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.tag-audit-purple { background: rgba(139, 92, 246, 0.15); color: #ad91ff; border: 1px solid rgba(139, 92, 246, 0.3); }



/* ==========================================================================
   Countdown Timer & Live Queue Status for Sources
   ========================================================================== */
.tag.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

@keyframes pulse-dot-amber {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    50% { opacity: 0.5; transform: scale(0.9); box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}

@keyframes pulse-dot-green {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(44, 214, 163, 0.7); }
    50% { opacity: 0.5; transform: scale(0.9); box-shadow: 0 0 0 4px rgba(44, 214, 163, 0); }
}

.countdown-pulse {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #fbbf24;
    animation: pulse-dot-amber 1.6s infinite;
    flex-shrink: 0;
}

.countdown-pulse-green {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #2cd6a3;
    animation: pulse-dot-green 1.6s infinite;
    flex-shrink: 0;
}

.countdown-bar-wrap {
    width: 100%;
    max-width: 220px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 6px;
}

.countdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
    transition: width 1s linear;
}

.processing-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #10b981 100%) !important;
    background-size: 200% 100% !important;
    animation: shimmer-proc 1.6s infinite linear !important;
    border-radius: 2px;
}
@keyframes shimmer-proc {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.btn-autopilot {
    transition: all 0.2s ease;
}
.btn-autopilot.active {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}
.btn-autopilot.active .ap-icon {
    display: inline-block;
    animation: spin-ap 3s linear infinite;
}
@keyframes spin-ap {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================
   TERMÔMETRO DE SAÚDE & ANTI-429
   ========================================== */
.rate-health-container {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
}
.rate-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.rate-pulse-dot.safe {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: pulse-dot-green 1.8s infinite;
}
.rate-pulse-dot.warning {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    animation: pulse-dot-amber 1.5s infinite;
}
.rate-pulse-dot.cooldown {
    background: #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.8);
    animation: pulse-dot-orange 1.2s infinite;
}

@keyframes pulse-dot-orange {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    50% { opacity: 0.5; transform: scale(0.9); box-shadow: 0 0 0 5px rgba(249, 115, 22, 0); }
}

.rate-status-pill {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.rate-status-pill.safe {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.rate-status-pill.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.rate-status-pill.cooldown {
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border: 1px solid rgba(249, 115, 22, 0.4);
}

.rate-health-bar-fill.safe {
    background: linear-gradient(90deg, #10b981, #34d399) !important;
}
.rate-health-bar-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #fbbf24) !important;
}
.rate-health-bar-fill.cooldown {
    background: linear-gradient(90deg, #ea580c, #f97316) !important;
    background-size: 200% 100% !important;
    animation: shimmer-proc 1.5s infinite linear !important;
}

.topbar-rate-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 11px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 8px;
}
.topbar-rate-pill:hover {
    background: rgba(255, 255, 255, 0.08);
}
.topbar-rate-pill.warning {
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}
.topbar-rate-pill.cooldown {
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
}
