/* Profile Tabs Component
   Two-tab navigation for public profile page
   ========================================================================== */

/* Tab Navigation Container */
.profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--spacing-6);
}

/* Individual Tab Button */
.profile-tab {
    /* Reset link/button styles */
    text-decoration: none;
    display: inline-block;
    background: none;
    border: none;
    cursor: pointer;

    /* Positioning */
    position: relative;
    padding: var(--spacing-3) var(--spacing-5);

    /* Typography */
    font-family: var(--font-family-headings);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
}

/* Tab Hover State */
.profile-tab:hover {
    color: var(--color-text-secondary);
    background-color: var(--color-accent-bg);
    text-decoration: none; /* Explicitly remove underline */
}

/* Tab Hover Bottom Border Preview */
.profile-tab:hover::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-gray-400);
}

/* Tab Focus State (Accessibility) */
.profile-tab:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
    color: var(--color-text-primary);
}

/* Active Tab State */
.profile-tab.active {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

/* Active Tab Bottom Border (Indicator) */
.profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px; /* Align with parent border */
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color-accent);
    z-index: 1; /* Ensure active border stays above hover preview */
}

/* Tab Content Containers */
.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

/* Empty State Styling */
.empty-state {
    padding: var(--spacing-8) var(--spacing-4);
    text-align: center;
}

.empty-state-primary {
    color: var(--color-text-secondary);
    font-style: italic;
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-2);
}

.empty-state-secondary {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

/* Introductory Text */
.intro-text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-4);
    font-weight: var(--font-weight-medium);
}

/* Text Highlights */
.highlight-herald {
    font-weight: var(--font-weight-bold);
    background: linear-gradient(
        120deg,
        var(--eth-aurora-color-1-light) 0%,
        var(--eth-aurora-color-2-light) 50%,
        var(--eth-aurora-color-3-light) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-herald:hover {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
}

.highlight-accent {
    color: var(--color-accent);
    font-weight: var(--font-weight-bold);
}

/* Mobile Responsiveness */
@media (max-width: 575px) {
    .profile-tab {
        padding: var(--spacing-2) var(--spacing-3);
        font-size: var(--font-size-sm);
    }
}
