.profile-hero {
    width: 100%;
    background-color: var(--black-lighter);
    color: var(--white);
    padding: 32px var(--page-inset-x) 0;
    display: flex;
    flex-direction: column;
}

.profile-hero-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding-bottom: 12px;

    @media (max-width: 768px) {
        padding-bottom: 8px;
    }
}

.event-hero-logo {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-modal);
    flex-shrink: 0;
}

.event-hero-logo-placeholder {
    width: 120px;
    height: 180px;
    border-radius: var(--radius);
    background-color: var(--black);
    flex-shrink: 0;
}

.club-hero-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-modal);
    flex-shrink: 0;
}

.club-hero-logo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    background-color: var(--black);
    flex-shrink: 0;
}

.profile-identity {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-name {
    font-size: 2em;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;

    @media (max-width: 768px) {
        font-size: 1.4em;
    }
}

.event-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-hero-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: var(--gray-darker);
}

.event-hero-meta-row a {
    color: var(--gray-darker);
    text-decoration: none;
}

.event-hero-meta-row a:hover {
    color: var(--white);
}

.event-hero-meta-row--dark {
    color: var(--black);
}

.profile-tabs {
    display: flex;
    flex-direction: row;
    gap: 0;
    margin-top: 4px;

    @media (max-width: 768px) {
        overflow-x: auto;
        scrollbar-width: none;

        &::-webkit-scrollbar {
            display: none;
        }
    }
}

.profile-tab {
    padding: 10px 24px;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-darker);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    text-decoration: none;
    transition:
        color var(--transition-fast),
        border-color var(--transition-fast);

    @media (max-width: 768px) {
        flex-shrink: 0;
    }
}

.profile-tab:hover {
    color: var(--white);
}

.profile-tab.active {
    color: var(--white);
    border-bottom: 3px solid var(--white);
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background-color: var(--red, #c0392b);
    color: var(--white);
    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: 0;
    margin-left: 6px;
    line-height: 1;
}

.tab-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--red, #c0392b);
    color: var(--white);
    font-size: 0.75em;
    font-weight: bold;
    margin-left: 6px;
    line-height: 1;
}

.profile-content {
    width: auto;
    min-width: 300px;
    margin: 24px var(--page-inset-x);

    @media (max-width: 768px) {
        width: auto;
        padding: 0 0;
    }
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
}

.profile-data-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-darker);
}

.profile-data-rows {
    overflow-x: auto;
    scrollbar-width: none;
}
.profile-data-rows::-webkit-scrollbar {
    display: none;
}

.profile-data-label {
    width: 200px;
    font-weight: bold;
    color: var(--gray-dark);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;

    @media (max-width: 600px) {
        width: 150px;
    }
}

.profile-data-value {
    flex: 1;
}

.profile-data-value a {
    color: var(--blue-lighter);
}

.profile-section-header {
    font-size: var(--font-h3);
    font-weight: bold;
    border-bottom: 2px solid var(--black-darker);
    padding: 20px 0 6px;
    color: var(--black-lighter);
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    flex-shrink: 0;
    background-color: var(--black);
}

.profile-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--black);
    border: 3px solid var(--white);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gray-dark);
}

/* Scrollable section with hidden scrollbar (used with scroll shadow) */
.scroll-shadow-section {
    overflow-x: auto;
    scrollbar-width: none;
}
.scroll-shadow-section::-webkit-scrollbar {
    display: none;
}

/* Horizontal scroll shadow wrappers */
.scroll-shadow-wrap {
    position: relative;
}
.scroll-shadow-wrap::before,
.scroll-shadow-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 1;
}
.scroll-shadow-wrap::before {
    left: 0;
}
.scroll-shadow-wrap::after {
    right: 0;
}
.scroll-shadow-wrap.has-left-overflow::before {
    opacity: 1;
}
.scroll-shadow-wrap.has-right-overflow::after {
    opacity: 1;
}.account-delete-row {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-darker);
}
