/* Spotify Key Manager Pro - Hyper-Modern Glassmorphic Dark Theme */
:root {
    --bg-dark-base: #08090D;
    --bg-sidebar: #0D0E14;
    --bg-card: rgba(18, 20, 29, 0.75);
    --bg-card-hover: rgba(26, 29, 42, 0.9);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-glow: rgba(29, 185, 84, 0.35);

    --spotify-green: #1DB954;
    --spotify-green-hover: #1ed760;
    --spotify-green-dim: rgba(29, 185, 84, 0.15);
    --spotify-green-glow: 0 0 25px rgba(29, 185, 84, 0.4);

    --accent-purple: #9333ea;
    --accent-purple-dim: rgba(147, 51, 234, 0.15);

    --accent-cyan: #06b6d4;
    --accent-cyan-dim: rgba(6, 182, 212, 0.15);

    --accent-gold: #ffd700;
    --accent-gold-dim: rgba(255, 215, 0, 0.15);

    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-sub: #6B7280;

    --radius-xl: 18px;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 8px;

    --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-dark-base);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(29, 185, 84, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(147, 51, 234, 0.06) 0%, transparent 40%);
}

/* User Avatar & Profile Cell Layout Fix - Zero Overlap Guaranteed */
.user-profile-cell {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 6px 0 !important;
}

.user-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid var(--border-glass-glow) !important;
    box-shadow: 0 0 14px rgba(29, 185, 84, 0.3) !important;
    background: rgba(10, 11, 16, 0.8) !important;
    flex-shrink: 0 !important;
}

.user-id-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
}

.user-nickname {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: var(--text-main) !important;
    letter-spacing: -0.2px !important;
    line-height: 1.2 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.user-id-sub {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.user-id-sub .badge-purple {
    display: inline-block !important;
    margin-top: 2px !important;
}

/* Section View Visibility */
.view-section.hidden {
    display: none !important;
}

/* Custom Sleek Dark Green Webkit Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 11, 16, 0.6);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(29, 185, 84, 0.35);
    border-radius: 10px;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--spotify-green);
    box-shadow: 0 0 10px var(--spotify-green);
}

/* Header Right Actions & Logout Button */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-logout-glow {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
}

.btn-logout-glow:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-logout-confirm {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.btn-logout-confirm:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Custom In-Site Confirmation Modal Overlay */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 8, 0.88);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.25s ease;
}

.custom-modal-overlay.hidden {
    display: none !important;
}

.custom-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 420px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(239, 68, 68, 0.15);
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.custom-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.warning-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.logout-modal-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.custom-modal-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.custom-modal-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.custom-modal-card p code {
    background: rgba(10, 11, 16, 0.9);
    color: var(--spotify-green);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-weight: 700;
    border: 1px solid var(--border-glass-glow);
    display: inline-block;
    margin: 4px 0;
}

.custom-modal-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    flex: 1;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Toast Container */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 100001;
}

.toast-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass-glow);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
    animation: toastIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 320px;
}

