/* ========================================
   Profile - User Profile, Settings, Auth
   ======================================== */

/* Profile */
.profile-header {
    background: var(--bg-card);
    margin: -24px -20px 24px -20px;
    padding: 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profile-username {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.profile-stats {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
}

.profile-stats > span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-stats > span:not(:last-child)::after {
    content: "|";
    margin-left: 8px;
    margin-right: 8px;
    color: var(--text-light);
}

.profile-stats .link-button {
    font-size: 14px;
}

/* Profile page avatar */
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--border-light);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-bio {
    margin-top: 8px;
    color: var(--text);
    line-height: 1.6;
}

/* Auth pages */
.auth-container {
    max-width: 400px;
    margin: 40px auto;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 32px;
}

.auth-form {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Blocked Users Section (Settings) */
.blocked-users-section {
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-top: 24px;
}

.blocked-users-section h2 {
    margin: 0 0 16px 0;
    font-size: 18px;
}

.blocked-users-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blocked-user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.blocked-user-item:last-child {
    margin-bottom: 0;
}

.blocked-user-item a {
    font-weight: 500;
}

.unblock-btn {
    color: var(--danger);
}

.unblock-btn:hover {
    color: var(--danger-dark);
}

.blocked-users-section .help-text:only-child {
    margin-bottom: 0;
}
