/* tabs.css - Tab navigation */

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-card);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.tab {
    flex: 1;
    padding: 6px 10px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tab:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.tab.active {
    background: var(--accent);
    color: var(--accent-text);
}

.tab-icon {
    font-size: 20px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ===== ICON TABS (Square format with tiny labels) ===== */
.tabs.icon-tabs {
    gap: 8px;
    padding: 8px 0;
    justify-content: flex-start;
    background: transparent;
    border: none;
    margin-bottom: 8px;
}

.icon-tabs .tab {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 8px 4px;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.icon-tabs .tab:hover {
    background: var(--bg-hover);
    border-color: var(--accent);
}

.icon-tabs .tab.active {
    background: var(--accent);
    border-color: var(--accent);
}

.icon-tabs .tab-icon {
    font-size: 42px;
    line-height: 1;
}

.icon-tabs .tab-label {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    white-space: nowrap;
}
