/**
 * Tropa API Sports - Professional API Console Theme
 * Shared visual system for public pages, user dashboard and admin screens.
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #21d07a;
    --primary-strong: #0fb568;
    --secondary: #25b7d3;
    --accent: #f5b84b;
    --success: #21d07a;
    --warning: #f5b84b;
    --danger: #ef5b5b;
    --info: #25b7d3;

    --dark: #0d1312;
    --darker: #050908;
    --bg: #050908;
    --bg-color: #050908;
    --dark-bg: #050908;
    --surface: #111917;
    --surface-2: #162320;
    --surface-3: #21312d;
    --glass-bg: rgba(12, 18, 17, 0.82);
    --card-bg: rgba(15, 22, 21, 0.94);
    --card-color: #111916;
    --card-hover: #16211d;
    --border: rgba(219, 244, 232, 0.12);
    --border-color: rgba(219, 244, 232, 0.12);
    --border-strong: rgba(33, 208, 122, 0.36);

    --light: #f4fbf7;
    --text: #f4fbf7;
    --text-color: #f4fbf7;
    --text-primary: #f4fbf7;
    --text-secondary: #a8bbb2;
    --muted: #a8bbb2;
    --gray: #a8bbb2;
    --primary-color: #21d07a;
    --primary-dark: #0fb568;
    --gold: #f5b84b;
    --live-color: #21d07a;
    --live-dark: #0f7d52;
    --featured-color: #f5b84b;
    --finished-color: #7e8f87;
    --waiting-color: #f5b84b;
    --nba-primary: #ef7d39;
    --wnba-primary: #25b7d3;

    --gradient-primary: linear-gradient(135deg, #21d07a 0%, #25b7d3 100%);
    --gradient-secondary: linear-gradient(135deg, #202f2a 0%, #15231e 100%);
    --gradient-accent: linear-gradient(135deg, #f5b84b 0%, #ef5b5b 100%);
    --gradient-dark: linear-gradient(135deg, #101614 0%, #080d0b 100%);
    --gradient-fire: linear-gradient(135deg, #ef7d39 0%, #ef5b5b 100%);
    --gradient-ice: linear-gradient(135deg, #25b7d3 0%, #21d07a 100%);

    --shadow-sm: 0 12px 28px rgba(0, 0, 0, 0.22);
    --shadow-md: 0 22px 54px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.42);
    --shadow-glow: 0 0 0 4px rgba(33, 208, 122, 0.12);
    --shadow-intense: 0 24px 70px rgba(0, 0, 0, 0.34);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --font-primary: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', Consolas, 'Liberation Mono', monospace;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--darker);
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text);
    line-height: 1.55;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at 18% 10%, rgba(33, 208, 122, 0.18), transparent 34rem),
        radial-gradient(circle at 82% 14%, rgba(37, 183, 211, 0.13), transparent 28rem),
        linear-gradient(135deg, #050908 0%, #0d1312 46%, #091110 100%);
    background-size: 38px 38px, 38px 38px, auto, auto, auto;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(180deg, rgba(33, 208, 122, 0.08), transparent 30%, rgba(37, 183, 211, 0.05));
}

a {
    color: var(--primary);
}

img, video {
    max-width: 100%;
}

::selection {
    background: rgba(33, 208, 122, 0.28);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: #31433b;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #496258;
}

.container,
.admin-container,
.dashboard-container,
.main-container {
    width: calc(100% - 36px);
    max-width: none;
    margin-inline: auto;
}

.container {
    padding-inline: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

h2 {
    font-size: clamp(1.55rem, 2.7vw, 2.5rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

code, pre, .code-block, .api-url, .endpoint, .token-display {
    font-family: var(--font-mono);
}

pre, .code-block {
    overflow: auto;
    background: #08100d;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    color: #d8fff0;
}

body.has-app-sidebar {
    padding-left: 294px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

.logo::before {
    content: '';
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 45%),
        var(--gradient-primary);
    box-shadow: 0 8px 22px rgba(33, 208, 122, 0.22);
}

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

.logo .badge-admin,
.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid rgba(239, 91, 91, 0.34);
    border-radius: 999px;
    color: #ffc9c9;
    background: rgba(239, 91, 91, 0.1);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.shell-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1200;
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(8, 13, 11, 0.92);
    box-shadow: var(--shadow-sm);
}

.shell-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.shell-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(5, 8, 7, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.app-sidebar {
    position: fixed;
    top: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 1100;
    width: 264px;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background:
        radial-gradient(circle at top, rgba(33, 208, 122, 0.24), transparent 12rem),
        linear-gradient(180deg, rgba(10, 16, 15, 0.97), rgba(5, 9, 8, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
}

.app-sidebar-admin {
    background:
        radial-gradient(circle at top, rgba(245, 184, 75, 0.22), transparent 12rem),
        linear-gradient(180deg, rgba(10, 16, 15, 0.97), rgba(5, 9, 8, 0.96));
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
    padding: 8px 6px 4px;
}

.app-brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #06120d;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: 0 14px 28px rgba(33, 208, 122, 0.28);
}

.app-brand strong,
.app-brand small {
    display: block;
}

.app-brand small,
.app-sidebar-copy,
.app-sidebar-footer small {
    color: var(--muted);
}

.app-sidebar-copy {
    margin: 2px 4px 6px;
    font-size: 0.88rem;
    line-height: 1.7;
}

.app-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.app-nav-link:hover {
    transform: translateX(5px);
    border-color: var(--border-strong);
    background: linear-gradient(135deg, rgba(33, 208, 122, 0.12), rgba(37, 183, 211, 0.08));
}

.app-nav-link.active {
    color: #06120d;
    background: var(--gradient-primary);
    box-shadow: 0 18px 34px rgba(33, 208, 122, 0.22);
}

.app-nav-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.09);
    color: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.app-nav-link.active .app-nav-icon {
    background: rgba(6, 18, 13, 0.14);
}

.app-sidebar-footer {
    margin-top: auto;
    padding: 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.btn,
button,
input[type='submit'],
.btn-primary,
.btn-secondary,
.btn-logout,
.btn-danger,
.btn-success,
.btn-warning {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 10px 16px;
    font-family: var(--font-primary);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary,
button.btn-primary,
input[type='submit'],
.btn-success {
    color: #06120d;
    background: var(--gradient-primary);
    box-shadow: 0 12px 26px rgba(33, 208, 122, 0.16);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
}

.btn-danger,
.btn-logout {
    color: #ffd5d5;
    background: rgba(239, 91, 91, 0.1);
    border-color: rgba(239, 91, 91, 0.34);
}

.btn-warning {
    color: #1d1303;
    background: var(--warning);
}

.btn:hover,
button:hover,
input[type='submit']:hover,
.btn-logout:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.card,
.api-card,
.stat-card,
.plan-card,
.info-card,
.metric-card,
.table-card,
.form-card,
.subscription-card,
.payment-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.card,
.stat-card,
.info-card,
.metric-card,
.table-card,
.form-card,
.subscription-card,
.payment-card {
    padding: 24px;
}

.card:hover,
.api-card:hover,
.stat-card:hover,
.plan-card:hover,
.subscription-card:hover {
    border-color: rgba(33, 208, 122, 0.32);
    box-shadow: var(--shadow-md);
    transform: none;
}

.card::before,
.api-card::before,
.api-card::after,
.stat-card::before,
.plan-card::before,
.btn::before {
    display: none;
}

.cards-grid,
.stats-grid,
.plans-container,
.plans-comparison,
.api-grid,
.grid {
    display: grid;
    gap: 18px;
}

.cards-grid,
.api-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.plans-container,
.plans-comparison {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.stat-card {
    text-align: left;
}

.stat-icon,
.api-icon,
.feature-icon {
    filter: none;
}

.stat-icon {
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 1.8rem;
}

.stat-value {
    margin-bottom: 4px;
    color: var(--text);
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 850;
    line-height: 1;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.stat-label,
.api-description,
.plan-duration,
.plan-description,
.info-label {
    color: var(--muted);
}

.api-card {
    overflow: hidden;
}

.api-card-header,
.api-card-body {
    padding: 22px;
}

.api-card-body {
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid var(--border);
}

.api-name,
.plan-name {
    color: var(--text);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.api-badge,
.plan-badge,
.status-badge,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 5px 10px;
    border: 1px solid rgba(33, 208, 122, 0.32);
    border-radius: 999px;
    color: #bfffe0;
    background: rgba(33, 208, 122, 0.1);
    font-size: 0.78rem;
    font-weight: 750;
}

.input-group,
.form-group {
    margin-bottom: 18px;
}

label,
.input-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}

input,
select,
textarea,
.input-field {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 12px;
    color: var(--text);
    background: rgba(8, 13, 11, 0.7);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

select {
    appearance: auto;
}

input:focus,
select:focus,
textarea:focus,
.input-field:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: rgba(8, 13, 11, 0.92);
}

input::placeholder,
textarea::placeholder {
    color: rgba(168, 187, 178, 0.72);
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--radius);
    color: var(--text);
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.alert {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-left-width: 4px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
}

.alert-success,
.success {
    border-color: rgba(33, 208, 122, 0.36);
    border-left-color: var(--success);
    color: #caffdf;
    background: rgba(33, 208, 122, 0.09);
}

.alert-warning,
.warning {
    border-color: rgba(245, 184, 75, 0.38);
    border-left-color: var(--warning);
    color: #ffe0a3;
    background: rgba(245, 184, 75, 0.09);
}

.alert-error,
.alert-danger,
.error {
    border-color: rgba(239, 91, 91, 0.38);
    border-left-color: var(--danger);
    color: #ffd0d0;
    background: rgba(239, 91, 91, 0.1);
}

.hero {
    position: relative;
    min-height: min(760px, 92vh);
    display: grid;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero p {
    max-width: 760px;
    color: #c8d8d0;
}

.section,
section {
    position: relative;
}

.fade-in-up {
    animation: fadeInUp 0.45s ease both;
}

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

.loading {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255, 255, 255, 0.14);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.particles,
.particle {
    display: none;
}

.plan-price {
    color: var(--text);
    font-weight: 850;
}

.plan-card.popular {
    border-color: var(--border-strong);
    transform: none;
}

.table-responsive,
.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.page-shell {
    display: grid;
    gap: 20px;
}

.hero-panel,
.soft-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
        rgba(15, 22, 21, 0.96);
    box-shadow: var(--shadow-sm);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 0;
    min-height: 360px;
    padding: 0;
}

.hero-panel::after {
    content: '';
    position: absolute;
    inset: auto -10% -42% auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 183, 211, 0.22), transparent 70%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: none;
    padding: 38px 40px 34px;
}

.hero-copy h1 {
    max-width: 920px;
}

.hero-side {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: stretch;
    gap: 14px;
    padding: 22px 22px 22px 0;
}

.hero-side-card,
.hero-mini-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.hero-side-card {
    display: grid;
    gap: 16px;
    align-content: space-between;
    min-height: 100%;
    padding: 22px;
}

.hero-side-card::after,
.hero-mini-card::after {
    content: '';
    position: absolute;
    inset: auto -10% -30% auto;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(33, 208, 122, 0.18), transparent 72%);
    pointer-events: none;
}

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

.hero-mini-card {
    padding: 16px 16px 18px;
}

.hero-kicker {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-big-number {
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 900;
    line-height: 0.95;
}

.hero-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-list {
    display: grid;
    gap: 10px;
}

.hero-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.hero-list-row strong {
    display: block;
    font-size: 0.94rem;
}

.hero-list-row span {
    color: var(--muted);
    font-size: 0.8rem;
}

.hero-fill {
    grid-column: 1 / -1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(33, 208, 122, 0.1);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-grid,
.info-grid,
.cards-grid,
.split-grid {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr);
}

.metric-card,
.soft-card {
    padding: 24px;
}

.metric-label,
.meta-label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.metric-value {
    margin-top: 10px;
    color: var(--text);
    font-size: clamp(1.85rem, 3.2vw, 2.7rem);
    font-weight: 900;
}

.metric-trend {
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 700;
}

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

.section-head p {
    margin-bottom: 0;
}

.stack-list {
    display: grid;
    gap: 14px;
}

.stack-item {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
}

.stack-item-head,
.inline-meta,
.contact-links,
.shell-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stack-item-head {
    justify-content: space-between;
    margin-bottom: 10px;
}

.inline-meta {
    color: var(--muted);
    font-size: 0.92rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.status-pill.success {
    background: rgba(33, 208, 122, 0.14);
    color: var(--success);
    border: 1px solid rgba(33, 208, 122, 0.32);
}

.status-pill.warning {
    background: rgba(245, 184, 75, 0.14);
    color: var(--warning);
    border: 1px solid rgba(245, 184, 75, 0.32);
}

.status-pill.danger {
    background: rgba(239, 91, 91, 0.14);
    color: var(--danger);
    border: 1px solid rgba(239, 91, 91, 0.32);
}

.status-pill.muted {
    background: rgba(168, 187, 178, 0.12);
    color: var(--muted);
    border: 1px solid rgba(168, 187, 178, 0.2);
}

.contact-links a,
.shell-actions .btn,
.shell-actions a {
    text-decoration: none;
}

.empty-state {
    padding: 28px;
    border: 1px dashed var(--border-strong);
    border-radius: 22px;
    text-align: center;
    color: var(--muted);
    background: rgba(33, 208, 122, 0.04);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.table-shell {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.02);
}

.plan-apis {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.plan-apis span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(33, 208, 122, 0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
}

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

.form-grid .full {
    grid-column: 1 / -1;
}

.form-control,
.input-field,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.form-control:focus,
.input-field:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--border-strong);
    box-shadow: var(--shadow-glow);
}

.checkbox-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.checkbox-chip input {
    margin: 0;
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 6, 6, 0.82);
}

.payment-modal.is-open {
    display: flex;
}

.payment-modal-card {
    width: min(640px, 100%);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    background: rgba(11, 18, 16, 0.98);
    box-shadow: var(--shadow-lg);
}

.qr-shell {
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.qr-shell img {
    width: min(300px, 100%);
    border-radius: 18px;
    background: #fff;
    padding: 12px;
}

.copy-field {
    width: 100%;
    min-height: 94px;
    resize: vertical;
    font-family: var(--font-mono);
    font-size: 0.86rem;
}

@media (max-width: 1100px) {
    body.has-app-sidebar {
        padding-left: 0;
    }

    .shell-toggle {
        display: inline-flex;
    }

    .app-sidebar {
        top: 0;
        bottom: 0;
        left: 0;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        border-radius: 0 28px 28px 0;
    }

    body.shell-open .app-sidebar {
        transform: translateX(0);
    }

    body.shell-open .shell-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 1480px) {
    .hero-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-copy {
        padding-bottom: 18px;
    }

    .hero-side {
        padding: 0 22px 22px;
    }

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

    .split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container,
    .admin-container,
    .dashboard-container,
    .main-container {
        width: calc(100% - 18px);
    }

    .hero-panel,
    .metric-card,
    .soft-card,
    .payment-modal-card {
        padding: 20px;
    }

    .hero-panel {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-copy {
        padding: 24px 22px 12px;
    }

    .hero-side {
        padding: 0 22px 22px;
    }

    .hero-mini-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .split-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .cards-grid,
    .api-grid,
    .plans-container,
    .plans-comparison,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 11px 12px;
    }
}

/* Refit V2 */
:root {
    --primary: #ff7a3d;
    --primary-strong: #ff5b2e;
    --secondary: #7aa8ff;
    --accent: #ff9a62;
    --success: #62d7a6;
    --warning: #ffbe64;
    --danger: #ff6d6d;
    --info: #7aa8ff;
    --dark: #09111c;
    --darker: #050b14;
    --surface: #101927;
    --surface-2: #172232;
    --surface-3: #1e2c41;
    --card-bg: rgba(16, 25, 39, 0.92);
    --text: #f7f8fc;
    --muted: #93a3bd;
    --border: rgba(148, 166, 196, 0.16);
    --border-strong: rgba(255, 122, 61, 0.4);
    --gradient-primary: linear-gradient(135deg, #ff7a3d 0%, #ff9a62 100%);
    --gradient-secondary: linear-gradient(135deg, #101927 0%, #172232 100%);
}

html,
body {
    background: #050b14;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 61, 0.12), transparent 24rem),
        radial-gradient(circle at top right, rgba(122, 168, 255, 0.1), transparent 24rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(180deg, #08111d 0%, #050b14 100%);
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
    color: var(--text);
}

body::before {
    background: linear-gradient(180deg, rgba(255, 122, 61, 0.05), transparent 26%, rgba(122, 168, 255, 0.04));
}

body.has-app-sidebar {
    padding-left: 232px;
}

.container,
.admin-container,
.dashboard-container,
.main-container {
    width: calc(100% - 28px);
}

.shell-toggle {
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(9, 17, 28, 0.96);
    border-color: rgba(148, 166, 196, 0.16);
}

.app-sidebar {
    top: 0;
    bottom: 0;
    left: 0;
    width: 220px;
    padding: 14px 10px 12px;
    border-radius: 0;
    border: none;
    border-right: 1px solid rgba(148, 166, 196, 0.12);
    box-shadow: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #0a1320 0%, #09111c 100%);
}

.app-sidebar-user {
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

.app-sidebar-admin {
    background:
        radial-gradient(circle at top right, rgba(255, 122, 61, 0.08), transparent 16rem),
        linear-gradient(180deg, #0a1320 0%, #09111c 100%);
}

.sidebar-head {
    display: grid;
    gap: 12px;
}

.app-brand {
    align-items: flex-start;
    gap: 10px;
    padding: 4px 8px 0;
}

.app-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    color: #0a1220;
    box-shadow: 0 10px 22px rgba(255, 122, 61, 0.18);
}

.app-brand strong {
    font-size: 1.05rem;
}

.app-brand small {
    margin-top: 2px;
    font-size: 0.82rem;
}

.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    width: fit-content;
    padding: 6px 10px;
    margin-left: 8px;
    border-radius: 999px;
    background: rgba(98, 215, 166, 0.08);
    color: #9fe7c5;
    border: 1px solid rgba(98, 215, 166, 0.16);
    font-size: 0.74rem;
    font-weight: 800;
}

.sidebar-badge-admin {
    background: rgba(255, 122, 61, 0.08);
    color: #ffb089;
    border-color: rgba(255, 122, 61, 0.18);
}

.sidebar-spotlight {
    margin: 2px 6px 4px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 122, 61, 0.16);
    background: linear-gradient(160deg, rgba(255, 122, 61, 0.08), rgba(255, 255, 255, 0.02));
}

.sidebar-spotlight-admin {
    background: linear-gradient(160deg, rgba(255, 122, 61, 0.12), rgba(255, 255, 255, 0.02));
}

.sidebar-spotlight-label,
.sidebar-section-label {
    display: block;
    color: #ff9a62;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-spotlight strong {
    display: block;
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.sidebar-section-label {
    margin: 6px 10px 0;
    color: rgba(147, 163, 189, 0.72);
}

.app-nav {
    gap: 6px;
}

.app-nav-link {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 14px;
    border-color: transparent;
    background: transparent;
    color: #dce4f1;
    font-size: 0.92rem;
    transform: none;
}

.app-nav-link:hover {
    transform: none;
    border-color: rgba(255, 122, 61, 0.14);
    background: rgba(255, 255, 255, 0.03);
}

.app-nav-link.active {
    color: #fff6f2;
    background: linear-gradient(135deg, rgba(255, 122, 61, 0.22), rgba(255, 122, 61, 0.12));
    box-shadow: inset 3px 0 0 #ff7a3d;
}

.app-nav-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.72rem;
}

.app-nav-link.active .app-nav-icon {
    background: rgba(255, 122, 61, 0.18);
    color: #ffb089;
}

.app-sidebar-footer {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(148, 166, 196, 0.1);
}

.btn,
button,
input[type='submit'],
.btn-primary,
.btn-secondary,
.btn-logout,
.btn-danger,
.btn-success,
.btn-warning {
    min-height: 36px;
    padding: 9px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
}

.btn-primary,
button.btn-primary,
input[type='submit'],
.btn-success {
    color: #0a1220;
    background: var(--gradient-primary);
    box-shadow: 0 10px 22px rgba(255, 122, 61, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 166, 196, 0.14);
}

.btn-logout,
.btn-danger {
    background: rgba(255, 122, 61, 0.08);
    color: #ffc1a4;
    border-color: rgba(255, 122, 61, 0.16);
}

.page-shell {
    gap: 14px;
}

.workspace-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 0 2px;
}

.workspace-topbar h1 {
    margin: 0;
    font-size: 1.9rem;
}

.workspace-topbar p {
    margin: 6px 0 0;
    font-size: 0.92rem;
}

.workspace-topbar-right,
.workspace-chip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.workspace-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 166, 196, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: #dce4f1;
    font-size: 0.8rem;
    font-weight: 700;
}

.workspace-chip.hot {
    border-color: rgba(255, 122, 61, 0.2);
    color: #ffb089;
}

.workspace-avatar {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gradient-primary);
    color: #0a1220;
    font-size: 0.84rem;
    font-weight: 900;
}

