:root {
    --pulse-green: #2ecc71;
    --pulse-blue: #3498db;
    --pulse-yellow: #f1c40f;
    --pulse-red: #e74c3c;
    --pulse-purple: #9b59b6;
    
    /* Corporate Identity Tiers */
    --tier-free: #7f8c8d;
    --tier-basic: #f1c40f;
    --tier-premium: #6d8ad0;
    --tier-ultra: #9b59b6;
    
    --bg-dark: #0a0e14;
    --bg-sidebar: rgba(13, 17, 23, 0.95);
    --bg-card: rgba(22, 27, 34, 0.7);
    --border-glow: rgba(52, 152, 219, 0.3);
    --border-soft: rgba(255, 255, 255, 0.1);
    
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-accent: #58a6ff;
    --font-display: 'Outfit', sans-serif;
    
    --glow-blue: 0 0 15px rgba(52, 152, 219, 0.4);
    --glow-green: 0 0 15px rgba(46, 204, 113, 0.4);
    
    --header-h: 69px;
    --sidebar-width: 320px;
    --sidebar-collapsed: 70px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    
    --shadow-main: 0 10px 40px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(46, 204, 113, 0.08) 0%, transparent 40%),
        url("https://www.transparenttextures.com/patterns/dark-matter.png");
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pulse-blue);
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
}

/* Header Redesign */
.glass-header {
    background: rgba(10, 14, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    padding: 0 1.5rem;
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-right {
    display: flex;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo .emoji {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 10px var(--pulse-blue));
}

.logo h1 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--pulse-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    transition: var(--transition);
    min-height: calc(100vh - var(--header-h));
}

.main-layout.sidebar-collapsed {
    grid-template-columns: var(--sidebar-collapsed) 1fr;
}

body.sidebar-collapsed #nav-target-header,
body.sidebar-collapsed .header-right {
    display: none;
}

/* Sidebar Styling */
/* Modernized Sidebar Styling */
.sidebar {
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: var(--header-h);
    z-index: 90;
    overflow: hidden;
    transition: var(--transition);
}

/* V-33: Sidebar icon nav for collapsed state */
.sidebar-icons {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 1rem 0;
}

.sidebar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.15rem;
    text-decoration: none;
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
    cursor: pointer;
}

.sidebar-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.sidebar-icon-btn.active {
    background: rgba(109, 138, 208, 0.2);
    color: var(--pulse-blue);
    box-shadow: 0 0 0 1px rgba(109, 138, 208, 0.35);
}

.main-layout.sidebar-collapsed .sidebar-icons {
    display: flex;
}

.main-layout.sidebar-collapsed .sidebar-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}

.sidebar-content {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.25s;
}

.glass-card {
    background: rgba(22, 27, 34, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    background: rgba(22, 27, 34, 0.6);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
}

.glass-card.accent-red::before { background: var(--pulse-red); box-shadow: 0 0 10px var(--pulse-red); }
.glass-card.accent-blue::before { background: var(--pulse-blue); box-shadow: 0 0 10px var(--pulse-blue); }
.glass-card.accent-green::before { background: var(--pulse-green); box-shadow: 0 0 10px var(--pulse-green); }

.sidebar-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

.stat-row-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
}

.stat-label-modern {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-value-modern {
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', monospace;
}

/* Header Navigation Pills — definition moved below */

/* Sidebar Action Buttons */
.btn-sidebar {
    background: var(--pulse-blue);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: #46a3e6;
}

.btn-sidebar-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.btn-sidebar-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Specific Sidebar Button Colors */
.btn-help {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: var(--pulse-yellow);
}

.btn-help:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--pulse-yellow);
    color: #fff;
}

.btn-reset {
    background: rgba(255, 58, 41, 0.1);
    border: 1px solid rgba(255, 58, 41, 0.3);
    color: var(--pulse-red);
}

.btn-reset:hover {
    background: rgba(255, 58, 41, 0.2);
    border-color: var(--pulse-red);
    color: #fff;
}

.sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Tab Navigation - Modern Segmented Control */
.panel-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    height: 44px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition), border-bottom 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-bottom: 2px solid rgba(109, 138, 208, 0.4);
}

.tab-btn.active {
    background: var(--pulse-blue);
    color: #fff;
    box-shadow: var(--glow-blue);
    position: relative;
}

/* V-36: White dot indicator under active tab label */
.tab-btn.active::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--pulse-blue);
    border-radius: 10px;
    box-shadow: var(--glow-blue);
}

/* Main Panel Area */
.panel {
    padding: 2.5rem;
    background: transparent;
}

.tip-icon {
    font-size: 0.85rem;
    color: var(--pulse-blue);
    cursor: help;
    margin-left: 4px;
    opacity: 0.8;
    transition: var(--transition);
    display: inline-block;
    vertical-align: middle;
}

.tip-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Cards & Content */
.card {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    z-index: 200;
    border-color: rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    background: rgba(22, 27, 34, 0.75);
}

.glass-panel {
    background: rgba(13, 17, 23, 0.4);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 100;
}


.nested-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(6px);
    padding: 12px;
}

/* --- COMPARATIVE METRICS ROW --- */
.metrics-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.metrics-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.metrics-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.metrics-item .label {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.metrics-item .val {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

h2, h3, h4 {
    color: #fff;
}

/* Inputs & Form Elements */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

input[type="number"], input[type="text"], select {
    width: 100%;
    height: 42px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 0 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    color-scheme: dark;
}

option {
    background: #1e1e2e;
    color: #e8e8f0;
}

input:focus, select:focus {
    border-color: var(--pulse-blue);
    background: rgba(52, 152, 219, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--pulse-blue);
    color: #fff !important;
    border-color: var(--pulse-blue);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary) !important;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-random {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-random:hover {
    background: var(--pulse-blue);
    color: #fff;
}

.btn-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.btn-icon:hover {
    background: var(--pulse-blue);
    color: #fff;
    border-color: var(--pulse-blue);
}

/* Preset Buttons (Scenario Lab) */
.btn-preset {
    font-size: 0.6rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-preset:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.btn-preset.active {
    background: rgba(109, 138, 208, 0.2);
    border-color: var(--pulse-blue);
    color: #fff;
}

.btn-preset.purple {
    border-color: rgba(155, 89, 182, 0.4);
    color: var(--pulse-purple);
    background: rgba(155, 89, 182, 0.05);
}

.btn-preset.green {
    border-color: rgba(46, 204, 113, 0.4);
    color: var(--pulse-green);
    background: rgba(46, 204, 113, 0.05);
}

.btn-preset.blue {
    border-color: rgba(52, 152, 219, 0.4);
    color: var(--pulse-blue);
    background: rgba(52, 152, 219, 0.05);
}

.btn-preset.cyan {
    border-color: rgba(0, 234, 255, 0.4);
    color: #00eaff;
    background: rgba(0, 234, 255, 0.05);
}

.btn-preset.red {
    border-color: rgba(231, 76, 60, 0.4);
    color: var(--pulse-red);
    background: rgba(231, 76, 60, 0.05);
}

.btn-preset.yellow {
    border-color: rgba(241, 196, 15, 0.4);
    color: var(--pulse-yellow);
    background: rgba(241, 196, 15, 0.05);
}

.btn-preset:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* Scenario Lab Layout */
.preset-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    min-width: 180px;
}

.preset-group-title {
    font-size: 0.55rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* Card Header Flex — used across all pages */
.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Section label utility */
.section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* Display font utility (Outfit for hero numbers) */
.num-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
}

/* Highlight utilities */
.highlight-red   { color: var(--pulse-red) !important; }
.highlight-green { color: var(--pulse-green) !important; }
.highlight-blue  { color: var(--pulse-blue) !important; }
.highlight-yellow { color: var(--pulse-yellow) !important; }

/* Tier input rows with colored accents */
.tier-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.75rem;
}

.tier-input-row label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
}

.tier-input-row input {
    width: 140px;
    flex-shrink: 0;
}

/* Creator banner */
.creator-banner {
    background: rgba(52, 152, 219, 0.04);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
}

/* Stacked tier distribution mini-bar */
.tier-mini-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    margin: 0.5rem 0 1rem;
}

