/* Dashboard Wrapper */
.dashboard-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.dashboard-nav {
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
    padding-bottom: 0px;
}

.tabs {
    display: flex;
    gap: 2rem;
    border-bottom: none;
    /* Removed border from .tabs since .dashboard-nav has it */
    margin: 0;
    padding: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0 0.5rem 1rem 0.5rem;
    margin: 0;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    font-weight: 600;
}

.tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.tab-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--primary);
    font-weight: 700;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    /* Align perfectly with border-bottom */
    left: 0;
    width: 100%;
    height: 3px;
    /* Thicker active state */
    background: var(--primary);
    box-shadow: 0 -2px 10px var(--primary);
}

.dashboard-content section {
    margin-bottom: 3rem;
}

.dashboard-content section:last-child {
    margin-bottom: 0;
}

.holdings-section,
.activity-section,
.notes-section {
    /* Reset margins that were on these sections individually */
    border: none;
    background: transparent;
    padding: 0;
}

.holdings-section h2,
.activity-section h2,
.notes-section h2 {
    display: none;
    /* Hide old h2s if any remain */
}

/* Use h3 for sub-sections inside the dashboard */
.dashboard-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}