/* Admin Header Tabs — top-level pill tab bar (Users / Moderation / Economy) */

.admin-header-tab-bar {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--card-border);
    background: rgba(0, 0, 0, 0.25);
    max-width: 460px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.admin-header-tab-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    transition: left 0.3s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 0;
}

.admin-header-tab {
    flex: 1;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.25s;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.admin-header-tab:hover:not(.active) {
    color: var(--text-primary);
}

.admin-header-tab.active {
    color: #fff;
    font-weight: 600;
}

/* Badge on moderation tab */
.admin-header-tab .admin-reports-badge {
    font-size: 0.65rem;
    vertical-align: super;
}

/* Panel visibility */
.admin-panel-content {
    display: none;
    width: 100%;
}

.admin-panel-content.active {
    display: block;
}

/* Compact storm controls for Economy tab */
.admin-storm-compact {
    max-width: 480px;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.admin-storm-compact h4 {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.6rem;
}

.admin-storm-compact .storm-btn-row {
    display: flex;
    gap: 0.4rem;
}

.admin-storm-compact .admin-action-btn {
    flex: 1;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
}

/* Moderation panel section headers */
.admin-mod-section-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-mod-section-header span {
    font-size: 1.1rem;
}

.admin-mod-empty-hint {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.6;
}

.admin-mod-divider {
    height: 1px;
    background: var(--card-border);
    margin: 0.25rem 0;
}

/* Delete button in users tab - keep compact */
.admin-users-danger-zone {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}