.tier-mini-bar .seg-free    { background: var(--tier-free);    opacity: 0.8; }
.tier-mini-bar .seg-basic   { background: var(--tier-basic);   }
.tier-mini-bar .seg-premium { background: var(--tier-premium); }
.tier-mini-bar .seg-ultra   { background: var(--tier-ultra);   }

/* Stats section inside cards */
.card-stats {
    border-top: 1px dashed rgba(255,255,255,0.07);
    margin-top: 1rem;
    padding-top: 0.75rem;
    font-size: 0.82rem;
}

/* Accent border variants */
.card-accent-blue   { border-left: 3px solid var(--pulse-blue); }
.card-accent-green  { border-left: 3px solid var(--pulse-green); }
.card-accent-yellow { border-left: 3px solid var(--pulse-yellow); }
.card-accent-red    { border-left: 3px solid var(--pulse-red); }

/* Switch (toggle) */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}

.switch input { opacity: 0; width: 0; height: 0; }

.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255,255,255,0.1);
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.15);
}

.switch .slider.round { border-radius: 24px; }

.switch .slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
    background: var(--text-secondary);
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background: rgba(46, 204, 113, 0.25);
    border-color: var(--pulse-green);
}

.switch input:checked + .slider::before {
    background: var(--pulse-green);
    transform: translateX(18px);
}

/* Number format input */
.num-fmt {
    font-family: var(--font-display), 'Inter', sans-serif;
    font-weight: 700;
}

/* Result Metrics */
.results-panel {
    background: linear-gradient(165deg, rgba(52, 152, 219, 0.08), transparent);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.metric-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

/* Table Design */
.pulse-table {
    width: 100%;
    margin-top: 1.5rem;
}

.pulse-table th {
    text-align: left;
    color: var(--text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 2px solid var(--border-soft);
}

.pulse-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-soft);
    color: #fff;
}

/* Sidebar Stat Row */
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-row span:last-child {
    color: #fff;
    font-weight: 600;
}

.font-mono { font-family: 'SFMono-Regular', Consolas, monospace; }

/* Animation */
@keyframes slideIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.tab-content.active {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.dashboard-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.nested-card {
    background: rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    padding: 1.25rem !important;
}

.panel-section {
    position: relative;
    padding: 0 1rem;
    border-left: 2px solid var(--tier-accent, rgba(255, 255, 255, 0.03));
    transition: var(--transition);
}

.panel-section:first-child {
    border-left: none;
    padding-left: 0;
}

.panel-section:hover {
    z-index: 200;
    background: rgba(255, 255, 255, 0.01);
}

.panel-section h3 {
    margin: 0 0 15px 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tier-Based Accent Colors for Config Grid */
.config-grid.tier-free { --tier-accent: #7f8c8d; }
.config-grid.tier-basic { --tier-accent: var(--tier-basic); }
.config-grid.tier-premium { --tier-accent: var(--pulse-blue); }
.config-grid.tier-ultra { --tier-accent: var(--pulse-purple); }

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(109, 138, 208, 0.25);
    outline: none;
    cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pulse-blue);
    cursor: grab;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.5);
    transition: transform 0.15s, box-shadow 0.15s;
}

.range-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--pulse-blue);
    cursor: grab;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 6px rgba(52, 152, 219, 0.5);
}

.mt-10 { margin-top: 10px; }

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

@media (max-width: 800px) {
    .config-grid {
        grid-template-columns: 1fr;
    }
}

