/* Profile View */
#profile-view {
    flex: 1;
    padding: 32px 24px 100px;
    overflow-y: auto;
    animation: slideIn 0.4s ease-out;
}

#profile-view::-webkit-scrollbar {
    display: none;
}

#profile-view {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar span {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-highlight);
    background: rgba(244, 114, 182, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(244, 114, 182, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    gap: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;

}

.stat-value {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;

}

.stat-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 16px;
    border-radius: 16px;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.menu-item:hover {
    transform: translateX(4px);
    border-color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.05);
}

.menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    margin-right: 16px;
}

.menu-text {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.menu-item .chevron {
    color: var(--text-secondary);
    opacity: 0.5;
}

.toggle-switch {
    width: 36px;
    height: 20px;
    background: var(--card-border);
    border-radius: 20px;
    position: relative;
    transition: background-color 0.3s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.toggle-switch.active {
    background: var(--accent-success);
}

.toggle-switch.active::after {
    transform: translateX(16px);
}