.hero-panel,
.soft-card,
.metric-card,
.stack-item,
.table-shell,
.payment-modal-card {
    border-radius: 22px;
}

.hero-panel,
.soft-card {
    border-color: rgba(148, 166, 196, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)), rgba(16, 25, 39, 0.92);
}

.hero-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    min-height: 250px;
}

.hero-copy {
    padding: 24px 26px 20px;
}

.hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.02;
}

.hero-copy p {
    max-width: 640px;
    font-size: 0.93rem;
}

.eyebrow {
    min-height: 30px;
    padding: 6px 12px;
    border-color: rgba(255, 122, 61, 0.24);
    background: rgba(255, 122, 61, 0.08);
    color: #ffab80;
    font-size: 0.74rem;
}

.hero-side {
    padding: 18px 18px 18px 0;
}

.hero-side-card,
.hero-mini-card {
    border-radius: 18px;
    border-color: rgba(148, 166, 196, 0.1);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.hero-side-card {
    padding: 18px;
}

.hero-mini-card {
    padding: 14px;
}

.hero-big-number,
.metric-value {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.hero-kicker,
.metric-label,
.meta-label,
.data-table th {
    color: #8ea0bc;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.hero-note,
.inline-meta,
.section-head p {
    color: var(--muted);
    font-size: 0.88rem;
}

.hero-list-row {
    padding: 10px 12px;
    border-radius: 14px;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.metric-card {
    padding: 16px 16px 14px;
    min-height: 108px;
    border-color: rgba(148, 166, 196, 0.12);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.metric-trend {
    margin-top: 6px;
    color: #7aa8ff;
    font-size: 0.8rem;
}

.split-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.82fr);
    gap: 14px;
}

.soft-card {
    padding: 18px;
}

.section-head {
    margin-bottom: 14px;
}

.section-head h2 {
    margin-bottom: 4px;
    font-size: 1.6rem;
}

.stack-list {
    gap: 10px;
}

.stack-item {
    padding: 14px;
    border-color: rgba(148, 166, 196, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.cards-grid,
.api-grid,
.plans-comparison {
    gap: 12px;
}

.cards-grid,
.api-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.plans-comparison {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-card,
.api-card {
    border-radius: 20px;
}

.plan-card {
    padding: 18px;
}

.plan-name,
.api-name {
    font-size: 1.08rem;
}

.plan-price {
    font-size: 1.9rem;
    font-weight: 900;
}

.form-control,
.input-field,
select,
textarea {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 14px;
}

textarea {
    min-height: 86px;
}

.copy-field {
    min-height: 78px;
}

.compact-banner {
    border-radius: 18px;
    padding: 12px 14px;
}

.table-shell {
    border-color: rgba(148, 166, 196, 0.1);
}

.data-table td {
    font-size: 0.88rem;
}

.status-pill.success {
    background: rgba(98, 215, 166, 0.12);
    color: #8ae4bb;
    border-color: rgba(98, 215, 166, 0.16);
}

.status-pill.warning {
    background: rgba(255, 190, 100, 0.12);
    color: #ffcf8c;
    border-color: rgba(255, 190, 100, 0.18);
}

.status-pill.danger {
    background: rgba(255, 109, 109, 0.1);
    color: #ffabab;
    border-color: rgba(255, 109, 109, 0.18);
}

.status-pill.muted {
    background: rgba(148, 166, 196, 0.08);
    color: #b0bdd0;
    border-color: rgba(148, 166, 196, 0.14);
}

@media (max-width: 1480px) {
    body.has-app-sidebar {
        padding-left: 0;
    }

    .app-sidebar {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
    }

    body.shell-open .app-sidebar {
        transform: translateX(0);
    }

    body.shell-open .shell-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .shell-toggle {
        display: inline-flex;
    }

    .workspace-topbar {
        padding-left: 52px;
    }
}

@media (max-width: 1200px) {
    .hero-panel,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        padding: 0 18px 18px;
    }

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

@media (max-width: 768px) {
    .container,
    .admin-container,
    .dashboard-container,
    .main-container {
        width: calc(100% - 16px);
    }

    .workspace-topbar {
        padding-left: 50px;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-copy {
        padding: 20px 18px 10px;
    }

    .hero-copy h1 {
        font-size: 1.95rem;
    }

    .hero-side {
        padding: 0 18px 18px;
    }

    .metric-grid,
    .cards-grid,
    .plans-comparison,
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .soft-card,
    .metric-card,
    .payment-modal-card {
        padding: 16px;
    }
}

/* Compact V3 */
body.has-app-sidebar {
    padding-left: 220px;
}

.container,
.admin-container,
.dashboard-container,
.main-container {
    width: calc(100% - 20px);
}

.app-sidebar {
    width: 208px;
    padding: 12px 9px 10px;
}

.app-nav-link {
    min-height: 40px;
    padding: 9px 11px;
}

.workspace-topbar h1 {
    font-size: 1.72rem;
}

.workspace-topbar p {
    margin-top: 4px;
    font-size: 0.88rem;
}

.workspace-chip {
    min-height: 31px;
    padding: 6px 11px;
}

.workspace-avatar {
    width: 30px;
    height: 30px;
}

.hero-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
    min-height: 220px;
}

.hero-copy {
    padding: 20px 22px 16px;
}

.hero-copy h1 {
    max-width: 620px;
    font-size: clamp(1.7rem, 2.5vw, 2.85rem);
}

.hero-copy p {
    max-width: 580px;
    font-size: 0.89rem;
}

.hero-side {
    padding: 16px 16px 16px 0;
}

.hero-side-card {
    padding: 15px;
}

.hero-mini-card {
    padding: 12px;
}

.hero-big-number,
.metric-value {
    font-size: clamp(1.32rem, 1.7vw, 1.78rem);
}

.hero-note,
.inline-meta,
.section-head p {
    font-size: 0.84rem;
}

.hero-list-row {
    padding: 8px 10px;
}

.metric-grid {
    gap: 10px;
}

.metric-card {
    min-height: 94px;
    padding: 14px 14px 12px;
}

.split-grid {
    grid-template-columns: minmax(0, 1.48fr) minmax(280px, 0.8fr);
    gap: 12px;
}

.soft-card {
    padding: 16px;
}

.section-head h2 {
    font-size: 1.42rem;
}

.stack-item {
    padding: 12px;
}

.cards-grid,
.api-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.plans-comparison {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.plan-card {
    padding: 16px;
}

.plan-name,
.api-name {
    font-size: 1rem;
}

.plan-price {
    font-size: 1.65rem;
}

.form-control,
.input-field,
select,
textarea {
    min-height: 38px;
    padding: 9px 11px;
}

textarea {
    min-height: 78px;
}

.copy-field {
    min-height: 70px;
}

body.theme-user .workspace-chip.hot,
body.theme-user .sidebar-spotlight-label,
body.theme-user .eyebrow {
    color: #65f3d6;
}

body.theme-user .eyebrow,
body.theme-user .sidebar-spotlight,
body.theme-user .workspace-chip.hot {
    border-color: rgba(46, 212, 182, 0.22);
    background: rgba(46, 212, 182, 0.08);
}

body.theme-user .app-nav-link.active {
    background: linear-gradient(135deg, rgba(46, 212, 182, 0.2), rgba(39, 163, 255, 0.12));
    box-shadow: inset 3px 0 0 #2ed4b6;
}

body.theme-user .app-nav-link.active .app-nav-icon {
    background: rgba(46, 212, 182, 0.18);
    color: #9ff6e7;
}

body.theme-user .sidebar-badge,
body.theme-user .workspace-avatar,
body.theme-user .btn-primary,
body.theme-user button.btn-primary {
    background: linear-gradient(135deg, #2ed4b6 0%, #30a6ff 100%);
    color: #04131c;
}

body.theme-user .metric-trend {
    color: #6fdccd;
}

@media (max-width: 1480px) {
    body.has-app-sidebar {
        padding-left: 0;
    }
}

@media (max-width: 1200px) {
    .hero-panel,
    .split-grid {
        grid-template-columns: 1fr;
    }

    .hero-side {
        padding: 0 16px 16px;
    }
}

@media (max-width: 768px) {
    .container,
    .admin-container,
    .dashboard-container,
    .main-container {
        width: calc(100% - 14px);
    }

    .hero-copy {
        padding: 18px 16px 10px;
    }

    .hero-copy h1 {
        font-size: 1.82rem;
    }
}

/* Green V4 */
.app-nav-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.app-nav-link:hover {
    border-color: rgba(33, 208, 122, 0.16);
    background: rgba(33, 208, 122, 0.05);
}

.app-nav-link.active {
    background: linear-gradient(135deg, rgba(33, 208, 122, 0.18), rgba(33, 208, 122, 0.06));
    box-shadow: inset 3px 0 0 #21d07a;
}

.app-nav-link.active .app-nav-icon {
    background: rgba(33, 208, 122, 0.18);
    color: #c6ffe4;
}

.sidebar-badge,
.sidebar-badge-admin,
.workspace-avatar,
.btn-primary,
button.btn-primary,
input[type='submit'] {
    background: linear-gradient(135deg, #21d07a 0%, #16b862 100%);
    color: #04110a;
}

.sidebar-badge-admin,
.sidebar-badge {
    border-color: rgba(33, 208, 122, 0.22);
    color: #d9fff0;
}

.workspace-chip.hot,
.sidebar-spotlight-label,
.eyebrow {
    color: #73f2b2;
}

.eyebrow,
.sidebar-spotlight,
.sidebar-spotlight-admin,
.workspace-chip.hot {
    border-color: rgba(33, 208, 122, 0.2);
    background: rgba(33, 208, 122, 0.08);
}

.metric-trend {
    color: #73f2b2;
}

.hero-panel,
.soft-card,
.metric-card,
.stack-item,
.table-shell,
.payment-modal-card {
    background: linear-gradient(180deg, rgba(16, 24, 20, 0.96), rgba(8, 12, 10, 0.96));
}

body.theme-user {
    background:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 14% 10%, rgba(33, 208, 122, 0.14), transparent 28rem),
        linear-gradient(180deg, #040806 0%, #07100b 50%, #040705 100%);
    background-size: 38px 38px, 38px 38px, auto, auto;
}

body.theme-user::before {
    background: linear-gradient(180deg, rgba(33, 208, 122, 0.06), transparent 28%, rgba(33, 208, 122, 0.03));
}

body.theme-user .app-sidebar,
body.theme-user .hero-panel,
body.theme-user .soft-card,
body.theme-user .metric-card,
body.theme-user .stack-item,
body.theme-user .table-shell,
body.theme-user .payment-modal-card {
    background: linear-gradient(180deg, rgba(14, 22, 18, 0.96), rgba(6, 10, 8, 0.97));
}

body.theme-user .app-nav-link.active {
    background: linear-gradient(135deg, rgba(33, 208, 122, 0.18), rgba(15, 126, 82, 0.12));
    box-shadow: inset 3px 0 0 #21d07a;
}

body.theme-user .app-nav-link.active .app-nav-icon {
    background: rgba(33, 208, 122, 0.18);
    color: #c9ffe5;
}

body.theme-user .sidebar-badge,
body.theme-user .workspace-avatar,
body.theme-user .btn-primary,
body.theme-user button.btn-primary,
body.theme-user input[type='submit'] {
    background: linear-gradient(135deg, #21d07a 0%, #16b862 100%);
    color: #04110a;
}

body.theme-user .workspace-chip.hot,
body.theme-user .sidebar-spotlight-label,
body.theme-user .eyebrow,
body.theme-user .metric-trend {
    color: #73f2b2;
}

/* Mobile Menu + Global Support */
.shell-toggle {
    background: rgba(6, 12, 9, 0.98);
    border-color: rgba(33, 208, 122, 0.22);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.shell-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #f4fbf7;
}

.support-fab-group {
    position: fixed;
    right: 26px;
    bottom: 20px;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-fab {
    display: inline-grid;
    place-items: center;
    align-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 999px;
    text-decoration: none;
    color: #f4fbf7;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.support-fab:hover {
    transform: translateY(-2px) scale(1.04);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.support-fab-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.support-fab-icon-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.support-fab-whatsapp {
    color: #4CAF50;
}

.support-fab-whatsapp:hover {
    filter: drop-shadow(0 12px 18px rgba(76, 175, 80, 0.22));
}

.support-fab-telegram {
    color: #2AABEE;
}

.support-fab-telegram:hover {
    filter: drop-shadow(0 12px 18px rgba(42, 171, 238, 0.2));
}

@media (max-width: 768px) {
    .shell-toggle {
        top: 12px;
        left: 12px;
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .support-fab-group {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .support-fab {
        width: 48px;
        height: 48px;
    }

    .support-fab-icon {
        width: 46px;
        height: 46px;
    }
}