/* Tooltips & Info-Icons */
.tooltip-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(109, 138, 208, 0.2);
    border: 1px solid rgba(109, 138, 208, 0.3);
    border-radius: 50%;
    color: var(--pulse-blue);
    font-size: 0.7rem;
    font-weight: 400;
    font-family: serif;
    font-style: italic;
    cursor: help;
    transition: var(--transition);
    vertical-align: middle;
    margin-left: 6px;
}

.tooltip-icon:hover {
    z-index: 9999;
    background: var(--pulse-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}

.tooltip-icon .tooltiptext {
    visibility: hidden;
    width: 280px;
    background: #0d1117;
    color: #e8eaf0;
    text-align: left;
    border: 1px solid rgba(109, 138, 208, 0.5);
    border-radius: 10px;
    padding: 14px;
    position: absolute;
    z-index: 9999;
    top: 130%;
    left: 50%;
    margin-left: -140px;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.8);
    pointer-events: none;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    font-size: 0.8rem;
}

.tooltip-icon .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(109, 138, 208, 0.5) transparent;
}

.tooltip-icon:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* V-34: Tooltip position variants for edge elements */
.tooltip-icon.tooltip-right .tooltiptext {
    left: 0;
    margin-left: 0;
}
.tooltip-icon.tooltip-right .tooltiptext::after {
    left: 15px;
}
.tooltip-icon.tooltip-left .tooltiptext {
    left: auto;
    right: 0;
    margin-left: 0;
}
.tooltip-icon.tooltip-left .tooltiptext::after {
    left: auto;
    right: 15px;
}

/* Specific help color for warnings/danger */
.tooltip-icon.warning {
    color: var(--pulse-yellow);
    background: rgba(241, 196, 15, 0.1);
    border-color: rgba(241, 196, 15, 0.3);
}

.tooltip-icon.warning:hover {
    background: var(--pulse-yellow);
    color: var(--bg-dark);
}

/* Responsive */
@media (max-width: 1200px) {
    .dashboard-2-cols {
        grid-template-columns: 1fr;
    }
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
}

/* --- BOOST ITEM REDESIGN --- */

.boost-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.item-slot {
    position: relative;
    overflow: visible;
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.item-slot:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.item-slot label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-slot input {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    height: auto !important;
    margin-top: 2px;
}

/* Number-Inputs ohne native Pfeil-Spinner — projektweit, nicht nur in .item-slot.
   Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Specific Glows */
.item-slot.star { border-color: rgba(52, 152, 219, 0.3); }
.item-slot.star:hover { border-color: var(--pulse-blue); box-shadow: 0 0 15px rgba(52, 152, 219, 0.2); }
.item-slot.star input { color: var(--pulse-blue); }

.item-slot.spark { border-color: rgba(241, 196, 15, 0.3); }
.item-slot.spark:hover { border-color: var(--pulse-yellow); box-shadow: 0 0 15px rgba(241, 196, 15, 0.2); }
.item-slot.spark input { color: var(--pulse-yellow); }

.item-slot.vouch { border-color: rgba(46, 204, 113, 0.3); }
.item-slot.vouch:hover { border-color: var(--pulse-green); box-shadow: 0 0 15px rgba(46, 204, 113, 0.2); }
.item-slot.vouch input { color: var(--pulse-green); }

.item-slot.sticker { border-color: rgba(139, 148, 158, 0.3); }
.item-slot.sticker:hover { border-color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); }
.item-slot.sticker input { color: #fff; }

/* --- PULSE ENGINE REDESIGN --- */

.pulse-engine-container {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid rgba(109, 138, 208, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.engine-core {
    position: relative;
    padding: 24px;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
    text-align: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 20px;
}

.engine-score-large {
    font-size: 3.5rem;
    font-weight: 950;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #fff 30%, #58a6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    filter: drop-shadow(0 0 15px rgba(52, 152, 219, 0.3));
}

.engine-status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    background: rgba(109, 138, 208, 0.1);
    border: 1px solid rgba(109, 138, 208, 0.3);
    color: var(--pulse-blue);
}

/* Performance Meter (Viral-Gauge) */
.viral-meter {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.viral-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pulse-red) 0%, var(--pulse-yellow) 50%, var(--pulse-green) 100%);
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

/* Engagement Profile Tags */
.engagement-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.e-tag {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    transition: var(--transition);
    opacity: 0.4;
}

.e-tag.active {
    background: rgba(109, 138, 208, 0.15);
    border-color: var(--pulse-blue);
    color: #fff;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    opacity: 1;
}

.e-tag.high-quality {
    border-color: var(--pulse-green);
    color: var(--pulse-green);
    background: rgba(46, 204, 113, 0.05);
    opacity: 1;
}

.e-tag.low-performance {
    border-color: var(--pulse-red);
    color: var(--pulse-red);
    background: rgba(255, 58, 41, 0.05);
    opacity: 1;
}

.metric-strip {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    padding: 0 4px;
}

.ep-split-bar {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.split-clicks { background: var(--pulse-yellow); height: 100%; transition: width 0.5s ease; }
.split-dwell { background: var(--pulse-red); height: 100%; transition: width 0.5s ease; }
.split-items { background: var(--pulse-blue); height: 100%; transition: width 0.5s ease; box-shadow: 0 0 12px rgba(52, 152, 219, 0.3); }

/* Performance Dashboard Overhaul */
.perf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.perf-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, background 0.2s ease;
}

.perf-tile:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.perf-tile .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.perf-tile .value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.strategy-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
}

