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

:root {
    --spotify-green: #1DB954;
    --spotify-green-hover: #1ed760;
    --spotify-black: #191414;
    --spotify-dark: #121212;
    --spotify-gray: #282828;
    --spotify-light-gray: #b3b3b3;
    --spotify-hover: #333333;
    --white: #ffffff;
    --card-bg: #181818;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.2s ease;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #1a1a2e 0%, var(--spotify-dark) 100%);
    background-attachment: fixed;
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--spotify-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--spotify-light-gray);
}

/* Navbar */
.navbar {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--spotify-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--spotify-light-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--spotify-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert::before {
    font-size: 1.2rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15), rgba(29, 185, 84, 0.05));
    border: 1px solid rgba(29, 185, 84, 0.3);
    color: var(--spotify-green);
}

.alert-success::before {
    content: '✓';
}

.alert-danger {
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.15), rgba(255, 59, 48, 0.05));
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff6b6b;
}

.alert-danger::before {
    content: '✕';
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 159, 10, 0.15), rgba(255, 159, 10, 0.05));
    border: 1px solid rgba(255, 159, 10, 0.3);
    color: #ffb347;
}

.alert-warning::before {
    content: '⚠';
}

.alert-info {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.15), rgba(10, 132, 255, 0.05));
    border: 1px solid rgba(10, 132, 255, 0.3);
    color: #5dade2;
}

.alert-info::before {
    content: 'ℹ';
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2.5rem;
    background: linear-gradient(145deg, var(--spotify-gray), var(--card-bg));
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-container h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
}

.auth-container h1::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--spotify-green);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--spotify-light-gray);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    background-color: var(--spotify-dark);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b3b3b3' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background-color: var(--spotify-dark);
    color: var(--white);
    padding: 0.5rem;
}

.form-group input::placeholder {
    color: var(--spotify-light-gray);
}

.form-group input:hover,
.form-group select:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--spotify-green);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.2);
}

/* Checkbox styling */
.checkbox-group {
    flex-direction: row !important;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--spotify-light-gray);
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--spotify-green);
    cursor: pointer;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 500px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--spotify-green);
    color: var(--spotify-black);
}

.btn-primary:hover {
    background: var(--spotify-green-hover);
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--spotify-light-gray);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: scale(1.04);
}

.btn-danger {
    background: #e74c3c;
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
    transform: scale(1.04);
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.btn-warning {
    background: #f39c12;
    color: var(--spotify-black);
}

.btn-warning:hover {
    background: #d68910;
    transform: scale(1.04);
}

.btn-success {
    background: var(--spotify-green);
    color: var(--spotify-black);
}

.btn-success:hover {
    background: var(--spotify-green-hover);
    transform: scale(1.04);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.btn-tiny {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 4px;
    letter-spacing: 0;
    text-transform: none;
}

.auth-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.auth-links a {
    color: var(--spotify-light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--spotify-green);
}

/* Dashboard */
.dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.dashboard h1::first-letter {
    color: var(--spotify-green);
}

.section {
    background: linear-gradient(145deg, var(--spotify-gray), var(--card-bg));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin-bottom: 0;
}

.section h2 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

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

.session-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--spotify-green);
    transform: scaleX(0);
    transition: var(--transition);
}

