/* ═══════════════════════════════════════════
   Profile Left Sidebar v2 — Modernized
   ═══════════════════════════════════════════ */

/* ── Info Card ── */
.profile-info-container {
    background: #fff;
    border-radius: 0.6vw;
    border: 0.06vw solid #e2e5ea;
    padding: 0;
    overflow: hidden;
    box-shadow: none;
}

.profile-info-container::before {
    content: '';
    display: block;
    height: 0.18vw;
    background: linear-gradient(90deg, #4f6ef7, #6366f1, #8b5cf6);
}

.profile-info-container .profile-info-inner {
    padding: 1.4vw 1.2vw 1.2vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Avatar ── */
.profile-info-container .profile-avatar-wrapper {
    position: relative;
    width: 9.8vw;
    height: 9.8vw;
    margin: 0 auto 0.8vw;
}

.profile-info-container .profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 0.15vw solid #e2e5ea;
    box-shadow: 0 0.2vw 0.8vw rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-info-container .profile-avatar-wrapper:hover .profile-avatar {
    transform: scale(1.03);
    box-shadow: 0 0.3vw 1vw rgba(0,0,0,0.12);
}

/* Online indicator */
.profile-online-dot {
    position: absolute;
    bottom: 0.15vw;
    right: 0.15vw;
    width: 0.85vw;
    height: 0.85vw;
    border-radius: 50%;
    background: #10b981;
    border: 0.12vw solid #fff;
}

/* ── Name & Badges ── */
.profile-info-container .user-name-row {
    display: flex;
    align-items: center;
    gap: 0.35vw;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.15vw;
}

.profile-info-container .user-name {
    font-size: 1.2vw;
    font-weight: 700;
    color: #111318;
    margin: 0;
}

.profile-info-container .user-badges {
    display: flex;
    align-items: center;
    gap: 0.3vw;
}

/* ── Vice Verified Badge (VIP) ── */
.badge.vip {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    padding: 0;
}

.badge.vip i {
    display: none;
}

.badge.vip .badge-vip-icon {
    width: 1.15vw;
    height: 1.15vw;
    color: #4f6ef7;
    display: block;
}

/* ── Admin/Mod Badge - HIDDEN per design ── */
.badge.admin,
.badge.moderator {
    display: none !important;
}

/* ── Username ── */
.profile-info-container .user-username {
    font-size: 0.85vw;
    color: #667085;
    font-weight: 500;
    margin-bottom: 0.8vw;
}

/* ── Separator ── */
.profile-info-container .profile-info-separator {
    width: 100%;
    height: 0.06vw;
    background: #e2e5ea;
    margin: 0 0 0.8vw 0;
}

/* ── Social Links: один стиль для всех — один цвет иконок, компактный размер ── */
.profile-info-container .profile-info-social-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.profile-info-container .profile-info-social-link {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 110, 247, 0.06);
    border: 1px solid rgba(79, 110, 247, 0.18);
    text-decoration: none;
    color: #4f6ef7;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.profile-info-social-link .profile-social-si {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Все иконки в одном цвете — акцент сайта, без пёстрых брендов */
.profile-info-social-link.twitter,
.profile-info-social-link.instagram,
.profile-info-social-link.youtube,
.profile-info-social-link.reddit,
.profile-info-social-link.discord,
.profile-info-social-link.facebook,
.profile-info-social-link.tiktok {
    color: #4f6ef7;
}

.profile-info-social-link:hover {
    background: #4f6ef7;
    border-color: #4f6ef7;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(79, 110, 247, 0.25);
}

/* ═══ Navigation Container ═══ */
.profile-navigation-container {
    background: #fff;
    border-radius: 0.6vw;
    border: 0.06vw solid #e2e5ea;
    padding: 0.5vw;
    overflow: hidden;
    box-shadow: none;
}

.profile-navigation-container .tabs-container {
    display: flex;
    flex-direction: column;
    gap: 0.15vw;
    padding: 0;
}

.profile-navigation-container .tab {
    display: flex;
    align-items: center;
    gap: 0.6vw;
    padding: 0.6vw 0.75vw;
    border: none;
    border-radius: 0.35vw;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
    width: 100%;
    text-align: left;
    text-decoration: none;
    box-sizing: border-box;
}

.profile-navigation-container .tab i,
.profile-navigation-container .tab .lucide-icon {
    width: 1vw;
    height: 1vw;
    font-size: 1vw;
    color: #667085;
    flex-shrink: 0;
    transition: color 0.15s;
}

.profile-navigation-container .tab span {
    font-size: 0.92vw;
    font-weight: 500;
    color: #555;
    transition: color 0.15s, font-weight 0.15s;
}

.profile-navigation-container .tab:hover {
    background: rgba(0,0,0,0.03);
}

.profile-navigation-container .tab:hover i,
.profile-navigation-container .tab:hover .lucide-icon {
    color: #555;
}

.profile-navigation-container .tab:hover span {
    color: #333;
}

.profile-navigation-container .tab.active {
    background: rgba(79,110,247,0.08);
}

.profile-navigation-container .tab.active i,
.profile-navigation-container .tab.active .lucide-icon {
    color: #4f6ef7;
}

.profile-navigation-container .tab.active span {
    font-weight: 600;
    color: #4f6ef7;
}

.profile-actions-separator {
    height: 0.06vw;
    background: #e2e5ea;
    margin: 0.25vw 0;
    width: 100%;
}

/* ═══ Dark Theme Overrides ═══ */
[data-theme="dark"] .profile-info-container {
    background: #18181b;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .profile-info-container::before {
    opacity: 0.8;
}

[data-theme="dark"] .profile-info-container .profile-avatar {
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .profile-info-container .user-name {
    color: #fff;
}

[data-theme="dark"] .profile-info-container .user-username {
    color: rgba(255,255,255,0.5);
}

[data-theme="dark"] .profile-info-container .profile-info-separator {
    background: rgba(255,255,255,0.08);
}

[data-theme="dark"] .profile-info-container .profile-info-social-link {
    background: rgba(124, 154, 255, 0.1);
    border-color: rgba(124, 154, 255, 0.25);
    color: #7c9aff;
}
[data-theme="dark"] .profile-info-social-link:hover {
    background: #7c9aff;
    border-color: #7c9aff;
    color: #0f172a;
}

[data-theme="dark"] .profile-navigation-container {
    background: #18181b;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .profile-navigation-container .tab:hover {
    background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .profile-navigation-container .tab.active {
    background: rgba(79,110,247,0.12);
}

[data-theme="dark"] .profile-navigation-container .tab span {
    color: rgba(255,255,255,0.6);
}

[data-theme="dark"] .profile-navigation-container .tab:hover span {
    color: rgba(255,255,255,0.8);
}

[data-theme="dark"] .profile-navigation-container .tab.active span {
    color: #7c9aff;
}

[data-theme="dark"] .profile-navigation-container .tab i,
[data-theme="dark"] .profile-navigation-container .tab .lucide-icon {
    color: rgba(255,255,255,0.4);
}

[data-theme="dark"] .profile-navigation-container .tab.active i,
[data-theme="dark"] .profile-navigation-container .tab.active .lucide-icon {
    color: #7c9aff;
}

[data-theme="dark"] .profile-actions-separator {
    background: rgba(255,255,255,0.08);
}