.strategy-card h4 {
    margin: 0 0 8px 0;
    font-size: 0.75rem;
    color: var(--pulse-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.strategy-card p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.p10-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(241, 196, 15, 0.15);
    color: var(--pulse-yellow);
    border: 1px solid rgba(241, 196, 15, 0.2);
}

/* QWE Hero Card & Factor Grid Refinement */
.qwe-hero-tile {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(13, 17, 23, 0.8));
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.qwe-hero-tile .label {
    font-size: 0.7rem;
    color: var(--pulse-green);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.qwe-hero-tile .main-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.qwe-hero-tile .sub-val {
    font-size: 1rem;
    color: var(--pulse-green);
    font-weight: 700;
    margin-top: 5px;
}

.factor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.factor-tile {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: 0.2s;
}

.factor-tile:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(109, 138, 208, 0.2);
}

.factor-tile .label {
    font-size: 0.5rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.factor-tile .value {
    font-size: 1.1rem;
    font-weight: 800;
}


/* --- LIFE TRAJECTORY STYLES --- */
.trajectory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.trajectory-node {
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px 6px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}

.trajectory-node:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.trajectory-node.ignition-glow {
    border-color: rgba(52, 152, 219, 0.4);
    background: rgba(52, 152, 219, 0.08);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
    animation: ignition-pulse 4s infinite ease-in-out;
}

@keyframes ignition-pulse {
    0% { box-shadow: 0 0 5px rgba(52, 152, 219, 0.2); }
    50% { box-shadow: 0 0 20px rgba(52, 152, 219, 0.4); border-color: rgba(52, 152, 219, 0.6); }
    100% { box-shadow: 0 0 5px rgba(52, 152, 219, 0.2); }
}

.trajectory-node .time {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.trajectory-node .val {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.trajectory-node .trend {
    font-size: 0.55rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 6px;
    letter-spacing: 0.5px;
    padding: 2px 0;
}

.trajectory-line-bg {
    height: 3px;
    background: rgba(255, 255, 255, 0.04);
    width: 68%;
    margin: -32px auto 20px auto;
    position: relative;
    z-index: 1;
    border-radius: 10px;
}

.trajectory-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pulse-blue), var(--pulse-green));
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.4);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

/* --- CONTENT CLASS SELECTOR --- */
.class-selector {
    display: flex;
    gap: 5px;
    background: rgba(0,0,0,0.4);
    padding: 3px;
    border-radius: 80px;
    border: 1px solid rgba(255,255,255,0.05);
}

.class-btn {
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    border: none;
    background: transparent;
}

.class-btn.active {
    background: var(--pulse-blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.class-btn:hover:not(.active) {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* --- BADGE SYSTEM --- */
.badge {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.5px;
}

.text-badge {
    background: rgba(46, 204, 113, 0.1);
    color: var(--pulse-green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.1);
}

.media-badge {
    background: rgba(52, 152, 219, 0.1);
    color: var(--pulse-blue);
    border: 1px solid rgba(52, 152, 219, 0.3);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.1);
}

.livestream-badge {
    background: rgba(231, 76, 60, 0.1);
    color: var(--pulse-red);
    border: 1px solid rgba(231, 76, 60, 0.3);
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.1);
}

.quick-badge {
    background: rgba(155, 89, 182, 0.1);
    color: var(--pulse-purple);
    border: 1px solid rgba(155, 89, 182, 0.3);
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.1);
}

.short-badge {
    background: rgba(241, 196, 15, 0.1);
    color: var(--pulse-yellow);
    border: 1px solid rgba(241, 196, 15, 0.3);
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.1);
}