@keyframes toastIn {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.toast-card.toast-error {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.toast-card i {
    font-size: 1.3rem;
}

.toast-card span {
    font-size: 0.9rem;
    font-weight: 700;
}

/* Glass Modal Auth */
.modal-auth {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 5, 8, 0.92);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.modal-auth.hidden {
    display: none !important;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 440px;
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(29, 185, 84, 0.1);
}

.auth-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.auth-logo-badge {
    width: 60px;
    height: 60px;
    background: var(--spotify-green-dim);
    color: var(--spotify-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid var(--border-glass-glow);
    box-shadow: var(--spotify-green-glow);
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

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

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
}

.input-wrapper input {
    width: 100%;
    background: rgba(10, 11, 16, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 48px;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: var(--spotify-green);
    box-shadow: var(--spotify-green-glow);
}

.btn-primary-glow {
    background: var(--spotify-green);
    color: #000;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 22px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(29, 185, 84, 0.3);
}

.btn-primary-glow:hover {
    background: var(--spotify-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--spotify-green-glow);
}

/* App Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 270px;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.8rem 1.2rem;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 0.4rem 1.5rem 0.4rem;
    border-bottom: 1px solid var(--border-glass);
}

.brand-icon {
    font-size: 2rem;
    color: var(--spotify-green);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.b-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.b-title strong {
    color: var(--spotify-green);
}

.b-tag {
    font-size: 0.72rem;
    color: var(--text-sub);
    font-weight: 600;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.8rem;
    flex: 1;
}

.nav-category {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-sub);
    letter-spacing: 1.2px;
    padding-left: 0.8rem;
    margin-bottom: 0.4rem;
}

.nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

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

.nav-badge {
    margin-left: auto;
    background: var(--spotify-green);
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
}

.sidebar-footer-card {
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-glass);
}

.founder-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
}

.founder-avatar {
    width: 36px;
    height: 36px;
    background: var(--spotify-green-dim);
    color: var(--spotify-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid var(--border-glass-glow);
}

.founder-info {
    display: flex;
    flex-direction: column;
}

.f-name {
    font-size: 0.88rem;
    font-weight: 700;
}

.f-role {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* App Main Workspace */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.app-header {
    padding: 2rem 2.8rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 14, 20, 0.4);
    backdrop-filter: blur(10px);
}

.header-left h1 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.header-left p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.live-status-badge {
    background: var(--spotify-green-dim);
    color: var(--spotify-green);
    border: 1px solid var(--border-glass-glow);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 0 15px rgba(29, 185, 84, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--spotify-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--spotify-green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.workspace-content {
    padding: 2.2rem 2.8rem;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

.stat-box-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.green-glow {
    background: var(--spotify-green-dim);
    color: var(--spotify-green);
    border: 1px solid var(--border-glass-glow);
}

.purple-glow {
    background: var(--accent-purple-dim);
    color: var(--accent-purple);
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.cyan-glow {
    background: var(--accent-cyan-dim);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.stat-box-data {
    display: flex;
    flex-direction: column;
}

.s-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.s-value {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 0.2rem;
}

.text-green { color: var(--spotify-green); }
.text-purple { color: #a855f7; }
.text-red { color: #ef4444; }

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.2rem;
    backdrop-filter: blur(14px);
}

.margin-top {
    margin-top: 2rem;
}

.card-title-row {
    margin-bottom: 1.8rem;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.title-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-bubble {
    width: 44px;
    height: 44px;
    background: var(--spotify-green-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-glass-glow);
}

.title-with-icon h2 {
    font-size: 1.25rem;
    font-weight: 800;
}

.title-with-icon p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

/* Table Actions & Search Input Alignment Fix */
.header-table-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box-input {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-input i {
    position: absolute;
    left: 14px;
    color: var(--text-sub);
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
}

.search-box-input input {
    background: rgba(10, 11, 16, 0.85) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    padding: 10px 14px 10px 38px !important;
    color: var(--text-main) !important;
    font-size: 0.88rem !important;
    outline: none !important;
    width: 250px;
    transition: all 0.2s ease;
}

.search-box-input input:focus {
    border-color: var(--spotify-green) !important;
    box-shadow: var(--spotify-green-glow) !important;
    width: 290px;
}

.btn-danger-glow {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    padding: 10px 18px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.btn-danger-glow:hover {
    background: #ef4444 !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
}

/* Generator Controls */
.generator-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
}

.ctrl-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ctrl-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ctrl-select {
    width: 100%;
    background: rgba(10, 11, 16, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ctrl-select:focus {
    border-color: var(--spotify-green);
    box-shadow: var(--spotify-green-glow);
}

.ctrl-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ctrl-input-wrapper input {
    width: 100%;
    background: rgba(10, 11, 16, 0.8);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 14px 100px 14px 16px;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    outline: none;
    transition: all 0.2s ease;
}

.ctrl-input-wrapper input:focus {
    border-color: var(--spotify-green);
    box-shadow: var(--spotify-green-glow);
}

.ctrl-tag {
    position: absolute;
    right: 16px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-sub);
    letter-spacing: 0.5px;
    pointer-events: none;
}

.align-bottom {
    justify-content: flex-end;
}

.full-width {
    width: 100%;
}

/* Generated Key Alert Box */
.new-key-alert-box {
    margin-top: 1.8rem;
    background: rgba(29, 185, 84, 0.1);
    border: 1px solid var(--border-glass-glow);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--spotify-green-glow);
}

.new-key-alert-box.hidden {
    display: none !important;
}

.alert-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.alert-left i {
    font-size: 1.8rem;
    color: var(--spotify-green);
}

.alert-info-col {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.alert-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.alert-left code {
    background: rgba(10, 11, 16, 0.95);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    color: var(--spotify-green);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border: 1px solid var(--border-glass-glow);
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-action-copy {
    background: var(--spotify-green);
    color: #000;
    border: none;
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action-copy:hover {
    background: var(--spotify-green-hover);
    transform: scale(1.03);
}

/* Table Container & Scrollbar Styling */
.table-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    text-align: left;
    white-space: nowrap;
}

.modern-table th {
    color: var(--text-sub);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 10px 18px;
}

.modern-table tbody tr {
    background: rgba(10, 11, 16, 0.5);
    border: 1px solid var(--border-glass);
    transition: all 0.2s ease;
}

.modern-table tbody tr:hover {
    background: rgba(26, 29, 42, 0.8);
    transform: scale(1.002);
}

.modern-table td {
    padding: 16px 18px;
    font-size: 0.92rem;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.modern-table td:first-child {
    border-left: 1px solid var(--border-glass);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.modern-table td:last-child {
    border-right: 1px solid var(--border-glass);
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.modern-table td code {
    background: rgba(29, 185, 84, 0.08);
    color: var(--spotify-green);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-weight: 700;
    border: 1px solid rgba(29, 185, 84, 0.2);
}

.badge-gold {
    background: var(--accent-gold-dim);
    color: var(--accent-gold);
    border: 1px solid rgba(255, 215, 0, 0.35);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
}

.badge-purple {
    background: var(--accent-purple-dim);
    color: #c084fc;
    border: 1px solid rgba(147, 51, 234, 0.35);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-green {
    background: var(--spotify-green-dim);
    color: var(--spotify-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.btn-icon-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin-right: 6px;
    transition: all 0.2s ease;
}

.btn-icon-action:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}
