/* ============================================
   FLAMING IDLER - Main Stylesheet
   FlamingPanel-inspired Glass Dark Theme
   ============================================ */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables - FlamingPanel Theme */
:root {
    /* Background colors */
    --bg-primary: #0d0d0d;
    --bg-secondary: rgba(255, 255, 255, 0.03);
    --bg-tertiary: rgba(255, 255, 255, 0.05);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --bg-elevated: rgba(255, 255, 255, 0.06);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Accent colors - Flame theme */
    --fire-orange: #f97316;
    --fire-yellow: #fb923c;
    --fire-red: #ef4444;
    --fire-gradient: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --fire-glow: 0 0 20px rgba(249, 115, 22, 0.3);
    --fire-glow-strong: 0 0 30px rgba(249, 115, 22, 0.4), 0 0 60px rgba(249, 115, 22, 0.1);

    /* UI colors */
    --primary: #f97316;
    --primary-hover: #ea580c;
    --secondary: rgba(255, 255, 255, 0.06);
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --info: #3b82f6;

    /* Borders - glass style */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(249, 115, 22, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 4px 20px rgba(249, 115, 22, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand .brand-icon {
    display: flex;
    align-items: center;
    color: var(--primary);
}

.nav-brand .brand-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.nav-brand .brand-text {
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-brand .brand-text .brand-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User dropdown */
.user-menu {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem 0.4rem 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.user-trigger:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--fire-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    overflow: hidden;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-header .username {
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-header .email {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
}

.dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.25rem 0;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    min-height: calc(100vh - 60px);
    padding: 2rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 600px;
}

.container-md {
    max-width: 900px;
}

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

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    color: var(--text-secondary);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

/* ============================================
   GLASS CARDS
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    color: var(--text-secondary);
}

/* Stats cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-content .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-content .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--fire-glow);
    color: white;
}

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

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

.btn-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.form-error {
    color: var(--error);
}

/* Checkbox/Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* ============================================
   TABLES
   ============================================ */

.table-container {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

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

.table th,
.table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

/* ============================================
   FLASH MESSAGES
   ============================================ */

.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

.flash {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: slideIn 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.flash-warning {
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: var(--warning);
}

.flash-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0.7;
}

.flash-close:hover {
    opacity: 1;
}

/* ============================================
   ACCOUNT CARDS
   ============================================ */

.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition-normal);
}

.account-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.account-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.account-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.account-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

.account-info {
    flex: 1;
    min-width: 0;
}

.account-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-username {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.account-status {
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-offline {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.status-online {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.status-idling {
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary);
}

.status-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.account-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.account-stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.account-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

/* ============================================
   SESSION CARDS
   ============================================ */

.session-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.session-card.active {
    border-color: rgba(34, 197, 94, 0.2);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.session-title {
    font-size: 1rem;
    font-weight: 600;
}

.session-status {
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.session-status.running {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.session-status.paused {
    background: rgba(234, 179, 8, 0.15);
    color: var(--warning);
}

.session-status.stopped {
    background: rgba(107, 114, 128, 0.15);
    color: var(--text-muted);
}

.session-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.session-info-item {
    text-align: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.session-info-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.session-info-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
}

.badge-primary {
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-warning {
    background: rgba(234, 179, 8, 0.15);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.badge-admin {
    background: var(--fire-gradient);
    color: white;
}

/* ============================================
   PRICING CARDS
   ============================================ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
}

.pricing-card.popular {
    border-color: rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.03);
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fire-gradient);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

.pricing-features li.disabled {
    opacity: 0.4;
}

.pricing-features li.disabled::before {
    content: '✗';
    color: var(--error);
}

/* ============================================
   AUTH PAGES
   ============================================ */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-primary);
}

.auth-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   LANDING PAGE
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
    text-align: left;
}

.hero-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
}

.hero-feature:hover {
    border-color: var(--border-light);
}

.hero-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-feature-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   SCHEDULE STYLES
   ============================================ */

.schedule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition-normal);
}

.schedule-card:hover {
    border-color: var(--border-light);
}

.schedule-card.active {
    border-color: rgba(34, 197, 94, 0.2);
}

.schedule-days {
    display: flex;
    gap: 0.35rem;
    margin: 0.75rem 0;
}

.schedule-day {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.schedule-day.active {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.25);
    color: var(--primary);
}

/* ============================================
   INVENTORY / CARD TRACKING
   ============================================ */

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.inventory-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.inventory-item:hover {
    border-color: var(--border-light);
}

.inventory-item-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success);
}

/* ============================================
   SETTINGS / 2FA / WEBHOOKS
   ============================================ */

.settings-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.toggle-slider:before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

/* ============================================
   ADMIN STYLES
   ============================================ */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.admin-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-bar {
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
    height: 6px;
    overflow: hidden;
}

.progress-fill {
    background: var(--fire-gradient);
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* ============================================
   TIER INFO BAR
   ============================================ */

.tier-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tier-info strong {
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-menu {
        display: none;
    }

    .container {
        padding: 0 1rem;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
    }

    .tier-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .session-info {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-fire { color: var(--primary); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.hidden { display: none; }
.block { display: block; }

.w-full { width: 100%; }
/* ============================================================
   FLAMING IDLER - ECOSYSTEM STANDARDIZATION OVERRIDES
   File: /home/minikiller/flamingservices.com/idle/app/static/css/style.css
   ACTION: APPEND this entire block to the END of the existing style.css
   Maps idle's variable names to tracker-standard tokens
   ============================================================ */

/* --- Remap Variables to Tracker Standard --- */
:root {
    /* Map tracker tokens as aliases */
    --accent: var(--fire-orange, #f97316);
    --accent-hover: var(--fire-yellow, #fb923c);
    --accent-gradient: var(--fire-gradient, linear-gradient(135deg, #f97316 0%, #ef4444 100%));
    --accent-muted: rgba(249, 115, 22, 0.10);
    --accent-glow: rgba(249, 115, 22, 0.12);
    --ember-glow: rgba(249, 115, 22, 0.30);
    --shadow-flame: 0 0 20px rgba(249, 115, 22, 0.3);
}

/* --- Navbar Override (match tracker's unified nav) --- */
.navbar {
    background: rgba(255,255,255,0.02) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    padding: 0 !important;
    height: 58px;
}

.nav-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    height: 58px !important;
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.nav-brand, .navbar .nav-brand {
    font-family: 'Poppins', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: #fff !important;
    gap: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
}

.brand-icon {
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.brand-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke: #f97316 !important;
}

.brand-text {
    font-family: 'Poppins', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.brand-highlight {
    color: #f97316 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #f97316 !important;
}

.nav-menu {
    display: flex !important;
    align-items: center !important;
    gap: 0.125rem !important;
    flex: 1 !important;
}

.navbar .nav-link, .nav-menu .nav-link {
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    background: transparent !important;
}

.navbar .nav-link:hover {
    color: #d1d5db !important;
    background: rgba(255,255,255,0.05) !important;
}

.navbar .nav-link.active {
    color: #f97316 !important;
    background: rgba(249,115,22,0.1) !important;
}

.nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

/* User avatar in nav */
.user-avatar {
    width: 28px !important;
    height: 28px !important;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
    font-weight: 500 !important;
    font-size: 0.75rem !important;
    box-shadow: none !important;
}

/* --- Add Poppins & JetBrains Mono support --- */
/* 
Add to the <head> of base.html:
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
*/

/* Hero highlight (landing page) */
.highlight, .hero .highlight {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Mobile nav override */
@media (max-width: 768px) {
    .nav-container { padding: 0 0.75rem !important; height: 46px !important; }
    .navbar { height: 46px !important; }
    .nav-menu { display: none !important; }
}
/* =====================================================
   Flaming Idler → FlamingTracker Navbar Alignment
   APPEND to: idle/app/static/css/style.css
   
   Fixes:
   1. Brand font: add Poppins, weight 800, size 1.25rem
   2. Nav container: max-width 1280px, fixed 64px height  
   3. Nav link font-size: 0.9rem → 0.85rem
   4. Brand highlight color for "Idler" part
   5. Landing navbar transparency fix
   ===================================================== */

/* --- Brand text: match tracker Poppins 800 1.25rem --- */
.nav-brand {
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
}

.nav-brand .brand-text {
    font-family: 'Poppins', system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

/* "Idler" part should be orange (requires HTML change too) */
.nav-brand .brand-text .brand-highlight {
    color: #f97316 !important;
}

/* --- Nav container: match tracker 1280px + 64px height --- */
.nav-container {
    max-width: 1280px !important;
    padding: 0 1.5rem !important;
    height: 64px !important;
}

/* --- Nav links: match tracker 0.85rem + color --- */
.nav-link {
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 0.4rem 0.85rem !important;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link.active {
    color: #f97316 !important;
}

/* --- Navbar glass: match tracker exact values --- */
.navbar {
    background: rgba(13, 13, 13, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* --- Login ghost button: match tracker (no border) --- */
.nav-actions .btn-ghost {
    color: rgba(255, 255, 255, 0.5) !important;
    background: transparent !important;
    border: none !important;
}

.nav-actions .btn-ghost:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* --- Get Started button: match tracker gradient + glow --- */
.nav-actions .btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3) !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
}

.nav-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.4) !important;
}

/* --- Hero title font: ensure Poppins --- */
.hero-title {
    font-family: 'Poppins', system-ui, sans-serif !important;
}

/* --- Add Poppins import if not already present --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&display=swap');