.post-badge,
.quick-media-badge {
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

/* --- TIER DISTRIBUTION BAR --- */
.tier-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-segment {
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tier-segment.free { background: var(--tier-free); opacity: 0.7; }
.tier-segment.basic { background: var(--tier-basic); }
.tier-segment.premium { background: var(--tier-premium); }
.tier-segment.ultra { background: var(--tier-ultra); opacity: 0.9; }

/* --- CPM BADGE --- */
.badge-cpm {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 40px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--pulse-blue);
    border: 1px solid rgba(52, 152, 219, 0.3);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

/* --- PRESET SELECTOR --- */
.preset-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    padding: 4px 8px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.preset-select:hover {
    border-color: var(--pulse-blue);
    color: #fff;
}

/* --- ANIMATIONS --- */
@keyframes pulse-success {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.anim-success {
    animation: pulse-success 0.5s ease-out;
}

/* Portfolio Button spécifiques */
#btn-calc-rev:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    filter: brightness(1.1);
}

#btn-clear-arz:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: var(--pulse-red) !important;
    transform: translateY(-1px);
}

#btn-rand-single-reach:hover {
    background: rgba(52, 152, 219, 0.15) !important;
    border-color: var(--pulse-blue) !important;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
}




/* EngaPool — Pool-Card-Komponente */
.enga-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.25rem;
}

.pool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.pool-card:hover {
    transform: translateY(-2px);
    border-color: var(--pulse-blue);
}

.pool-card .pool-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pool-card .pool-val {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
}

.pool-card .pool-sub {
    font-size: 0.78rem;
    color: var(--pulse-blue);
    margin-top: 0.25rem;
}

.highlight-green { color: var(--pulse-green) !important; }
.highlight-blue  { color: #6d8ad0 !important; }

.btn-preset.active {
    background: var(--pulse-blue) !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
    opacity: 1 !important;
}

.btn-preset.active.red { background: var(--pulse-red) !important; box-shadow: 0 0 15px rgba(231, 76, 60, 0.5); }
.btn-preset.active.yellow { background: var(--pulse-yellow) !important; box-shadow: 0 0 15px rgba(241, 196, 15, 0.5); color: #000 !important; }
.btn-preset.active.purple { background: var(--pulse-purple) !important; box-shadow: 0 0 15px rgba(155, 89, 182, 0.5); }
.btn-preset.active.green { background: var(--pulse-green) !important; box-shadow: 0 0 15px rgba(46, 204, 113, 0.5); }
.btn-preset.active.cyan { background: #00eaff !important; box-shadow: 0 0 15px rgba(0, 234, 255, 0.5); color: #000 !important; }