.session-card:hover {
    transform: translateY(-4px);
    border-color: rgba(29, 185, 84, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.session-card:hover::before {
    transform: scaleX(1);
}

.session-card.inactive {
    opacity: 0.7;
}

.session-card.inactive::before {
    background: var(--spotify-light-gray);
}

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

.session-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.session-card p {
    color: var(--spotify-light-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.session-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.session-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
}

/* Badges */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 500px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active {
    background: rgba(29, 185, 84, 0.2);
    color: var(--spotify-green);
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.badge-inactive {
    background: rgba(179, 179, 179, 0.2);
    color: var(--spotify-light-gray);
    border: 1px solid rgba(179, 179, 179, 0.3);
}

.badge-success {
    background: rgba(29, 185, 84, 0.2);
    color: var(--spotify-green);
}

.badge-danger {
    background: rgba(255, 59, 48, 0.2);
    color: #ff6b6b;
}

.badge-warning {
    background: rgba(255, 159, 10, 0.2);
    color: #ffb347;
}

.badge-star {
    background: rgba(255, 214, 10, 0.2);
    color: #ffd60a;
}

.badge-host {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 165, 0, 0.2));
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

/* Control Panel */
.control-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.panel-header {
    background: linear-gradient(135deg, var(--spotify-gray), var(--card-bg));
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-header h1 {
    color: var(--white);
    font-size: 1.75rem;
}

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

.session-code {
    background: var(--spotify-dark);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    color: var(--spotify-light-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.session-code strong {
    color: var(--spotify-green);
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.panel-section {
    background: linear-gradient(145deg, var(--spotify-gray), var(--card-bg));
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-section h2 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.queue-list,
.history-list,
.stats-list,
.timeout-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.queue-item,
.history-item,
.stat-item,
.timeout-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.queue-item:hover,
.history-item:hover,
.stat-item:hover {
    background: var(--spotify-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.song-info,
.stat-header,
.stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.song-info strong,
.stat-header strong {
    color: var(--white);
    font-weight: 600;
}

.song-info span,
.stat-details span {
    color: var(--spotify-light-gray);
    font-size: 0.875rem;
}

.song-info small {
    color: var(--spotify-light-gray);
    font-size: 0.8rem;
    opacity: 0.8;
}

.history-item.skipped {
    opacity: 0.6;
    border-left: 3px solid #e74c3c;
}

.stat-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.qr-code-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.qr-code-container img {
    max-width: 180px;
    border-radius: 4px;
}

.qr-code-container p {
    color: var(--spotify-black);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Settings Page */
.settings-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-page h1 {
    color: var(--white);
    font-size: 2rem;
}

.settings-section {
    background: linear-gradient(145deg, var(--spotify-gray), var(--card-bg));
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-section h2 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

/* Loading States */
.loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--spotify-light-gray);
    padding: 1rem;
}

.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--spotify-gray);
    border-top-color: var(--spotify-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Error States */
.error-message {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error-message::before {
    content: '⚠';
    font-size: 1.2rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--spotify-light-gray);
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .panel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .dashboard h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .session-actions {
        flex-direction: column;
    }
    
    .session-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   🔥 FLAMING PANEL UNIFIED OVERRIDE
   Appended to original app CSS to achieve visual consistency
   across all Flaming Panel ecosystem apps.
   ============================================================ */

/* --- Variable overrides: remove purple tints, unify palette --- */
:root {
    --bg-primary: #0d0d0d !important;
    --bg-secondary: #111111 !important;
    --bg-tertiary: #161616 !important;
    --bg-card: rgba(255,255,255,0.03) !important;
    --fire-orange: #f97316 !important;
    --fire-yellow: #fb923c !important;
    --fire-red: #ef4444 !important;
    --fire-gradient: linear-gradient(135deg, #f97316, #ef4444) !important;
    --fire-glow: 0 0 20px rgba(249,115,22,0.3) !important;
    --primary: #f97316 !important;
    --primary-hover: #ea580c !important;
    --secondary: #111111 !important;
    --border-color: rgba(255,255,255,0.06) !important;
    --border-light: rgba(255,255,255,0.08) !important;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.4) !important;
    --shadow-md: 0 4px 12px rgba(0,0,0,0.5) !important;
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.6) !important;
}

/* --- Body: pure dark + ambient glows --- */
body {
    background: #0d0d0d !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(249,115,22,0.035) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(239,68,68,0.025) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- Navbar: matches hosting.minikiller.xyz exactly --- */
.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;
}
.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;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.nav-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
}
.nav-logo svg { width: 28px !important; height: 28px !important; }
.nav-logo span {
    font-family: 'Poppins', 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: #fff !important;
}
.nav-logo span b { color: #f97316 !important; font-weight: 700 !important; }
.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 0.125rem !important;
    flex: 1 !important;
}
.nav-links a {
    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;
    transition: color 0.15s, background-color 0.15s !important;
    text-decoration: none !important;
}
.nav-links a::after { display: none !important; }
.nav-links a:hover {
    color: #d1d5db !important;
    background: rgba(255,255,255,0.05) !important;
}
.nav-links a.active {
    color: #f97316 !important;
    background: rgba(249,115,22,0.1) !important;
}

/* --- Cards: glass morphism --- */
.card, .stat-card, .account-card, .session-card, .feature-card,
.schedule-card, .activity-card, .queue-item {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px) !important;
}
.card:hover, .stat-card:hover, .account-card:hover, .session-card:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(249,115,22,0.15) !important;
}

/* --- Buttons: flame palette --- */
.btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    border: none !important;
    color: #fff !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #fb923c, #f97316) !important;
    box-shadow: 0 4px 15px rgba(249,115,22,0.3) !important;
}
.btn-secondary {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #ccc !important;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1) !important;
}
.btn-ghost {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #ccc !important;
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(249,115,22,0.2) !important;
}

/* --- Badges --- */
.badge-primary, .badge-active {
    background: rgba(249,115,22,0.15) !important;
    color: #f97316 !important;
}
.badge-purple {
    background: rgba(168,85,247,0.15) !important;
    color: #a855f7 !important;
}
.badge-success {
    background: rgba(16,185,129,0.15) !important;
    color: #10b981 !important;
}
.badge-warning {
    background: rgba(245,158,11,0.15) !important;
    color: #f59e0b !important;
}
.badge-danger, .badge-error {
    background: rgba(239,68,68,0.15) !important;
    color: #ef4444 !important;
}
.badge-muted, .badge-inactive {
    background: rgba(255,255,255,0.06) !important;
    color: #666 !important;
}
.badge-info {
    background: rgba(59,130,246,0.15) !important;
    color: #3b82f6 !important;
}

/* --- Forms --- */
input, select, textarea, .form-control {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #f5f5f5 !important;
    border-radius: 8px !important;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
    border-color: rgba(249,115,22,0.4) !important;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.1) !important;
    outline: none !important;
}

/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px #111 inset !important;
    -webkit-text-fill-color: #f5f5f5 !important;
    border-color: rgba(249,115,22,0.3) !important;
}

/* --- Tables --- */
table {
    border-collapse: collapse !important;
}
th {
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: #999 !important;
}
td {
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}
tr:hover td {
    background: rgba(255,255,255,0.02) !important;
}

/* --- Section headers --- */
.section-header, .page-header {
    position: relative;
    z-index: 1;
}

/* --- Progress bars --- */
.progress-bar, .progress-bar-container {
    background: rgba(255,255,255,0.06) !important;
    border-radius: 999px !important;
}
.progress-fill, .progress-bar-fill {
    background: linear-gradient(90deg, #f97316, #fb923c) !important;
    border-radius: 999px !important;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(249,115,22,0.3); }

/* --- Alert/Flash messages --- */
.alert, .flash-message {
    backdrop-filter: blur(10px) !important;
    border-radius: 10px !important;
}
.alert-success, .flash-success { background: rgba(16,185,129,0.12) !important; border-left: 3px solid #10b981 !important; }
.alert-error, .flash-error, .alert-danger { background: rgba(239,68,68,0.12) !important; border-left: 3px solid #ef4444 !important; }
.alert-warning, .flash-warning { background: rgba(245,158,11,0.12) !important; border-left: 3px solid #f59e0b !important; }
.alert-info, .flash-info { background: rgba(59,130,246,0.12) !important; border-left: 3px solid #3b82f6 !important; }

/* --- Selection color --- */
::selection {
    background: rgba(249,115,22,0.3);
    color: #fff;
}

/* --- Empty state --- */
.empty-state {
    color: #666 !important;
}

/* --- Links --- */
a {
    color: #f97316;
}
a:hover {
    color: #fb923c;
}

/* --- Modal overlays --- */
.modal-overlay {
    background: rgba(0,0,0,0.7) !important;
    backdrop-filter: blur(4px) !important;
}
.modal-card, .modal-content {
    background: #111 !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}
/* ============================================================
   FLAMING SHUFFLE - ECOSYSTEM STANDARDIZATION OVERRIDES
   File: /home/minikiller/flamingservices.com/queueshuffle/app/static/css/style.css
   ACTION: APPEND this entire block to the END of the existing style.css
   Replaces Spotify green with FlamingServices flame palette
   ============================================================ */

/* --- Override Spotify Green Variables with Flame Orange --- */
:root {
    --spotify-green: #f97316 !important;
    --spotify-green-hover: #fb923c !important;
    --spotify-black: #0d0d0d !important;
    --spotify-dark: #0d0d0d !important;
    --spotify-gray: #1a1a1a !important;
    --spotify-light-gray: #9ca3af !important;
    --spotify-hover: #222222 !important;
    --card-bg: #111111 !important;

    /* Add tracker-standard tokens */
    --accent: #f97316;
    --accent-hover: #fb923c;
    --accent-gradient: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    --accent-muted: rgba(249, 115, 22, 0.10);
    --accent-glow: rgba(249, 115, 22, 0.12);
    --bg-base: #0d0d0d;
    --bg-surface: #111111;
    --bg-elevated: #161616;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-tertiary: #6b7280;
    --border: rgba(255, 255, 255, 0.06);
}

/* --- Fix body background to pure dark (no purple gradient) --- */
body {
    background: #0d0d0d !important;
}

/* --- Navbar Override (match tracker 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;
}

.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;
}

.nav-logo, .navbar .nav-logo {
    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;
}

.nav-links {
    display: flex !important;
    gap: 0.125rem !important;
    flex: 1 !important;
    margin-left: 1.5rem !important;
}

.nav-links a {
    padding: 0.375rem 0.75rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    transition: all 0.15s !important;
}

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

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

/* --- Replace all green accents with orange --- */
.btn-primary, .btn-success {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
    border: none !important;
}

.btn-primary:hover, .btn-success:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Queue controls, voting buttons */
.vote-btn.active, .vote-btn:hover {
    background: rgba(249, 115, 22, 0.1) !important;
    border-color: #f97316 !important;
    color: #f97316 !important;
}

/* Status badges */
.badge-success, .status-active {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #22c55e !important;
}

/* Override any remaining green references */
.text-green, .text-success {
    color: #22c55e !important;
}

/* Progress bars */
.progress-bar, .queue-progress {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
}

/* Spotify connect button - keep Spotify green for brand compliance */
.spotify-connect, .btn-spotify {
    background: #1DB954 !important;
}

/* --- Card standardization --- */
.card, .queue-card, .room-card {
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(20px) !important;
}

.card:hover, .queue-card:hover, .room-card:hover {
    border-color: rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.06) !important;
}

/* --- Input standardization --- */
input, select, textarea {
    background: #161616 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 12px !important;
    color: #f3f4f6 !important;
}

input:focus, select:focus, textarea:focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.10) !important;
    outline: none !important;
}

@media (max-width: 768px) {
    .nav-container { padding: 0 0.75rem !important; height: 46px !important; }
    .nav-links { display: none !important; }
}
